File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Learn to deploy EJBs on JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Learn to deploy EJBs on JBOSS" Watch "Learn to deploy EJBs on JBOSS" New topic
Author

Learn to deploy EJBs on JBOSS

mick allens
Greenhorn

Joined: Aug 18, 2006
Posts: 1
Hi all

Am pretty much new to JBOSS & EJBs, would appreciate if someone could help me with some intresting pointers on developing/deploying EJBs on JBOSS.

I have installed JBOSS 4.0.3 sp1 n have started off with servlets , went well till now.

I want to deploy a complete J2EE application with EJBs as a EAR.

kindly help...
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

Create an .ear file, lets say myApp.ear. The contents might look like the following:



The application.xml will contain:



Also, have a look at:
ExplodedDeployment in JBoss


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

Forgot to mention, you will have to place the .ear file in the %JBOSS_HOME%/server/default/deploy directory
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

If you just have to deploy EJBs, then there is no need for creating ear file. You can just create an jar containing the EJBs and deploy it. Have a look at this thread for more information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Learn to deploy EJBs on JBOSS