• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying My project in Jboss server

 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my project there is a EJB and Servlet.
1)Anyway i can't still find a EAR file?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic