Hi all,

In my session bean, i have reference to an instance of an entity bean. so, i
lookup an instance of the home interface of the entity bean using the bean
name or  jndi name. The problem is that, with this approach, i have to
hardcode the entity bean name or its jndi name within the session bean....
wich is, IMO, not a very good approach  : if the referenced entity bean is
deployed with a different name, the session bean directly crashes ....

Any suggestions to avoid this? Does the spec provide some way for the
session bean to know the deployed name of an entity bean it's referencing
to?

--hermann


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to