This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

what is best way to deploy this app

 
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)?
 
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?
 
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,
 
Are you okay? You look a little big. Maybe this tiny ad will help:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!