Hello, I'am new to JBoss but get it work very fast (thanks to the team for this easy install). Now I want to implement the following concept: - Servlets control the dialog to the user and use SessionBeans for Business-Transactions - SessionBeans use the Turbine-Torque Object-Mapping Classes for interaction with the database The advantage of using the OM Classes is, that they are generated out of the Datamodel and automatically implement all the Master / detail behaviour etc. so on the one hand I don't have to build many small Entity Beans for every Table with all the runtime overhead and on the other hand there's no need for complex SQL Coding in more complex Entity-Beans with Beanmanaged persistence. But to run this OM-Classes an TurbineConfig-Object must be initialized once at the start. I tried to do this in the ejbCreate-Method of my SessionBean whats definitly wrong, cause it will be called for every new Bean. So I look for the place where I can do such an initialization. Or should I define an own Service for that? In the other hand, primary functionality of this TurbineConfig-Class is to intialize TurbineServices for Logging and Connection-Pooling; so I actualy don't know if this Services can propertly work in an EJB-Container, cause they are originally written to work in an Servlet-Container... This Services that are already present in an EJB Container. Maybe the OM-Classes should be adapted to use the EJB-Container Services instead to get a clean solution.... A lot of questions, but maybe someone out there runs into the same problems and found a way.... Thanks in advance Uwe _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
