aspose file tools*
The moose likes Java Micro Edition and the fly likes RMI and j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "RMI and j2me" Watch "RMI and j2me" New topic
Author

RMI and j2me

omar bili
Ranch Hand

Joined: Aug 13, 2004
Posts: 177
Hi
how can i use RMI with my j2me application
do i need to download some packages?
Thanks
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

No actually they have SocketConnection and ServerSocketConnection classes that you can use that are part of the J2ME API packages. Or you can create Servlets to handle communication between J2ME device and a Server to do your work for you.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
John Lowe
Greenhorn

Joined: Jan 07, 2005
Posts: 6
For J2ME-CLDC RMI (and serialization, and dynamic class loading) is not supported, per the CLDC spec. Serialization and RMI (and dynamic class loading) have JVM level implemantation details, so there is no .jar that can just "add it in". Hence, it's not going to happen on a CLDC (e.g. MIDP) based system- at least not a real, J2SE compatable RMI. For CDC class RMI systems (and serialization) is supported.

Yes, this a real headache...

-John
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

May I know how to create web service of j8583 library.
I want to access this webservice from j2me client.


http://www.androcid.com/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RMI and j2me
 
Similar Threads
Newbie question
j2me - kvm & microedition (palm, midp)
RMI for PDA
RMI with J2ME
J2ME and RMI or CORBA