Hi everyone,

I feel like this question should have an easy answer, and it may be more of
a Java question than an ND question, but I hope you can help me out.

I have some variables that I would like to initialize in the onAfterInit
event of a project. I would then like those variables to be accessible from
various places in my application (a 3-tiered application using business
beans in the first 2 layers). Is the best way to do this to make the
variables themselves private and then have public accessor functions to the
project class that the other pages, beans, etc. can use? Alternatively, I'd
actually like to populate these variables whenever the server itself gets
restarted. I didn't know if this was possible however. Would the way to do
that be to create an entirely separate project that would populate these
variables and gets pre-loaded by the server on startup?

Thanks for your help in advance,
Beth


-------------------------------------------------------------------------
Beth Elicia Finn                              Competitive Media Reporting
Applications Developer                              1385 Enterprise Drive
[EMAIL PROTECTED]                                      West Chester, PA 19380
http://www.cmr.com/                                        (610) 430-6404

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to