Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Deploying My project in Jboss server

 
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


 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • 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?
 
author
Posts: 5856
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
Posts: 5856
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?
 
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic