We originally developed a stand alone
Java application that used things like javax.mail.Session.getInstance(sysprops, null) and DriverManager.getConnection(url, user, password) but since we wanted to prevent having things like mail host and database name hardcoded within our EAR file, we decided to try to use launchclient so we could use resource references and/or JNDI names.
However, the only way we can get launchclient to work successfully on WebSphere is to have a client-resource.xmi that basically defines everything that is set up in WebSphere's Application Server, including the hard coded mail host and database name. This makes it extremely difficult for us to give our client an ear file because every time they want to change these values, they have to change them in more than one place and changing client-resource.xmi is not that easy to do.
We were able to get launchclient to work without client-resource.xmi locally using WSAD. Is there any way to not use client-resource.xmi with WebSphere and not have these values hardcoded in our ear file?
Thanks,
Jennifer