I have a similar concern... My properties need to be
modified by non-technical users and I don't want them
to mess up my XML files.

The option I choose is to violates the EJB rules and
load the properties file manually.

I hope there is a better way to do it. Maybe XInclude
(an XML-related spec in development at W3C) would help
us in the future.

(actually, if you're using WebLogic, you can also add
your properties to the weblogic.properties as java
system properties. this way, you don't need to read a
file in your ejb)

hope it helps,
Charles

--- Andreetto Angelo <[EMAIL PROTECTED]>
wrote:
> .... why not to describe these propertyes in the
> XMLDescriptor? So each time
> this EJB rises up it loads them.
>
> -----Original Message-----
> From: Wenhui Bai at YSD [mailto:[EMAIL PROTECTED]]
> Sent: marted�, 24. luglio 2001 06:38
> To: [EMAIL PROTECTED]
> Subject: About property files
>
>
> Hi all,
>
> Could anybody kindly give me a light?:-)
>
> May I bundle some property files with my ejbs, so I
> can use them in my ejbs?
> I know that it's not allowed to operate on file in
> ejbs according EJB's
> specification.
>
> Thanks in advance.
> Wenhui
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff EJB-INTEREST".  For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>
>
==========================================================================To
> unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST".  For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to