Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB 2 and jboss-4.2.1.GA

 
Ganni Kal
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have jboss-4.2.1.GA installed.

Where can I find/download the EJB 2.x jar files?

How can I deploy a whole application including servlets and EJBs into jboss?

Can we deploy them as separately, as the servlets and JSP packeged into test.war and the EJB stuff packaged into test.jar?

Thank You

- Ganni
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ganesan,

Welcome to JavaRanch

Originally posted by Ganesan Kal:


Where can I find/download the EJB 2.x jar files?


You mean the jar files containing javax.ejb.* package? When you download JBoss, it already comes with these jar files (which you can find in %JBOSS_HOME%/server/default/lib folder).

Originally posted by Ganesan Kal:
How can I deploy a whole application including servlets and EJBs into jboss?


You can create an EAR file containing the ejb jars and the servlet/jsp war file and place the ear file in the deploy folder of JBoss.

Originally posted by Ganesan Kal:
Can we deploy them as separately, as the servlets and JSP packeged into test.war and the EJB stuff packaged into test.jar?

Yes, you can deploy it this way too
 
Ganni Kal
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Jaikiran

Thank you for your neat and useful answer.

Ragards
Ganni
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic