linonil
linonil

Reputation: 11

Java server for ajax request

I have to start to develop a server, using java, that have to communicate (every few second) well with ajax but not only with it. I read a lot of articles but i'm bit confused because there 's a jungle of different technologies. which is the best choice? Could you suggest me a point of start?

Upvotes: 1

Views: 301

Answers (2)

helpermethod
helpermethod

Reputation: 62254

Just a few hints: Use Jetty, which is both a WebServer and a ServletContainer (it is also well suited for comet). Then, look for tutorials about Servlets. Do you have to use plain HTML/CSS/Ajax on the clientside? If not, have a look at Google Web Toolkit.

EDIT

What do you mean by Develop a Server? I would bet what you meant was developing a Service.

Upvotes: 1

Suraj Chandran
Suraj Chandran

Reputation: 24801

From a server's point of view, an ajax request is just another request, and in good possibility, the server wouldn't even know whether a request was an ajax-request. Hence any web-server of choice should suffice your cause. For e.g. jetty, tomcat, etc.

Upvotes: 1

Related Questions