Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing EAR, JAR etc.

 
K Syal
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
 
Henry Wong
author
Marshal
Pie
Posts: 21212
81
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic