In a Message-Driven Bean am I restricted to the same rules of Session Beans (EJB3 or EJB3.1), i.e:
- use the java.lang.reflect Java Reflection API to access information unavailable by way of the security rules of the Java runtime environment
- read or write nonfinal static fields
- use this to refer to the instance in a method parameter or result
- access packages (and classes) that are otherwise made unavailable by the rules of Java programming language
- define a class in a package
- use the java.awt package to create a user interface
- create or modify class loaders and security managers
- redirect input, output, and error streams
- obtain security policy information for a code source
- access or modify the security configuration objects
- create or manage threads
- use thread synchronization primitives to synchronize access with other enterprise bean instances
- stop the Java virtual machine
- load a native library
- listen on, accept connections on, or multicast from a network socket
- change socket factories in java.net.Socket or java.net.ServerSocket, or change the stream handler factory of java.net.URL.
- directly read or write a file descriptor
- create, modify, or delete files in the filesystem
- use the subclass and object substitution features of the Java serialization protocol