Found the problem, mostly pilot error, from the EJB Tutorial:
anonymous wrote :
| JNDI Bindings
| By default, session beans will bind to JNDI in the form ejbName/remote for
remote interfaces and ejbName/local in the case of local interfaces. When the
EJBs are deployed in an .ear file, the default jndi binding will be prepended
by the name of the .ear file. So if the ear file name is foo.ear the default
jndi names would be foo/EJB-NAME/remote and foo/EJB-NAME/local. You can
override this behavior by defining your own @org.jboss.ejb3.LocalBinding or
@org.jboss.ejb3.remoting.RemoteBinding.
|
Note the EJB name
When I used the ear name it worked:
| try {
| Properties p = new Properties();
| Context c = new InitialContext();
| return (FirstcategoryFacadeLocal)
c.lookup("NewsApp/FirstcategoryFacade/local");
| }
|
|
Thanks anyway
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014683#4014683
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014683
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user