to connect to the jboss server you need this:
| Context initial = new InitialContext();
| Context myEnv = (Context)initial.lookup("java:comp/env");
| Object objref = myEnv.lookup("ejb/ExampleRef");
| ExampleHome home = (ExampleHome)PortableRemoteObject.narrow(objref,
ExampleHome.class);
| Example example = home.create();
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877945#3877945
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877945
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user