File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: Feb 16, 2011
Jun 14, 2011 04:59:03
Hi I have type the code below in an
and I am trying to connect with another EJB in the same server:
Properties properties = new Properties();
Context ctx = new
HolaMundoEJBREMOTORemote hello = null;
hello = (HolaMundoEJBREMOTORemote) ctx.lookup("HolaMundoEJBREMOTO/remote");
when I run the app(main), the error below appears:
Please ¿anybody knows what is happening?
Joined: Jul 13, 2010
Jun 14, 2011 10:21:34
1. Please use the code tags, as it makes the code a lot easier to read,
2. What are the classes or JNDI names of the EJB's you're trying to inject / use as a point of injection,
3. What EJB version are you using?
I agree. Here's the link:
subject: @EJB REMOTE
access ejb from weblogic; ejb is deployed in websphere
Can we lookup(access) the bean directly?
Running Servlets in Weblogic
Object is not of remote type error in GlassFish v3
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015