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)]