As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Im at the point where i would like to start playing around with some web information apis in my programs. Noting Specific but something that i can use with java or python. I tried using the google task api, but it seemed a little tough with the authentication process.Any suggestions?
Have a look at the Twitter API and the Flickr API. They're both pretty easy to work with: it's just a matter of constructing a URL, making a web request, getting the XML response and parsing that XML response. They both have methods which are public and don't need authentication.
When you are a bit more comfortable, you can start looking at using authentication for user-specific data requests. For OAuth with Java, you can have a look at the OAuth-Signpost library.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to connect to a web service via ssl. I have the client cert and have created a jks. I've been reading a lot of documentation and it seems to be in bits and pieces. I'm using Java. If possible, I would like to avoid having to set up Axis2 or anything like that. Is it possible to just use wsimport to get the java classes and then call them with my own class? If not, what am I missing. Do I need to use something like httpclient-4.2.3.jar to create a request? Any info is appreciated or a link to a verbose example.
There are couple of options. For simple testing you can
1) Use SoapUI (there's a free and a paid version)
2) Use curl on the command line.
curl -L -d #myrequest.xml http://example.com/someEndPoint
Otherwise you can generate a Java client. There are many example of this on SO.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am building a mid-sized standalone console based java application and I must log various events that can take place. I am not sure about which API to use. I have looked upon Logback Project and log4j. I am concerned if these are the right one, since both of the seem to have extensive uses in the web application projects. Please help me decide if I am better using the default java.util.logging API or should I use another frameworks; if so which one.
Thanks!
I recommend slf4j.(it's written by the same guy who did log4j) You can read more from here
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to build a mass mail application to send around 20 lacs mail per day. I need some suggestions regarding the technology choice between php and java.
Please suggest.
Either would work.
Java is typically good for bigger projects because it is strongly typed and good for collaboration, but a mass mail application might be simple enough to make that unnecessary.
Most people think of it as easier to do web stuff in PHP, so if you want this to live in a website, you might want to use PHP.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have to do a simple RESTful client for a webservice written in Java.
I'm thinking to use a simple HTML/JavaScript implementation... but, i don't know what's the best API for this...
I've already tried jQuery, but I think i'm doing something wrong, because it don't work well...
Someone know a CRUD tutorial with jQuery, or other JS API?
Thanks a lot!
cheers!
It would be helpful to know why jQuery doesn't work well for you. The Ajax implementation should cover everything you need to talk to a RESTful webservice. But here are two frameworks that implement an improved RESTful model wrappers:
Backbone.js Model
JavaScriptMVC $.Model
There are probably more and which one is the best will depend entirely on your needs.
Could it be that the API you are calling and your client code are on different domains? If so JSONP is an option (if the API supports it).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I know the question is subjective, but since the OpenID libraries page lists a number of libraries, I thought some attempts might be made to nominate one or two that are best, in terms of:
project activity
quality (few bugs, easy API, properly implementing the protocol)
documentation
I'd appreciate an answer from anyone having used any OpenID Java library
My choice was openid4java, because:
it is in a public maven repository
it's been actively developed (see the activity indicator on google code)
it worked fine, with the documentation provided
it's easy to use