View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820597#3820597
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820597 The session objects are pooled (and lazily constructed). This means your ejbCreate() won't be invoked until the first request. It is not when they do home.create(), this just creates a proxy to the bean without doing anything with bean instances. Once your object is in the pool, it won't invoke ejbCreate() again. If you want to configure expensive resources you should consider JCA. Or if there is no need for transactions and security and MBean. Regards, Adrian ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user