...
1. Open the folder in which you extracted the EAR file.
2. Open the EAR file with an archiving program.
3. Put the MyLoginModuleJAR.jar and LoginModuleConfiguration.xml files in the EAR file.
The login module is ready for deployment.
Deploying the EAR to the AS Java