So u are saying that all JMS action must pass thru the home to reach a given
object? Is there a direct way to reference the object within its home
without passing by the home?

Daniel


===================



There is no mechanism in EJB that binds entities into JNDI, but there
are (at least) two ways to do this:
*) Make your own code that finds entities and binds them under
well-known names in JNDI
*) Make a JNDI-dereferencer that when looked up does the
findByPrimaryKey for you. See javax.naming.Reference for reference.

The second one is preferred since then you don't have to pre-bind all
entities into JNDI.

/Rickard


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to