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
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "RMI and j2me" Watch "RMI and j2me" New topic

RMI and j2me

omar bili
Ranch Hand

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

Joined: Feb 05, 2001
Posts: 17260

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.


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

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...

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.
I agree. Here's the link:
subject: RMI and j2me