users@glassfish.java.net

Re: Representing one EJB3.x as single OSGi Bundle

From: Miroslav Nachev <miro_at_space-comm.com>
Date: Mon, 9 Mar 2009 09:59:30 +0200

The 1st two mention cases can be very easily solved with adding some
additional attributes in EJB tags like:
@EJB(version="", vendor="", bundleSymbolicName="")


Miro.


On Mon, Mar 9, 2009 at 5:58 AM, Sahoo <Sahoo_at_sun.com> wrote:

> Are #1 & #2 not addressed by OSGi metadata?
>
> With regards to #3, the environment is specific to the EJB and not its
> client. So, I don't see any problems.
>
> Sahoo
> Miroslav Nachev wrote:
>
>> Hi Sahoo,
>>
>> The possibility to pack one EJB in single OSGi Bundle is great. Now I
>> would like to ask you regarding the following scenarios followed from OSGi
>> specification:
>> 1. How one application will determine which Bundle/EJB to use in case that
>> there are two or more bundles which implements the same interface?
>> 2. The 2nd question is related with the 1st but there is one more
>> constraint: only the bundle version is different.
>> 3. In case that 2 or more applications depends from one Bundle/EJB how
>> their application specific environment will be provided? What about the
>> Security model?
>>
>>
>> Regards,
>> Miro.
>>
>>
>> On Tue, Feb 24, 2009 at 10:01 AM, Miroslav Nachev <miro_at_space-comm.com<mailto:
>> miro_at_space-comm.com>> wrote:
>>
>> This is GREAT. I love GF v3.
>>
>>
>> Miro.
>>
>>
>> On Tue, Feb 24, 2009 at 9:50 AM, Sahoo <Sahoo_at_sun.com
>> <mailto:Sahoo_at_sun.com>> wrote:
>>
>> Miro,
>>
>> This is a planned feature in GlassFish v3. It is not yet
>> implemented, but work has started. You can find details about
>> the proposed feature here:
>>
>>
>> http://wiki.glassfish.java.net/attach/V3FunctionalSpecs/GFv3-OSGi-onepager-v0.3.txt
>>
>> Thanks,
>> Sahoo
>> - Show quoted text -
>>
>>
>> Miroslav Nachev wrote:
>>
>> Hi,
>>
>> Is it possible under GlassFish v3 to represent one or more
>> EJBs like single OSGi Bundle?
>>
>>
>> Regards,
>> Miro.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> users-unsubscribe_at_glassfish.dev.java.net
>> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
>> For additional commands, e-mail:
>> users-help_at_glassfish.dev.java.net
>> <mailto:users-help_at_glassfish.dev.java.net>
>>
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>