• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query for J2ME

 
Tanvi Jaiswal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we have made an j2me application for mobile device and want to send
query in form of jms message to j2ee server.and want to receive response from the j2ee server to the mobile device.

please Reply me as soon as possible
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Synchronous or Asynchronous? How much data to send back? Why not just use a Servlet and use HTTPConnection?

We need a little bit more information. It also says in your post that you already wrote the application.

Mark
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think he said he needs to do it using JMS ?

Isn't it always asynchronously?

And i have no idea how to do that - I don;t think there is support in J2ME for that (there wasn't even webservices until the latest JSR).

Maybe you can use custom made classes to create the connections required etc..
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well you could still have a Servlet to recieve the reequest, and have that spawn off an MDB, then return back quickly to the phone, then send an SMS message back to the phone with the new information to handle.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic