I have a netbeans / Sun Application Server (Some EJB use) project which we've been building manually and now trying to move to an automated system.
Software Used:
- Netbeans 5.1
- Java 1.5
- Sun Application Server 8.2
Netbeans used Ant so taking the actual build process out wasn't that complicated except for the EJB part.
The normal build process is this:
- Compile general java code
- Compile EJB code, generate .ear file
- Deploy EJB code to Sun App Server 8.2 with "Generate RMIstubs" (Generate static RMI stubs and put in client.jar)
- Build main code into .war (during this process it copies the client.jar from the DEPLOYED EJB code folder)
So the build process right now relies on a partial deployment. I want to know if there is a way for me to generate this client.jar without the application server - so this project could be built on a build server. Perhaps the application server will always be required - if so I'll need to look into that possibility but I want to explore options.
I am somewhat familiar with EJB use but the fact is we switched from EJB use part way through the project (legacy code now basically) and have always done things within Netbeans and the auto-generate client jar so I am unsure how to do this manually.
Any help or steps in the right direction would be appriciated. Thank you.