So why not run them in two separate frameworks? If you could find a VM
that supports isolates (JSR 121) then you can easily startup two
frameworks. Safely linking the OSGi service registry should not be
hard for most services.
Kind regards,
Peter Kriens
PN> Ok,
PN> thanks for the hints.
PN> My problem is that there are Apps that are crititcal to a e.g. mobile
PN> devices function, like the messaging, radio transmission and others,
PN> while there are others that are contributed by other parties much as
PN> the usual Midlets and that are not critical and possibly not tested
PN> (games, corporate apps, branding etc). The former category has much
PN> harder requirements in terms of uptime than the latter, still of
PN> course one wants to gain the benefit of a shared OSGi framework for
PN> both.
PN> /peter
PN> On 2/21/07, BOTTARO Andre RD-MAPS-GRE
PN> <[EMAIL PROTECTED]> wrote:
>>
>> Isolation can be put in place thanks to the Conditional Admin Layer and the
>> Security Layer. To be brief : Through these mechanisms, it is possible not
>> to give any package (import/export) and service permissions to untrusted
>> bundles.
>>
>> For the security layer, see the project named sFelix. For the Conditional
>> Permission Admin, I only know the free contribution from Trialog, which
>> implements the previous Permission Admin Specification on oscar-objectweb.
>>
>> --
>> André Bottaro
>> R&D Engineer - France Telecom RD/MAPS/AMS
>> 28, chemin du vieux chene 38243 Meylan CEDEX - France
>> Tel. +33 4 76 76 41 03 - Fax. +33 4 76 76 45 57
>> e-mail: [EMAIL PROTECTED]
>>
>>
>> -----Message d'origine-----
>> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de BJ Hargrave
>> Envoyé : mercredi 21 février 2007 16:46
>> À : OSGi Developer Mail List
>> Objet : Re: [osgi-dev] How to separate different Apps in OSGi?
>>
>> The best practice it to write error free applications! :-D
>>
>> But seriously, this environment is a cooperative environment. Everything
>> is in the same "address space". So there is no real isolation nor any good
>> simulation.
>>
>> In practice, it works fairly well. Hell it worked with Windows 3.1 for
>> many years. :-)
>>
>> BJ Hargrave
>> Senior Technical Staff Member, IBM
>> OSGi Fellow and CTO of the OSGi Alliance
>> [EMAIL PROTECTED]
>>
>> office: +1 386 848 1781
>> mobile: +1 386 848 3788
>>
>>
>>
>>
>> "Peter Neubauer" <[EMAIL PROTECTED]>
>> Sent by: [EMAIL PROTECTED]
>> 02/21/2007 09:57 AM
>> Please respond to
>> OSGi Developer Mail List <[email protected]>
>>
>>
>> To
>> "OSGi Development List" <[email protected]>
>> cc
>>
>> Subject
>> [osgi-dev] How to separate different Apps in OSGi?
>>
>>
>>
>>
>>
>>
>> Hi there,
>> we are thinking about running several applications on the same OSGi
>> framework instance. Are there any patterns and best practices on how
>> to make sure a badly coded or crashing app or bundle is not affecting
>> the others, e.g. some kind of isolation between applications?
>>
>> /peter
>> _______________________________________________
>> OSGi Developer Mail List
>> [email protected]
>> http://www2.osgi.org/mailman/listinfo/osgi-dev
>>
>>
>> _______________________________________________
>> OSGi Developer Mail List
>> [email protected]
>> http://www2.osgi.org/mailman/listinfo/osgi-dev
>>
>> _______________________________________________
>> OSGi Developer Mail List
>> [email protected]
>> http://www2.osgi.org/mailman/listinfo/osgi-dev
>>
PN> _______________________________________________
PN> OSGi Developer Mail List
PN> [email protected]
PN> http://www2.osgi.org/mailman/listinfo/osgi-dev
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev