About Question enthuware.oce-jpad.v6.1.344 :

Moderator: admin

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

About Question enthuware.oce-jpad.v6.1.344 :

Post by himaiMinh »

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?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.1.344 :

Post by admin »

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.
If you like our products and services, please help us by posting your review here.

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.1.344 :

Post by himaiMinh »

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 ?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.1.344 :

Post by admin »

That is correct.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests