• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

what is best way to deploy this app

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)?
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vicky,

Why would you need to deploy this application to a server anyway?
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic