In my JEE6-App (running on Glassfish 3.0.1) I have an EmailEJB which has to send lots of mails. The mails are sent asynchronously, so its annotated with the new EJB3.1 @Asynchronous, letting it be run
I have a JavaEE6-application running on Glassfish v3.0.1 with EJB 3.1 (app is packaged as WAR), and all my EJBs are @LocalBeans.
I\'m currently creating an EJB3 Data Access Class to hand开发者_StackOverflow社区le all database operations in my Java EE 6-application. Now, since Java EE 6 provides the new ApplicationScoped annotat
Scenario: 1) create maven ear project, create war project inside 2) add beans.xml to war project`s WEB-INF/
I\'ve got an app that is trying to use @EJB annotation to inject remote references to EJBs in my ejb.jar file.I\'m getting inconsistent results.In one case, I have a listener in web.xml that gets call
Scenario: I have some @Statefull bean for user session (not an HTTP session, it is web services session). And I need to manage user\'s session per user.
There is good tutorial Basic Authentication withJAX-WS But it describe deployment description for web based application (war). Is it passable describe in ejb jar deployment description ?
Has anyone done this or attempted to do this for a preexisting project? It seems there are two options to go with here, either using the embedded EJB API basically the following class
Scenario: I have @Singleton UserFactory (@Stateless could be) , its method createSession() generating @Stateful UserSession bean by manual lookup.
using ejb 3.1, servlet 3.0 (glassfish server v3) Scenario: I have MDB that listen to jms messages and give processing to some other session bean (Stateless).