[jboss-user] [JBoss jBPM] - Re: User Transaction Lookup in Unmanaged Threads

wilsonkong do-not-reply at jboss.com
Sun Nov 2 11:56:45 EST 2008


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#4186228

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186228



More information about the jboss-user mailing list