It's not a secret anymore!*
The moose likes Java Micro Edition and the fly likes J2ME and J2EE communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME and J2EE communication" Watch "J2ME and J2EE communication" New topic
Author

J2ME and J2EE communication

Hariya Gurung
Greenhorn

Joined: Aug 25, 2009
Posts: 5
I am new to J2ME. I want to know is there any other way for an J2ME application to communicate to an J2EE application other than http.
Robin Thapa
Greenhorn

Joined: Aug 23, 2009
Posts: 11
Dear Mr. Gurung,

Do you mean how do send data over HTTP to a web-application running on a J2EE server?

Robin

Hariya Gurung
Greenhorn

Joined: Aug 25, 2009
Posts: 5
No I already know how to send data over http to a web application. I want some other way to send/receive data to/from a web application. Not through http.
Robin Thapa
Greenhorn

Joined: Aug 23, 2009
Posts: 11
Dear Mr. Gurung,

I am not very clear with your question. Anyways i too had similar problem in my earlier project.
I followed this link.
Hope you get something out of it for your usefulness..
webpage
Hariya Gurung
Greenhorn

Joined: Aug 25, 2009
Posts: 5
Thanks for the help, Robin! What I meant was that I have developed one project in which I sync the data between the mobile and the Core Server through http. This makes me to use GPRS connectivity in order to connect to the Core Server. Now I just want to remove the GPRS connectivity from this but still want to sync the data between the mobile & the Core Server. How can I do so? Any help would be appreciated.
Robin Thapa
Greenhorn

Joined: Aug 23, 2009
Posts: 11
Dear,

Well not much idea into it, though i use a feed and i am giving you a link, hope it can be useful to u.
Have a lookSYNC
Hariya Gurung
Greenhorn

Joined: Aug 25, 2009
Posts: 5
Thanks for the article given by you but that wont solve my problem. Can an J2ME application on mobile phone communicate with the J2EE/J2ME application on the computer using the Data Cable?
Mukesh Ranjan
Greenhorn

Joined: Jun 24, 2009
Posts: 22
How are you supposed to communicate between mobile and server without any communication/link between them.
You have to go for GPRS or SMS or USSD or bluetooth or wifi. there is no other way than this..

Or let me know if you get something else
Hariya Gurung
Greenhorn

Joined: Aug 25, 2009
Posts: 5
That's what I m asking Mukesh. Is the communication between the client(J2ME application) on phone and the server(J2EE/J2ME application) on PC possible using the data cable?
Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
never thought about it but if any one would throw light as to how we can establish a connection through a data cable then i bet it would be worth experimenting with..

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2ME and J2EE communication