Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic