Todd,
I was wondering if it is possible to embed Felix inside of JBoss, as
perhaps a SAR or some other service. When the service is started, I
would like to simply create an instance of Felix to expose pluggable
components to our application. I am thinking that it may be as simple
as:
Felix m_felix =3D nex Felix();
m_felix.start(.....)
I am not a big EJB guy, but what you are asking is definitely possible
and people have done such things.
Will this enable access to the bundles exposed by Felix within our other
resources, i.e. EJB's or other services?
I am not sure I understand this question. Do you want the bundles on the
inside to access stuff on the outside or vice versa? Both should be
possible to some degree or the other.
I have started a document on how to launch/embed Felix at (currently the
Apache wiki is down):
http://cwiki.apache.org/confluence/display/FELIX/Launching+and+Embedding+Felix
This document is not complete at this point, unfortunately, but I will
try to work on it some more when time permits. It will eventually give
you some idea how you can embed Felix into a host application. Until the
document is done you can send me/the mailing list any questions you have.
-> richard