ejb-3.1
How to maintain a list of Stateful Session Beans?
Given the fact that a Java EE application is to develop, which has the purpose of a chat server, I encountered some problems.[详细]
2023-04-03 10:20 分类:问答Cannot run arquillian tests
I\'m trying to use Arquillian for some unit tests, however I can\'t find why they fail when deployed using Maven.[详细]
2023-04-03 04:03 分类:问答Execute Java EE 6 timer now
I have a Java EE 6 timer - which I schedule with a ScheduleExpression but I also want to have the possibility to run it \"now\" on e.g. button click. How can I achieve this?[详细]
2023-04-02 08:21 分类:问答Problems loading remote Interface with context.lookup
I used to work with jboss 4.2.3 GA and there everything worked fine (at least calling the remote interface from the client side). Now I try to deploy that with Jboss 7.0.1 FINAL[详细]
2023-04-02 00:07 分类:问答Spring 3 EJB 3.1 JPA 2
I am looking for a template project a tutorial of how to build Spring 3 + EJB 3.1 + JPA 2 application. Any references or advices warmly appricated.[详细]
2023-03-31 05:07 分类:问答How do I keep Glassfish from creating a new session for each request?
Glassfish 3.1.1 Jersey 1.8 I have the following stateless session bean exposed as a JAX-RS resource.VehicleResource is contained in a WAR, with the other EJBs in an EJB-JAR.The entire app is packaged[详细]
2023-03-31 03:39 分类:问答Add @Schedule annotation using AOP in Java EE
I am trying to create schedule event using EJB 3.1 @Schedule annotation. Everything works fine as long as I have the annotation inside my bean. Because I want to be able to change schedule in deploy t[详细]
2023-03-31 03:27 分类:问答Why does CMT commit on exit of EJB method, when transaction attribute is "Required"?
I am consistently finding that my already-existing transaction is getting committed inside any method of an EJB marked @ejb.transaction type=\"Required\". Can this be correct?[详细]
2023-03-31 00:34 分类:问答Java CDI & Observer issue - When the listener method is invoked, dependencies are null
Issue: When the listen method is invoked on ContentViewLog, the log and entity manager are null. BlogDetailBean(A bean used on a JSF2 page)[详细]
2023-03-30 01:10 分类:问答EJB 3.1 Singleton + JPA + JSF design advice needed
Given: simple JSF webapp (no Seam), having JSF beans calling few EJB\'s which in turn load and persist JPA entities. What I want to is to use @Singleton annotation for ejb\'s and inject EntityManager[详细]
2023-03-28 16:40 分类:问答