2001 11:43 AM
To: JRun-Talk
Subject: Re: init-properties in ejb
Ok, this is correct for datasource objects.
But I have other bean-specific information that I want deployers to let
parameter.
Defining them in a .properties file isn't a good solution (read-write
static fields in EJB should be
.
Thanks a lot
PS : as You can imagine, it is a BMP entity bean... ;-))
- Original Message -
From: "Mark Phelps" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 6:14 PM
Subject: RE: init-properties in ejb
> Here is anothe
Here is another code snippet showing how we connect to our data source.
Note the "jdbc" in the JNDI name string.
Also note that we are retrieving a DataSource object not a String.
try
{
System.setSecurityManager( new RMISecurityManager() );