• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make our application war and jar file  RSS feed

 
sumanta panda
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I know the folder structure of my web application.But could please
tell me how to convert my folder directory in jar and war file in command promt.

Example nlineBanking folder(It is in J2ee structure)

i want like OnlineBanking.war and OnlineBanking.jar.

Thanks and Regards
Sumanta Panda
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sumanta,
All the java class should go in to the Jar file with the corresponding package structure and the war file will contain all the web related files and jar as well.
Use the Jar utility to create your jar and war files. The below link can help you.
Creating a JAR File
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

you are using any IDE? if not go through this
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!