This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes what is best way to deploy this app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what is best way to deploy this app" Watch "what is best way to deploy this app" New topic
Author

what is best way to deploy this app

Vicky Pandya
Ranch Hand

Joined: Dec 16, 2004
Posts: 148
We have a data warehouse application, which consists of JMS message consumer(listener) uses few DTOs from DAO layer and submits data to database. This application is faceless (no UI). what would be the general approach to deploy this application on server? I know I don't need to deploy this as WAR(faceless, no JSPs or servlets) or EAR (no MDBs or any EJBs). What is the best way to deploy this applicatino (as jar? how? or some other way)?
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Vicky,

Why would you need to deploy this application to a server anyway?


I think, therefore I exist -- Rene Descartes
Nadeem Awad
Ranch Hand

Joined: Jan 09, 2005
Posts: 74
Originally posted by Valentin Tanase:
Why would you need to deploy this application to a server anyway?

Indeed, this application is not a Web or Enterprise application so you need to "deploy" it on a server. You can simply package it as a Jar file and launch it as a stand alone application.


Share Knowledge to gain it.<br /> <br />SCJP 1.2, SCDJWS 1.4, SCWCD 1.4, SCBCD 1.3, ICAD
Vicky Pandya
Ranch Hand

Joined: Dec 16, 2004
Posts: 148
exactly what's what I wnated to know. How do package it as jar and run standalone?
Nadeem Awad
Ranch Hand

Joined: Jan 09, 2005
Posts: 74
Originally posted by Vicky Pandya:
exactly what's what I wnated to know. How do package it as jar and run standalone?


Check out this section in the Java Tutorial:
Running JAR-Packaged Software

In case that your Jar depends on other multiple Jar files, check out this project in the Source Forge:
http://sourceforge.net/projects/one-jar

regards,
 
Consider Paul's rocket mass heater.
 
subject: what is best way to deploy this app
 
Similar Threads
Sharing data between web app's
Deploying more than one application in tomcat
Implementing a service in SOAP and REST
How to deploy a web service created in .net 3.5 on Apache 6.
packing