• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

palm os version with java approach

 
Vladimir Kositsky
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vladimir Kositsky
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic