aspose file tools*
The moose likes Portals and Portlets and the fly likes portlet accessing ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "portlet accessing ejb" Watch "portlet accessing ejb" New topic
Author

portlet accessing ejb

hw khan
Greenhorn

Joined: Oct 03, 2007
Posts: 9
Hi,

Iam new to IBM Webspere portal and I need to learn how to access EJB from a portlet.
Can anyone please help me with some examples, tutorials, articles
anything relavent.
I have all the posible links given by IBM, But not much of help.
Iam in need of step-by-step tutorial with a simple example to understand how to access EJB from portlet.

Thanks,
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

There's absolutely no difference between accessing an EJB from a portlet as there is from a Servlet. Just do the JNDI lookup, get the home, obtain the remote interface, call the methods and catch the exceptions.

Absolutely no difference at all.

Here's a tutorial on invoking EJBs from a Servlet. No difference with a portlet:

How to write EJB clients with WebSphere and Rational Application Developer


[ November 30, 2007: Message edited by: Cameron McKenzie ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: portlet accessing ejb