File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Deploying servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploying servlets" Watch "Deploying servlets" New topic

Deploying servlets

KRK Gowda
Ranch Hand

Joined: Nov 02, 2004
Posts: 132
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

Joined: Aug 26, 2006
Posts: 4968

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
I agree. Here's the link:
subject: Deploying servlets
jQuery in Action, 3rd edition