Hi man, put it in the env-entry of your EJB and go for JMX...it's worth and it will make your application more configurable..... and you don't need to restart the server every time u want to change it..
br marco > -----Original Message----- > From: ext Krishnakumar N [mailto:[EMAIL PROTECTED] > Sent: 12 June, 2003 11:38 > To: [EMAIL PROTECTED] > Subject: Re: Runtime parameters to ejbs > > > > -----Original Message----- > > From: Krishnakumar N > > Sent: Thursday, June 12, 2003 1:57 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: Runtime parameters to ejbs > > > > > > yes, I can put this info in the database, but this info is > > essential for the application startup, so I have a bootstrap > > problem: If the info changes, how can I bring the application > > up so that I am able to access the pages which update the > > database info. > > > > Anyway, for now, I have passed this info as JVM command line > > parameters ( -Dproperty=value ), hoping that I will not come > > across an application server which makes that mechanism difficult. > > > > Cheers, > > Krishna > > > > > -----Original Message----- > > > From: Ashwani Kalra [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, June 12, 2003 1:16 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: Runtime parameters to ejbs > > > > > > > > > > > > Only alternative I can think of is Database with the kind of > > > requirements > > > you have. > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Cheers > > > Ashwani Kalra > > > http://www.geocities.com/ashwani_kalra/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > Krishnakumar N > > > <[EMAIL PROTECTED] To: > > > [EMAIL PROTECTED] > > > GROUP.COM> cc: > > > (bcc: ashwani.kalra/Polaris) > > > Sent by: A mailing list Subject: > > > Runtime parameters to ejbs > > > for Enterprise JavaBeans > > > development > > > <[EMAIL PROTECTED] > > > M> > > > > > > > > > 06/11/2003 05:16 PM > > > Please respond to > > > Krishnakumar N > > > > > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > I would like to pass some runtime parameters to the > > > ejbs. As I see > > > it, there are three methods of doing it, (a) thru <env-entry> > > > elements in > > > the DDs, (2) thru resource bundles or (3) -Dproperty=value > > parameters > > > passed > > > to the command line. > > > Since these parameters are very dynamic, I would like to be > > > able change the > > > values easily without unpacking and repacking the ear like in > > > option #1 and > > > #2 above. But some application servers may not expose the > > java startup > > > script, so #3 may not be possible in some cases? > > > > > > Any thoughts? > > > > > > Cheers, > > > Krishna > > > > > > ============================================================== > > > ============= > > > 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". > > ==========================================================================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".