Saturday, October 9, 2010

Ejb and gwt..?!

Hi all,


I was wondering is there a possibility to use ejb locally in the gwt
servlets,
something like:

@EJB
private TestEjbLocal testEjb;

public String greetServer(String input) throws
IllegalArgumentException {
testEjb.test();
}

Ofcourse the gwt.war file is deployed in a ejb server (Glassfish jboss
etc..)
and I assume that the gwt app war file have to be in the same .ear as
the ejb module
(so to be locally applicable)

I know that usage of context.lookup(jndi remote interface ) works, and
u can even run it like this from a separate
machines(JVM to JVM communication with remote interfaces, using corba
or etc..)

Any help or exp?!

Tnx
B

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate