Hi,

We wish to use commons-logging in our enterprise project, where the frontend is 
powered by struts framework.

All our struts related code is in xxxWeb folder under which we have various packages 
containing classes extending from Formbeans and Actions. Action classes call business 
delegates which are under xxxJava folder.  xxxJava folder contains various packages 
which consist of delegator and helper classes. Delegator further interacts with a 
business controller which is a proxy to make calls to EJBController. EJBController 
further interacts with session/entity beans.

We have log4j.properties currently in xxxWeb/classes/log4j.properties. 

Questions

1. Do I need to include commons-logging.jar in all the packages for compilation 
dependencies and in server classpath for runtime? If Yes, then what all dependent 
files I need to include along with commons-logging?

2. Do I need to have different copies of log4j.properties in different layers as they 
may run on different JVM or even different machines altogether?

I'll really appreciate if someone can give directions to correctly implement 
commons-logging package in an Enterprise Application.

We are currently using WSAD 4.0.3 (Eclipse+ Stand alone WAS server). Application will 
be deployed on WAS4.0.

Thanks,

Samip.



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

Reply via email to