Paolo Barolat wrote:
> 
> Hello,
> 
> I have successfully gotten the Jonas server up and running. I am now
> reading a book on Enterprise Java Beans.   In one of the examples in the
> book, information used in the bean is stored in a text file.  When the
> program runs, it makes the following call to get access to this
> information (where ctx is the SessionContext, passed in the function
> setSessionContext):
> 
> Properties props = ctx.getEnvironment();
> 
> My question is this: in Jonas, how do you tell your Enterprise Java Bean
> that there is a file that has properties that you want read when you
> make the above call?  Thanks,
> 

The enterprise bean's properties are defined in its deployment descriptor.

Regards.
-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to