You could define the strings as environment variables in the
DeploymentDescriptor for your beans.
Rick
At 02:53 PM 10/15/99 -0500, Shawn McKisson wrote:
>As opposed to hardcoding a query string inside a bean, can anyone suggest
>a good
>method for getting SQL into the ejbLoad and ejbStore methods?
>
>I've considered property files and reading from a file, but there is some
>administration overhead that deals with wich queries belong to which
>beans/methods.
>
>Should I use the database to store database queries?
>
>Has anyone written a tool that addresses this "problem"?
>
>Thanks.
>
>--shawn
>
>===========================================================================
>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".
_______________________________________________________________
Rick Mangi Tel: (212) 972-2030
Thaumaturgix, Inc. Fax: (212) 972-2003
317 Madison Avenue, Suite 1615 [EMAIL PROTECTED]
New York, NY 10017 http://www.tgix.com
thau'ma-tur-gy, n. the working of miracles
"You can only see what you thought you knew" - j. wilson
_______________________________________________________________
===========================================================================
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".