This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Executing EAR, JAR etc.  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am new to J2EE technology and currently I am working on a project where client has sent his old code and some exe files etc in .ear and .jar jave file formats, some .ear files contain .war files also inside them. Now i want to work on these bundles of codes and files and lay novice about the commands needed to get started with them. I know how to deploy .jar files from the command prompt (drive:> java -jar xx.jar) is all i know. Can anyone be helpful taking me further along with other file formats as well ie .ear and .war files. I need to know how to execute or extract or make them work from the command prompt as well as other utilities if both are the cases those could be used. Plz can anyone help me out telling commands in here and giving some good related links. I couldnt land up to any worth while through google.

Regards
 
author
Posts: 23832
140
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, I don't think that you can run a WAR or EAR from the command line. You need some sort of application server -- like Weblogic, JBoss, Websphere, etc.

Of course, I haven't kept up... There may be some really lightweight application server that can run services from the command line.

Henry
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!