I'm just learning Websphere 8.5 and would like to know what is the simplest way to add a library, such as iText library so that it's available to all applications running on WAS.
I can see that both a Shared Library option is available in the Admin console and a some more advanced thing like "Business Level Application" which is made up of several assets.
What is the correct approach to achieve my goal ?
Thanks
Asked
Active
Viewed 5,441 times
0

Jacek Laskowski
- 72,696
- 27
- 242
- 420

Max Korn
- 275
- 7
- 18
1 Answers
2
You should not develop your applications with implicit dependencies which are in fact explicit. If the dependency is crucial for your application, it should be somehow marked as such.
With that said, there are two approaches in WebSphere - a shared library or OSGi bundle.
For the shared library concept, read Associating shared libraries with applications or modules.
If you use OSGi to develop your application(s), I'd recommend declare the dependencies in Application-Content of APPLICATION.MF and have them available in Internal or External bundle repositories.
I don't think BLA applies in your scenario, but would not be surprised to see how wrong I am.
p.s. Wonder why the question is tagged as websphere-7 since it refers to WebSphere 8.5?

Jacek Laskowski
- 72,696
- 27
- 242
- 420
-
Thanks for your reply. Well as a matter of fact I've tagged it as webpshere-7 since I couldn't find a webpshere-8 tag :) – Max Korn Sep 18 '12 at 13:05