File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 256
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: 256
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: 256
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: 3879
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.
 
 
subject: replacing class files instead of new build
 
Similar Threads
Error with jar file
Fun runtime issues!
Referencing .class files in an Eclipse project
How to get ear file using ant., by replacing a class file in ear
Spring Testing woes