atom feed12 messages in net.java.dev.glassfish.usersUsing EJBs in CometHandler (GlassFish...
FromSent OnAttachments
glas...@javadesktop.orgJul 16, 2008 12:41 pm 
glas...@javadesktop.orgJul 17, 2008 7:35 am 
glas...@javadesktop.orgJul 17, 2008 8:02 am 
glas...@javadesktop.orgJul 17, 2008 8:19 am 
Jeanfrancois ArcandJul 17, 2008 8:38 am 
Jeanfrancois ArcandJul 17, 2008 8:51 am 
glas...@javadesktop.orgJul 18, 2008 2:53 am 
Jeanfrancois ArcandJul 18, 2008 8:38 am 
glas...@javadesktop.orgJul 18, 2008 12:34 pm 
glas...@javadesktop.orgJul 21, 2008 3:43 am 
Jeanfrancois ArcandJul 21, 2008 12:27 pm 
glas...@javadesktop.orgJul 22, 2008 1:09 am 
Subject:Using EJBs in CometHandler (GlassFish 2 UR2)
From:glas...@javadesktop.org (glas@javadesktop.org)
Date:Jul 16, 2008 12:41:48 pm
List:net.java.dev.glassfish.users

What's the prefered way to call EJBs in a CometHandler? EJBs can be injected in
servlets, but I do not know a way to inject them in CometHandler objects.

Is it valid to just use the EJBs objects from the servlet? There may be problems
because the CometHandler's life cycle is independent from the servlet. So doing
a JNDI look up it probably the more robust approach (though it's less
convenient)?

Injection in CometHandler would be nice... [Message sent by forum member 'markusoj' (markusoj)]

http://forums.java.net/jive/thread.jspa?messageID=287123