Fast Deployment on Websphere

Hi All,

I use this technique and I am sure many developers must be using on WebSphere.

The problem is when we are working on MBO’s or UI classes on WebSphere, the time it takes to rebuild ear and redeploy, stop/start server and after all this finding that the code did not work correctly is very disappointing.

What I do is as follows:

1) Firstly, do not execute the build script in entirety but just execute the “businessObjectsBuild” target. This will ensure that businessobject.jar is created in deploymentdefaulttemp directory and the temp directory will not be deleted.

2) Copy this businessobject.jar in your WebSphere directory “profilesserver_nameinstalledAppsMaximo.ear”.

3) Just restart the server and we are done. We saved time by not rebuilding the EAR and redeploying.

For any UI class, it even simpler, just compile and copy the class in “profilesserver_nameinstalledAppsMaximo.earmaximouiweb.war”. You will be logged out of Maximo and just relogin and you can see the changes instantly.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s