The moose likes EJB and other Java EE Technologies and the fly likes importing a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "importing a project" Watch "importing a project" New topic

importing a project

PradeepPillai Pradeep
Ranch Hand

Joined: Nov 15, 2005
Posts: 184
I have a project called EJBProject. I have an ejb project called EJBProjectEJB and a web project called EJBProjectWeb in Project. How can I make the methods in ProjectEJB available in ProjectWeb.
I have

InitialContext context = new InitialContext ();
Object o = context.lookup("ejb/com/ejb/HelloHome");
HelloHome hh = (HelloHome)PortableRemoteObject.narrow (o,com.ejb.HelloHome.class);
com.ejb.Hello h = hh.create();
hello = h.sayHello();
out.println(hello + "

in my jsp.
I agree. Here's the link: http://aspose.com/file-tools
subject: importing a project
Similar Threads
typical problem with J2EE Server
regarding clas cast exception
Bring resources from ejb project into web project
NoClassDefFoundError running ejb Client
class cast exception