Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying My project in Jboss server

 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my project there is a EJB and Servlet.
1)Anyway i can't still find a EAR file?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic