RE: init-properties in ejb

2001-10-02 Thread Mark Phelps
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

Re: init-properties in ejb

2001-10-02 Thread Christophe Marchand
. 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

RE: init-properties in ejb

2001-10-02 Thread Mark Phelps
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() );