javaranch really great place.. please advise what should i do with my desire to write for my old palm 2.0 - should deal with C programming or java does support this OS? According to docs MIDP supports 3.5.x and have not been tested for other versions.. thanx -v-
Eric Giguere
Ranch Hand
Joined: Oct 25, 2000
Posts: 170
posted
0
Stick to C/C++ programming for older Palms. I'm not even sure I'd use Java for anything serious on Palm devices right now, at least not with MIDP4Palm. Maybe using J9 or Jbed or Kada. KVM-based solutions like MIDP4Palm are extremely slow on the Palm, and of course with MIDP4Palm you don't really get access to the unique features of a Palm device.
Thanx for reply! I am new to j2me, and i was thinking how it could be integrated with j2ee.. As far as i can see now mobile device might be connected through HTTP. Any tips will be highly appreciated. -v-
Pho Tek
Ranch Hand
Joined: Nov 05, 2000
Posts: 754
posted
0
Vladimir, Try the WABA vm. It's not MIDP compliant but - hey, you can run your own Java apps on it. http://waba.sourceforge.net/ Pho
It depends what you mean by "J2ME", since it encompasses different technologies. If what you mean is "MIDP", then, yes, HTTP is basically your only choice. So your MIDP application uses HTTP to talk to a servlet running in a J2EE app server. The servlet then invokes EJBs or other server-side logic to do the work. Note that in this case HTTP is just a protocol and you're not sending HTML back and forth, you can send raw binary data. Go to one of my sites, http://www.j2medeveloper.com, and follow the links to the J2ME Tech Tips. There are a couple examples there that show how MIDP apps and servlets can communicate, complete with code.