Tomcatにearファイルをdeployする方法

earファイルをTomcatにdeployする方法が分からない。以下のサイトによると、

http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid480013_tax292065,00.html

Tomcat is a servlet/JSP container available from the jakarta.apache.org site. Tomcat deals only with WAR files. So, in order to auto-deploy a Web application to a Tomcat environment, you must place an application’s WAR file in the appropriate directory or use Tomcat’s deployment tools to manually deploy the file. If you already have an EAR file that contains the WAR file, you can extract the WAR file and use it as is. If you do not have the EAR file or the WAR file, you can use any number of compliant tools to create the WAR file. The following sites discuss the Tomcat deployment process in detail:

と書いてある。つまりwarファイル形式しかTomcatは自動で扱ってくれないということだろうか。earファイルからwarファイルを抜き出せと書いてあるが、今度はその方法が分からない。

あとwarファイルだが、以下の説明を読んだら、Tomcatは展開してから利用するようだ。つまり「纏めすぎてうんぬん」と書いた件は杞憂に終わった。

http://tomcat.apache.org/tomcat-4.0-doc/appdev/deployment.html

When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way. This approach would typically be used to install an additional application, provided by a third party vendor or by your internal development staff, into an existing Tomcat installation.