"alesj" wrote : Or what does the spec say about what should the TCCL be in this 
case?

"EJB 3.0 Specification 21.1.2: Programming Restrictions" wrote : The enterprise 
bean must not attempt to create a class loader; obtain the current class 
loader; set the context class loader; set security manager; create a new 
security manager; stop the JVM; or change the input, output, and error streams.

In short, this is non-portable because application-level code should leave the 
details of the environment to the container.

Why are we taking the reflection-based approach?  Let's take a look at the 
structure of the JAR/EAR as well?

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246075#4246075

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246075
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to