• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

IBM 484: Common utility classes used by different apps

Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a question in the trial whizlabs J2EE 484 simulator which I would like to discuss it here.
Moderator(s): In case there are any copyright issues, please feel free to delete this post.
Q6. You have many enterprise applications that share some utility classes packed in a JAR file.Which of the following would be the best way to place the JAR file?
1. Place it in the system classpath
2. Place it in the WEB-INF/lib folder of each application.
3. Add it to each ear file and reference it in the manifest classpaths of the modules using it.
4. Specify it in the classpath element of the application.xml file
Answer: 3
I didn't read the J2EE specs but isn't option 1 the more common practice?...
The explanation says that option 1 is also correct but it requires a reboot of the server,hence it is not preferred.
[ May 06, 2004: Message edited by: Vishwa Kumba ]
Squanch that. And squanch this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!