Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SuperWaba v. other JVMs for J2ME

 
James Martin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded the SuperWaba virtual machine for my Palm Vx recently. I also downloaded a few apps for it (one was crappy and one didn't run). Does anyone know of a good location for apps that a ready to run under SuperWaba?
Any thoughts on SuperWaba vs other sorts of JVMs for PDAs? I know that for SuperWaba, you have to use a utility that comes with it it to convert your java bytecode files into palm-readable files. Is this par for the course? Or do other JVMs omit this step and allow you to run your .class files just as you would on the desktop.
Slightly unrelated question, does anyone know of a system that would allow you to code and run short Java examples on the Palm? I have a similar app for python (called Pippy).
Wheat
wheatdesign.com
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SuperWaba is pretty easy to use but it is not J2ME and it is a Palm-only technology. So, it can not take advantage of J2ME's cross platform features.
I would think SuperWaba as a Java-like Palm SDK.
 
James Martin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the clarification. Does Sun make a JVM for PalmOS? Do you have any advice on which JVM to use for Palm that will maintain the cross-platform compatibility?
Thanks,
Wheat
wheatdesign.com
 
a sanjuan
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can run your midp apps using to MIDP4Palm:
http://java.sun.com/products/midp4palm/index.html
steps to run your MIDP apps on the POSE (Palm OS Emulator):
http://www.blueboard.com/j2me/notes/2002_6_24.htm
Read about the new PDA Profile that will cover Palm:
http://jcp.org/jsr/detail/075.jsp
 
Greg Bonney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I can tell, Sun's free J2ME MIDP implementation only runs on a small subset of devices. It only runs on 68k-based devices with PalmOS 3.5. It won't work on older devices, and I'm not sure if it will work with PalmOS 4.x, but I know it won't work with 5.x. Also, they aren't supporting this anymore.

For devices with PalmOS 5.x, the J2ME implementation of choice is Websphere Micro Environment. Unfortunately, it doesn't run on the older 68k-based devices. And although it is fairly inexpensive, it is not free.

So, it would appear that there is no single J2ME solution that covers all Palm devices.

I am getting a Palm Treo 700p and am thinking I'd like to do Java with it. (I previously did a little C programming on my Sony Clie, so I'm not totally new to PalmOS development.)

Of course, if you want to write games that will work on both a Palm device and also a regular java-enabled cell phone, there's no getting away from using J2ME. However, if your software is targeted only for PDA's, SuperWaba seems like a reasonable choice. (As soon as you start accessing PDA features like the address book, you're probably talking about something that won't run on a regular cell phone.)

So, I'm looking at SuperWaba in comparison to what's out there for J2ME. It's not J2ME compatible, but it is Java compatible. You can use Sun's compilers with it, and you can use Eclipse or some other free IDE. It's totally free to the programmer and the user (unless you want to purchase support). It works with PalmOS 3.x-5.x, and also works with Pocket PC. So, you'd get a pretty wide audience. And you can package the VM with your software so the user doesn't have to do a separate download.
 
Greg Bonney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I can tell, Sun's free J2ME MIDP implementation only runs on a small subset of devices. It only runs on 68k-based devices with PalmOS 3.5. It won't work on older devices, and I'm not sure if it will work with PalmOS 4.x, but I know it won't work with 5.x. Also, they aren't supporting this anymore.

For devices with PalmOS 5.x, the J2ME implementation of choice is Websphere Micro Environment. Unfortunately, it doesn't run on the older 68k-based devices. And although it is fairly inexpensive, it is not free.

So, it would appear that there is no single J2ME solution that covers all Palm devices.

I am getting a Palm Treo 700p and am thinking I'd like to do Java with it. (I previously did a little C programming on my Sony Clie, so I'm not totally new to PalmOS development.)

Of course, if you want to write games that will work on both a Palm device and also a regular java-enabled cell phone, there's no getting away from using J2ME. However, if your software is targeted only for PDA's, SuperWaba seems like a reasonable choice. (As soon as you start accessing PDA features like the address book, you're probably talking about something that won't run on a regular cell phone.)

So, I'm looking at SuperWaba in comparison to what's out there for J2ME. It's not J2ME compatible, but it is Java compatible. You can use Sun's compilers with it, and you can use Eclipse or some other free IDE. It's totally free to the programmer and the user (unless you want to purchase support). It works with PalmOS 3.x-5.x, and also works with Pocket PC. So, you'd get a pretty wide audience. And you can package the VM with your software so the user doesn't have to do a separate download.
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibly Websphere Micro Environment
is the most generic alternative for Palms ...

http://www.palmos.com/dev/tech/java/developers.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic