This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deploy a Java Project on Jboss Server as a web module?

 
Ravish Srivastava
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to deploy a Java Project on Jboss Server as a web module?

My Java project only has java class.

Thanks,
RS
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, typically you would package a simple web application as a web application archive (.war file) and deploy it to an application server or servlet container by copying that .war file to whatever directory the server looks in for stuff to deploy. The structure of a WAR is pretty straightforward, but very important. Google should be able to help you out there. However, you can't just package any old existing Java application as a WAR and expect (in this case) JBoss to know what to do with it. Typically a Java web application contains a deployment descriptor to help the application server / servelt container to figure that stuff out, and the application would more than likely require some modifications as well.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those of you following along at home, see the discussion at http://www.coderanch.com/t/570340/JBoss/deploy-JAVA-application-JBOSS-as
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic