Hello,
The application server itself will not help you build an EAR file.
You need to build the ear file either by hand or by using a tool.
Most
IDE's will have some kind of wizard that will help you build an EAR file, or you can use a build tool such as
ANT or Maven.
Hope that helps,
David