Well, There are many ways.To name a few:- 1) Self Learning 2) Take some courses.
For self learning here are some books which will be helpful:- 1) Mastering EJB by Ed Roman-2nd edition. This book is available as pdf also.goto the www.theserverside.com to download. 2)Enterprise JavaBeans by Richard Monson-Haefel.
"A scientist is not person who gives right answers but a person who asks right questions"
I took the BEA EJB 4 day course, four days, a bit fast. It was suprisingly not WebLogic biased, but kept to standards. OK the labs were specific, but the conceptual side was not. Also the Sun J2EE tutorial doc and examples are quite good, but do some EJB concepts reading first. -Barry
To further add to what has been said by Piyush and Barry, i would also suggest that you have a printed copy of the EJB specs with you. This is the document you will read to undersand and know the "contract between the AppServer and the Bean Provider" which according to me is the most important thing to be aware of when learning EJB's. HTH, Manjunath
And to add even more, there was an extensive primer I retrieved from the www.learningpatterns.com site called: "The Developer's Guide to Understanding EJB 2.0" which might be worthwhile to retrieve. Of course besides the other usual sites (sun, javaworld, ibm, etc.) you might want to look at oreilly, too. Good Luck! Janet