aspose file tools*
The moose likes Websphere and the fly likes replacing class files instead of new build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "replacing class files instead of new build" Watch "replacing class files instead of new build" New topic
Author

replacing class files instead of new build

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
All,
Just wanted to know if it was possible to replace a compiled class file in the {WAS_HOME}/installedapps directory instead of making a new build

TIA
Joe Matthew
Ranch Hand

Joined: Jun 10, 2008
Posts: 66
You can. But why would you?


Regards,<br />Joe<br /> <br />"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live."<br />--Martin Golding
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
Well to bypass the process of moving the single file to the QA environment, make a build, ftp the ear deploy it. Sometimes its just quicker to drop the class file in the exploded ear and restart the app. Its ugly I know, but its so darn easy sometimes
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
o, Joe as I hit submit, I realised that you were probably being a smart ass
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Go to the WebSphere Infocenter online (here is the link for 6.1: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp) and look for "Hot deployment". It will walk you through the process.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: replacing class files instead of new build