"sheadington" wrote : Just thinking about it, it seems to me that EJB3 calling
EJB2 should be no problem, but EJB2 calling EJB3 wont work
|
| Has anyone tried this yet?
I haven't tried it yet, either, but why shouldn't the following:import
com.foo.RemoteEjb3Interface;
|
| public class StandaloneEjbClient {
|
| public static vaid main(String[] args) throws Exception {
| InitialContext ic = new InitialContext();
| RemoteEjb3Interface remote = (RemoteEjb3Interface)
ic.lookup("java:comp/env/remoteEjb");
|
| remoteEjb.doSomething();
| }
| }work whether in a standalone app, a web servlet, or an EJB 2.1 bean?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146704#4146704
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146704
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user