• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running midlets from multiple midlet suites in a single VM.

 
Stefan Vis
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are considering Sun's KVM for implementation in an embedded device. The JAM (application manager) only runs one midlet(suite) at a time, this seems the observed behaviour of most phones out there. Does the spec allow one to run multiple midlet(suite)s on a single VM, or do the midlets all have to be packaged in the same suite (JAR file)?. If we were to modify the JAM so it would load midlets from several midlet suites in the same VM, would we be violating Sun's specifications?
Thanks for your help,
Stefan
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a hot topic. At JavaOne 2000, I aksed baout this. was told the JAM ws specifically created with this in mind. The concern was that a trojan horse of other malicious program can start modifying a running midlet, or midlet suite.
From a developer's perspective, this is a major handcuff! However, technically, it is not prohibited in the MIDP specification.
Basically, the JAM was a good idea, but not really thought out. I've had discussions with people in both the MIDP and PDAP EG's about being clearer on this in future releases. I suspect they will be.
From talking with vendors, they seem to be creating different types of JAMs. Some will be more flexibile than others, and allow things such as what you describe. What times means in terms of spceification compliance, I have no idea. Ultimately, I think with enough pressure from developers this will be made avilable. Unfortunately, we have to go up against pressure from the very overprotective carriers, so it may be a while.
In the mean time, all I can suggest is keep asking around, and hope you find someone. (You could start by looking at J2ME and device vendors who were at JavaOne last year.)
--Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic