Hi
Recently we have decided to reimplement our GWT app with MVP pattern,
we are using gwt-dispatcher library.
On the server side the gwt-dispatcher action handlers are configured
through guice.
All the business logic of the app is handled by the enterprise
stateless beans.
Unfortunately we can't obtain enterprise bean instance using @EJB
annotation.
public class CheckFirstRunHandler implements
ActionHandler<CheckFirstRun, CheckFirstRunResult> {
@EJB
private UserAssignmentBeanLocal userBean;
@Override
public CheckFirstRunResult execute(CheckFirstRun action,
ExecutionContext context)
throws ActionException {
......
}
}
Our app is running on jboss.
Is there any posibillity to mix together jboss DI and guice ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---