aspose file tools*
The moose likes Java Micro Edition and the fly likes HttpConnection VS  web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "HttpConnection VS  web service" Watch "HttpConnection VS  web service" New topic
Author

HttpConnection VS web service

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
We have two ways (?) to talk to server in J2ME , one is HttpConnection, another is web service . Which one is better ? how much cost the web service have to pay , compared to HttpConnection ?

The J2ME has JNDI support ? I mean, it can look up the remote EJB bean directly ?

Thanks
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

J2ME does not have JNDI, usually you will have a Servlet that the Midlet can contact. This Servlet is usually the "Web Service". As far as Web Services with WSDL, you would need a third party product to handle them, maining in the J2ME spec there is no Web Services as they are.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpConnection VS web service