> Oh, does more than one module need access to foo.jar?
> If not, put foo.jar and foo.properties in the module that
> needs it and your life will be easier.
No, multiple modules do not need access to foo.jar.
However, think of foo.jar as a third-party *.jar file.
The application that uses the third-party *.jar file must
provide a foo.properties file. My problem has been
getting the class in the third-party *.jar file to load
the foo.properties file I have provided.
> I am assuming you are searching for the properties file
> on the classpath. Is this assumption true? If so, which
> function are you using to do the search. They don't all
> work the same and the behavior varies if the EAR is
> expanded or not expanded.
Yes, and this is the method I am using:
FooFactoryClass.class.getResourceAsStream("foo.properties");
WebLogic does not expand the EAR file.
Perry Hoekstra
_______________________________________________
tclug-devel mailing list
tclug-devel at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-devel