Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

web application class loader problem

 
dx wu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which two a true regarding a web application class loader?
A. A web application may override the web container's implementation classes.
B. A web application running in a J2EE product may override classes in the javax.* namespace.
C. A web application class load may NOT override any classes in the java.* and javax.* namespaces.
D.Resources int the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2EE semantics of getResource.
E.Resources in the WAR class directory or in any of the JAR files within the library directory CANNOT be accessed using the J2EE semantics of getResource.

waiting fo some answers,thanks!
 
Rodrigo Dinis
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hard question, but I think the corrects are:

D.Resources int the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2EE semantics of getResource.

B. A web application running in a J2EE product may override classes in the javax.* namespace.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!