Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is best way to deploy this app

 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vicky,

Why would you need to deploy this application to a server anyway?
 
Nadeem Awad
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
exactly what's what I wnated to know. How do package it as jar and run standalone?
 
Nadeem Awad
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic