Right, according to the J2EE specification and even best J2EE practice, unmanaged threads
should be avoided.
That's why J2EE promotes WorkManager which is managed and able to do the jobs
parallel. WorkManager leverage the J2EE container so it should be able to lookup JNDI
context.
This would make sure your code in high quality and portable between different app server
and different J2EE version as well. ( You'll never know when Weblogic will denial the
lookup because it's not in spec)
http://www.devx.com/Java/Article/28815
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186228#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...