Andrej Koelewijn

3/4/2005

How do i deploy my j2ee applications?

Filed under: — andrejk @ 11:32 pm

Shay Shmeltzer wants to know how you do deploy your j2ee applications.

Multiple ways:

Ant – We want to be able to do a full build without jdeveloper installed. Our continuous integration build runs on a linux server using cruisecontrol. We’ve put all libraries used (including bc4j and adf) into cvs, and using cruisecontrol we tag all sources in cvs, build all ear files and deploy every build. This way we know exactly which version is installed on every application server and what we’re testing, and which version needs to be checked out from cvs when we want to patch a bug.

10g Web console – Cruisecontrol installs the ear files on a test server and copies the ear files to an ftp directory. If we want to deploy an application on another server (say beta, or production) you can download the generated ear through a link on our project wiki. These ear files we install through the web consoles of the servers.

jDeveloper – When developing and testing an application on my development machine, i’ll build the ear file using ant. Then i’ll deploy it to an oc4j instance running on my machine using jdeveloper. (right click on the ear file, deploy to). But i don’t deploy locally build ear files to a general purpose test server, as i want to know exactly which files from cvs the users are testing.

Leave a Reply

Powered by WordPress