I need to read the installed applications on a Websphere server. Ideally there should also be possbile to open the ears and wars to read particular config files. Currently doing that by parsing the directory structure. Does anyone have a hint/sample about a more elegant solution?
You can read files inside JARs using Classloader.getResouceAsStream() assuming the JAR is in the class path. You cannot read files inside an EAR (only files inside JARs inside EARs) [ November 10, 2005: Message edited by: Scott Selikoff ]