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.
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: