Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying servlets

 
KRK Gowda
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can anybody tell me how to package servlets and other files into .ear file in UNIX.

Thanks and Regards,
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a particular development tool that you're using? Any development tool will provide facilities for exporting code as an EAR.

There's nothing magical about an ear. It is simply a zip file, or jar file, with a .ear extension. You can actually create an ear with the jar utility from the JDK.

The big thing about an ear is that it must conform to the standard for creating an ear, such as the appropriate deployment descriptors and war and jar files contained within.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic