Hi, this question is very similar to enthuware.oce-jpad.v6.1.343, which says a class in a PU in war is not visible to a class in the PU in the ejb jar file.
But in this question , why the class in /lib/some.jar is visible to the war file in the .ear ?
What is the difference between these two cases?
About Question enthuware.oce-jpad.v6.1.344 :
Moderator: admin
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
-
- Site Admin
- Posts: 10113
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.1.344 :
In the two questions the PUs are defined at different levels. In 344, you have a PU in ear and one in war. The PU in ear will be accessible to all.
In 343, you have one PU in war and one in ejb-jar. They will not be accessible to each other.
Also, please read the explanation carefully, it explains this.
In 343, you have one PU in war and one in ejb-jar. They will not be accessible to each other.
Also, please read the explanation carefully, it explains this.
If you like our products and services, please help us by posting your review here.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.1.344 :
Hi, thanks for the clarification.
In 344, the PU is in some.jar in lib directory of ear. This PU is considered to be in the ear level because of it is in lib directory of ear ? (Those jar files in lib directory is called "third party jar", which serves as a utility for other .jar/.war modules.)
In 343, the PU is in forumejb.jar along with forum.war in .ear . This PU is not considered to be in the ear level because it is not in the lib directory (or any other directory) in the ear ?
In 344, the PU is in some.jar in lib directory of ear. This PU is considered to be in the ear level because of it is in lib directory of ear ? (Those jar files in lib directory is called "third party jar", which serves as a utility for other .jar/.war modules.)
In 343, the PU is in forumejb.jar along with forum.war in .ear . This PU is not considered to be in the ear level because it is not in the lib directory (or any other directory) in the ear ?
-
- Site Admin
- Posts: 10113
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.1.344 :
That is correct.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 16 guests