The moose likes Java Micro Edition and the fly likes palm os version with java approach Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "palm os version with java approach" Watch "palm os version with java approach" New topic
Author

palm os version with java approach

Vladimir Kositsky
Ranch Hand

Joined: Nov 03, 2000
Posts: 116
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
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.

------------------
Eric Giguere
author/co-author of:
Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide
Java 2 Micro Edition: Professional Developer's Guide
PalmTM Database Programming: The Complete Developer's Guide


Eric Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
Vladimir Kositsky
Ranch Hand

Joined: Nov 03, 2000
Posts: 116
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
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


Regards,<br /> <br />Pho<br /><a href="http://amour.zaadz.com/blog" target="_blank" rel="nofollow">http://amour.zaadz.com/blog</a>
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
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.

------------------
Eric Giguere
author/co-author of:
Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide
Java 2 Micro Edition: Professional Developer's Guide
PalmTM Database Programming: The Complete Developer's Guide
 
 
subject: palm os version with java approach
 
Threads others viewed
Does Palm device support Personal Java
Image works on Default Emulator but not on a Palm??
Is MIDP4Palm good enough?
Best dev kit for Palm
MIDP for Palm OS
MyEclipse, The Clear Choice