What's the best RESTful JavaScript API? [closed] - java

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).

Related

Web service technology to use with .NET apps and JSF [closed]

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've got bunch of applications in .NET technologies: desktop in winforms, web in ASP.NET. I will have also a webpage wirtten in JSF. All these applications work with the same database (or databases). My problem is that all these application connect to the database (or will connect) on their own.
I want to create a gateway which will have only access to database. Other applications (in .NET and Java) will use it to get data from database. And I'm wondering which technology will be the best, for .NET and Java.
I've have to tell that I don't have much experience with Java, so I need a little help on this.
You basically want to create a server that encapsulates your database. This server should be used from different programming languages.
Your goal should be to use a technology that is easiy usable in these different languages.
A web-service - either using SOAP or being RESTful - comes to mind here.

Web service without apache, jetty, ... or another server [closed]

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 create SOAP web service without using some web server(apache, jetty, ...).
javax.jws.WebService seems best option, but I know how it work in production mode.
Someone using javax.jws.WebService? It will be work with 100 online users?
Maybe some advise about other web service options?
Thanks!
It can easily support 100 users, rather you will need to make it support 100 users ;)
You can implement the webservice without webservers but then you will end up coding all the features that the webserver's provide to you like:
-- Multiple request processing or scalability
-- Authentication, authorization, auditing.
I you could tell me why do you want to hand code the webservice platform it would be helpful.
Some WebServers can run in embedded mode (jetty for example).

Easy to use web API's to start playing with [closed]

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.

Recommended framework for java web services [closed]

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 9 years ago.
This question was asked about 18 months back. Wanted to see if the community still agrees with CXF as a good choice for the question posted.
Looking for a good framework, if we go the schema-first route.
Thank you.
I use JAX-WS:
https://jax-ws.dev.java.net/
Based on annotations, easy to get started. Heaps od examples on the web.
I'm using Axis2 1.5.1 and it sucks. The documentation is very very poor. I feel almost on my own when have to implement jms transport with signing and encryption. A simple client always requires an Axis2 repository in file system.
Nowadays I would recommend JAX-WS as Leonardo suggested. It complies with the current specifications.
I used CXF in the past and never had any issues with it (to the extent of my needs). Of course one can argue if Metro (https://jax-ws.dev.java.net/) framework is superior over CXF. In my opinion you should try both and decide which you feel more comfortable with.
Consider to use REST with JAX-RS if you have the choice.

Bridges between Java and .NET [closed]

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'm interested in technologies(solutions) that permits Java and .NET interoperate. I have tried the following and it works but I would like to know if there are other solutions:
Sockets
Web Services (Metro)
CORBA (IIOP.NET)
Messaging (QPid)
IKVM
Does anyone know other technologies(solutions) that enable Java and .NET interoperate or best practices for Java and .NET interoperability?
We use Apache ActiveMQ
I've used j-Integra's stuff before on a few projects that served me well
I have been working with JNBridge tools for in-process one-way JAVA Swing UI calling .NET 4.0 back end.
The whole thing performs well but does require discipline in its management. A license fee is required, so is really only a good choice when the 2 languages have to be used together.
Check out JNBridge.
I haven't used it, but I have heard this works: http://jnbridge.com/

Categories

Resources