I have a resource which needs to be available for all the EJB objects to
use.  I would like to create this resource and bind it in to JNDI context.
This is a singleton resource.  I am not sure of how to accomplish this with
Orion.  In other servers, there is a way to execute some "startup" code
which could do this initialization for me, however, with Orion I am at loss.


Section 5.4 of the J2EE 1.2 Spec talks about Resource Factory References,
which should be used to reference "factory" type of resources from the
beans.  The problem is that the Reference, is just that, a reference to
something else.  How do I put that "something else" in to the JNDI registry
at server startup, so the reference is then valid.

Thanks.
-AP_

Reply via email to