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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2SE - J2ME" Watch "J2SE - J2ME" New topic
Author

J2SE - J2ME

Partheban Udayakumar
Ranch Hand

Joined: Jul 04, 2013
Posts: 223

Hi,

I have a desktop application that I would like to convert to a mobile application, But I don't have any idea about J2ME. How can I do this? Should I rewrite the program or can I convert it by just doing some minor changes.

I don't even have a drop of idea about J2ME. Please help me in this regards


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
--- Martin Fowler
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41571
    
  54
The first question would be: why JME? JME is dying. If you want to learn how to do mobile development using Java, then Android is your ticket. If you want to learn mobile development for any professional reason, then either Android or iOS would be the platform to go with. (Unless you're being paid to learn some platform like BlackBerry, Windows Phone or JME, of course - but then I would question the long-term chances of business survival of whoever is paying you.)

Secondly, the changes will be major, not to say fundamental. Mobile apps have a completely different programming model than desktop apps. For example, the GUI will be completely different - neither AWT nor Swing are available on either JME or Android.


Ping & DNS - my free Android networking tools app
Partheban Udayakumar
Ranch Hand

Joined: Jul 04, 2013
Posts: 223

Thanks Ulf,

And Sorry for the late reply.

We need our application as jar files to implement in all java enabled phones. That is why we are using J2ME. I need to create a chat application in J2ME using Internet as WhatsApp, Viber and so on. I did my chat application using sockets but I don't want it to be a server-client connection. I want it to be a freeway chat ( that is anyone can chat with anyone) and thanks to this socket connection application. I learned a bit of J2ME. Can you guys help me out with this? Provide me some simple guidelines to start with.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41571
    
  54
How will clients discover one another if there is no central server? Also, it sounds a bit as if you think that having a server involved somehow limits any client conversing with any other - that is not the case.
Partheban Udayakumar
Ranch Hand

Joined: Jul 04, 2013
Posts: 223

Hi Ulf,

Sorry I came to know about the details now. Thanks for the advice anyway Can you please guide me with http connections in J2ME?
 
 
subject: J2SE - J2ME