Java - Export an application to an EAR file in Eclipse

by
Jeremy Canfield |
Updated: March 23 2022
| Java articles
An EAR is a collection of one or more applications.
- Select File > New > Enterprise Application Project.
- Give the WAR a name, select an appropriate Server Target Runtime, and select Next.
- Select the applications that you want included in the EAR, and select Finish.
In this example, the Beta application is included in the EAR.
After the EAR is created, the applications in the EAR can be seen in the left panel of Eclipse.
Did you find this article helpful?
If so, consider buying me a coffee over at