×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    send object from servlet to MIDlet

    Hello,
    I need to know how to send collection objects from servlet to J2ME client(MIDlet).
    I've constructed a Hashmap and a Vector object in the server program(servlet). Now i need to send the object as RESPONSE to the MIDlet. Can u help me proceed with that?
    I'm not using Socket connection. I use Http url connection.

  2. #2
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: send object from servlet to MIDlet

    i suggest you use json to serialise your objects and to unserialize it on the mobile. there is a java me implementation on github https://github.com/upictec/org.json.me/

Similar Threads

  1. How to send data from Midlet to Servlet?
    By rastoarpit in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2010-07-12, 05:47
  2. [Need Help] How to Send Vector from Servlet to Midlet
    By iamjavanese in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2010-01-06, 08:30
  3. how to send data from midlet to servlet
    By virendra85 in forum Mobile Java General
    Replies: 7
    Last Post: 2009-02-11, 06:48
  4. how to send SMS from Servlet to MIDlet
    By b75mihai in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2005-10-04, 13:18
  5. hot to send and SMS from a servlet to a MIDlet
    By b75mihai in forum General Messaging
    Replies: 0
    Last Post: 2005-10-04, 11:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×