From: Toby H. <tob...@in...> - 2001-07-29 23:29:07
|
from ejb-jar.xml: <enterprise-beans> <session> <description>EJBDoclet tags:</description> <ejb-name>ubik/Account</ejb-name> <home>ubik.account.interfaces.IAccountHome</home> <remote>ubik.account.interfaces.IAccount</remote> <ejb-class>ubik.account.ejb.Account</ejb-class> <session-type>Stateful</session-type> <transaction-type>Container</transaction-type> </session> </enterprise-beans> from jboss.xml: <enterprise-beans> <session> <ejb-name>ubik/Account</ejb-name> <jndi-name>ubik/Account</jndi-name> <container-configuration>Standard Stateful SessionBean</container-configuration> </session> </enterprise-beans> where 'Standard Stateful SessionBean' is defined (i rip this straight from the standardjboss.xml file in the INSTALL_PATH/jboss/conf directory). If this is still not working, can you provide the code for how you re-invoke the session bean? Are you using the ejbHandle to store the Session reference? /t toby hede ----- Original Message ----- From: "Anthony IVETAC" <A.I...@cs...> To: <jbo...@li...> Sent: Saturday, July 28, 2001 1:41 AM Subject: [JBoss-user] Stateful Session Bean declaration > I'm stuck. > > I can't figure out how to correctly declare a statfeul session bean in the > ejb-jar.xml file!!! > > The bean works, except it's attributes aren't being stored in between method > invocations. > > Does anyone have a snippet of EJB-JAR.xml for a stateful session bean, please? > > BTW - where are stateful session beans passivated to, the default datasource? > > > Thanks very much! > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > |