Java – server side for mobile application in java me

jakarta-eejava-menetbeans6.7web services

Im making mobile application in java me and I want to have server side from where Ill get some information for the application (not to have much information in xml file in the application).

I dont have much experience with servers, so I would like to know how to deal with it.
Probably I should make some web services.

Im working in NetBeans 6.7

Thanks in advance!

Milan

Best Answer

Assuming you want to stick with Java, I would implement your server side as a simple Servlet. If all you want to do is send an XML file to the client I think using a proper web services stack is probably overkill and will over complicate things.

Using this approach your mobile app simply makes an HTTP connection to your Servlet, which responds with your XML file.

In fact, if it's a static XML file you don't need any kind of server side code, any web server would suffice.

Related Topic