Reputation: 11
I have a requirement to manage in a single WLS node a stack like this:
--------- Level 1 -----------
Application A:
It's a listener of TCP streaming buffers => it (almost) never changes
--------- Level 2 -----------
Application B:
It has the logic to route different TCP streams to various application modules in level 3 (based on patterns in the TCP stream) => It varies upon configuration and not redeployment
--------- Level 3 -----------
Application(s) C,D,E...:
They contain logic to transform raw TCP bytes in Java Beans. Each Application manages its own packets and is standalone respect to the other applications at the same level.
The requirement are that:
Upvotes: 1
Views: 185
Reputation: 31371
If each App at level 3 is independent but still has to have common classloader (and share libraries of level 2), I suggest:
Create common JAR/EAR for level 2 and deploy it as a shared library as described here. http://download.oracle.com/docs/cd/E11035_01/wls100/programming/libraries.html#wp1071514
If the multiple apps at level 3 have stuff in common and are not meant to be independent modules, bundle them into a single EAR else keep them as independent JARs
Upvotes: 1