This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

importing a project

PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!