In Websphere, it is possible to create a "Shared Libraries" and associate with applications. I would want to know, in terms of position in classpath, what's the position of the shared libs are added? That means, I want to know, in case of duplicated resources, which will have higher "priority" to be loaded, Shared Libraries or the EAR/WAR itself.
For example, assume in my application, I have a resources called appConfig.xml, and I am creating a local directory in the app server, putting another appConfig.xml in that directory. If I tries to load the resources (e.g. open input stream) in my app, which file will be loaded?
I have searched for a while and can find nowhere mentioning this. Though I can try it out by myself by experimenting, I would want to know the official expected behavior, if any.
Thanks a lot