File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Connecting J2ME to J2EE??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Connecting J2ME to J2EE???" Watch "Connecting J2ME to J2EE???" New topic

Connecting J2ME to J2EE???

Jens Bonus

Joined: Jun 25, 2004
Posts: 1
I would like to establish OTA-connections between mobile clients (Java-enabled mobile phones) and an enterprise server system. There is the purpose of transferring simple text messages as acknowledgements and invoking services on the server. Does anybody have a hint or experiences in creating such a szenario?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Most of the time, you create a Servlet/Web Service, on the server and then in the MIDlet use the HTTPConnection class to connect to that service and get the response back.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Christoph Aussieker

Joined: Jun 28, 2004
Posts: 1

Check out
There you can find a small JMS and JNDI-Implementation for J2ME-Devices. It works for CLDC configuration (MIDP 1.0 & 2.0) and CDC / PersonalJava. There is a documentation available and the demo connects to jboss as AS.

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 360
I'd like to posta one more sample, try FruitMachine from nokia forum. Simple and clear.
I agree. Here's the link:
subject: Connecting J2ME to J2EE???
It's not a secret anymore!