aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Deploying My project in Jboss server 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 » Engineering » IDEs, Version Control and other tools
Bookmark "Deploying My project in Jboss server" Watch "Deploying My project in Jboss server" New topic
Author

Deploying My project in Jboss server

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
I created a Enterprise Application using Netbeans IDE.
I need to Deployee this appplication using Jboss.

1)What should i put to D:\Alternate_C_Drive\jboss-5.1.0.GA\server\default\deploy folder?

this is my servlet


this is my sessionbean


this is my java class


Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Put your archived project ,EAR or WAR
JBoss allows you to deploy folders also if they follow a specific naming scheme
folder.ear or folder.war
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
In my project there is a EJB and Servlet.
1)Anyway i can't still find a EAR file?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

If you do not have an EAR, then the EJB should be packaged as a JAR file and the servlet as a WAR file. Copy those two files to the deploy directory. (By the way, you really should package the JAR and WAR within an EAR.)


JBoss In Action
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
you are correct ,there is a jar file in Ejb module and war file web module.
anyway how to make a EAR file from jar and war ?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

I don't understand. You first sentence says you have an EAR with a JAR and a WAR. Your second sentence is asking how to build an EAR with a JAR and a WAR. Why do you need to build an EAR when you have one already?
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
no , I don't have EAR file. I need EAr file to deploye my project in jboss.
I develop it in Netbeans IDE and Glassfigh server.
I have JAr file in EJB module and WAR file in Web module .
Anyway i need to make EAR file.
How to make a EAr from jar and war files?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying My project in Jboss server