Hi all,

I'm working on a project using EJBs (an area I'm fairly new to). From my
initial investigation
I am presented with a problem/concern that I could do with some advise on:

Problem : The EJB spec states that you can not reference files/ file
handles.

Issue 1: Loading the properties file
  Does this mean that I will have to use the
PropertyConfigurator.configure(URL) method to 
  initialise my Logger Wrapper class. If so this will mean that I can not
watch for changes as
  the configureandwatch method requires a file name. Any Ideas how I can
change the properties without
  restarting the webserver?

Issue 2: Writing log to file from EJB container
  What is the best way to write my logs to a file from the EJB container and
bean using my logger wrapper. 
  I'm currently thinking of using the socketappender to write to another
process that can access files. 
  Any suggestions

General: Are there any other EJB issues I should be aware of that I have
missed.

regards

Andy Foster
  


___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the SchlumbergerSema Helpdesk 
by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to