You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by emaayan <el...@gmail.com> on 2010/03/02 09:13:49 UTC

can iPojo be used inside an ear?

hi...
we have an ear which is divided into applications, currently there is no
framework for actuall application definition aside from package names? can
iPojos be used inside an ear and j2ee servers such jboss and websphere?

-- 
View this message in context: http://old.nabble.com/can-iPojo-be-used-inside-an-ear--tp27753130p27753130.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: can iPojo be used inside an ear?

Posted by emaayan <el...@gmail.com>.
but what would require me to use jonas instead of websphere :), i'm looking
for a 'magical' way such a spring runs inside websphere, to have our
applications be inside a statless ejb (we only have 4 of them) which would
run under different class loaders per module.

clement escoffier wrote:
> 
> Hi,
> 
> Sorry for the delay, the mail goes out of my radar...
> 
> 
> So, you cannot use iPOJO inside a 'plain' ear to inject JEE stuff
> (EJB...). iPOJO is based on OSGi and requires an OSGi runtime to work.
> However:
> - you can embed an OSGi framework which use iPOJO inside a servlet for
> example
> - you can have a look to the new generation of JEE server such as OW2
> JOnAS which integrate JEE and OSGi in a way that allows injecting OSGi
> service inside EJB...
> (http://blog.akquinet.de/2009/07/27/jonas-showcase-having-the-best-of-jee-and-osgi/)
> 
> Regards,
> 
> Clement
> 
> On 02.03.2010, at 09:13, emaayan wrote:
> 
>> 
>> hi...
>> we have an ear which is divided into applications, currently there is no
>> framework for actuall application definition aside from package names?
>> can
>> iPojos be used inside an ear and j2ee servers such jboss and websphere?
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/can-iPojo-be-used-inside-an-ear--tp27753130p27753130.html
>> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/can-iPojo-be-used-inside-an-ear--tp27753130p27818153.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: can iPojo be used inside an ear?

Posted by Clement Escoffier <cl...@gmail.com>.
Hi,

Sorry for the delay, the mail goes out of my radar...


So, you cannot use iPOJO inside a 'plain' ear to inject JEE stuff (EJB...). iPOJO is based on OSGi and requires an OSGi runtime to work.
However:
- you can embed an OSGi framework which use iPOJO inside a servlet for example
- you can have a look to the new generation of JEE server such as OW2 JOnAS which integrate JEE and OSGi in a way that allows injecting OSGi service inside EJB... (http://blog.akquinet.de/2009/07/27/jonas-showcase-having-the-best-of-jee-and-osgi/)

Regards,

Clement

On 02.03.2010, at 09:13, emaayan wrote:

> 
> hi...
> we have an ear which is divided into applications, currently there is no
> framework for actuall application definition aside from package names? can
> iPojos be used inside an ear and j2ee servers such jboss and websphere?
> 
> -- 
> View this message in context: http://old.nabble.com/can-iPojo-be-used-inside-an-ear--tp27753130p27753130.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org