anonymous wrote : This assumes that every callback path has an interceptor model that
allows this. Its not true for either the ejb2 or web containers. Callbacks like ejb
timers, activation callbacks, session events, don't have the same invocation model as
requests.
Well, the key has to be set someplace and somewhere if your'e not using the
ClassLoader as the key. EJB3 has no problem pushing/popping the ENC for EJB callbacks.
Not sure why EJB2 or JBossWeb would have any problem as well.
anonymous wrote : There is also the issue of being able to view encs for debugging. Having
a bunch of isolated encs buried in various containers vs having a map keyed by component
id just seems cleaner.
Ok...so can we get implementing this? There should be no reason why we need to
overengineer this and can have a simple static variable ConncurrentHashMap implementation
for the id->ENC mapping.
I can probably figure out all the places to add the hooks in for EJB3/EJB2. For JBossWeb
I made need a hint.
Bill
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995421#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...