• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run EJB?

 
sachin verma
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

I am preparing for SCBCD 5.0.
I have coded many examples on EJB but I am unable to run them.
I have tried many server(J2EE Application Server).
But still no luck
Even I could not run the example given in Head First EJB book.
I have heard about many servers like..
1-Weblogic
2-JBoss
3-OpenEJB
I coded with notepad and tried with OpenEJB 3.1 as well but could not run .
please help me guys.
And if possible please tell me little bit about 3 given server and the popularity of them(And if there is another server please include that as well).
[ November 14, 2008: Message edited by: sachin verma ]
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin,

It sounds like you are missing knowledge of packaging for Java EE applications and perhaps a basic familiarly running Java EE apps. I would suggest a basic tutorial such as the following: http://docs.jboss.org/ejb3/app-server/tutorial/index.html. Here is a basic IDE based tutorial: http://www.webagesolutions.com/knowledgebase/javakb/jkb005/index.html.

Also, feel free to take a look at the example code for EJB 3 in Action: http://www.manning.com/panda/.

Regards,
Reza

P.S.: Appendix E of EJB 3 in Action covers the step-by-step instructions to get started with GlassFish.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!