Just do a JNDI lookup for an environment variable you set as a property of
the object in the container.

Dave Wolf
Internet Applications Division


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of NVS Rama Krishna
> Sent: Wednesday, August 23, 2000 7:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: EJB accessing/using files.
>
>
> u can accept the message as an arguement to the mailing Bussiness
> Method ...
> well! i dont see any problem in it ...
>       all the best
>
> krishna
> ----- Original Message -----
> From: Kaj Bjurman <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 23, 2000 7:04 AM
> Subject: EJB accessing/using files.
>
>
> > Hi,
> >
> > I have to create an EJB which should send an e-mail, and the
> message-text
> > won't be available from a database.
> >
> > Since an EJB can't perform disc-IO I have the following questions:
> >
> > Where should I store the message text?
> > Can I put it in a text-file? And if I can, how do I access that
> file? Are
> > there techniques for this?
> >
> > We are using Weblogic, and I have seen that they have something called
> > T3FileInputStream, but I would like to avoid vendor specific classes.
> >
> > Thanks
> > /Kaj
> >
> >
> > ~~~~~~~~~ ~~~~ ~~~ ~~ ~ ~  ~   ~
> > [EMAIL PROTECTED]
> > +46 70 4200148
> >
> >
> ==================================================================
> =========
> > 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".

Reply via email to