Let\'s say I have an interceptor that looks smth like this: public class AuthorizationInterceptor { Logger log = Logger.getLogger(getClass().getName());
I didn\'t find much information about EJB 3.1 Singletons in cluster enviroment. Is it true开发者_StackOverflow中文版 that specification says that those singletons will guarantee one instance per JVM -
I am currently working on a project with multiple ejb and one ejb-jar.xml. I wonder how to share the env-entry from the ejb-jar.xml between the various ejbs.
I\'m using Glassfish 3.0.1. I sometimes get this error when attempting to call a local EJB: [#|2010-11-10T19:17:25.014+0000|INFO|glassfish3.0.1|javax.enterprise.system.core.security|
I currently have a J2EE project containing an EJB and a WAR. Everything goes fine while I have only one WAR and one EJB module bundled in the final EAR. I now need to develop an other WAR using the sa
When I have an @Asynchronous method in an EJB, and I don\'t specify the @TransactionAttribute, then how exactly does the container handle the transaction boundaries? Obviously, it can\'t use the call
I have a @Stateless @Local Bean successfully deployed in an ear.I can see the new EJB 3.1 standard global JNDI name when I browse the JNDI tree.(java:global/product/product-ejb/ProductManageme开发者_开
I am trying to use glassfish as a embedded server in my ejb3.1 project. below are my maven dependencies..
How would you go about unit testing an EJB that uses JPA? For example, if I have an Order entity an开发者_如何学编程d and OrderEJB that is supposed to calculate the total of an order (as defined below
Now, with EJB 3.1, we can find the javax.ejb.Singleton annocation that can ensure that this bean开发者_开发问答 is going to be singleton.