[jboss-user] [EJB 3.0] - Re: Requesting the EJB container to remove an instance

pete.muir@jboss.org do-not-reply at jboss.com
Thu Mar 12 19:44:37 EDT 2009


Hmm, this won't work, as I need this to be serializable. So, I guess we need some serializable identifier for a session bean instance. Perhaps we change to an EjbResolver for getting instances of SFSB that can return something like:

interface EJBInstance<T> {
  | 
  |    Serializable getId();
  |    T getInstance();
  | 
  | }

rather than a JNDI lookup.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217676#4217676

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217676



More information about the jboss-user mailing list