• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Running midlets from multiple midlet suites in a single VM.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic