This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpConnection VS web service

 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic