Imho if you're not dealing with transactions of security/etc (i.e.
enterprise level services) in the spawned thread then you're absolutely
safe. Some (all?) app servers use custom Thread classes to put
security/transaction info there. Now your own thread doesn't contain
this info, so jndi/security/etc may not work there. But you should be
very careful not to dead lock the whole server :-)

Regarding file io, it can be safe like the above one but it's not
enterprise level or a very scalable mechanism.

Ara.

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development [mailto:EJB-
> [EMAIL PROTECTED]] On Behalf Of Sven E. van �t Veer
> Sent: Wednesday, July 24, 2002 9:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: FW: Is Exec() allowed in EJB
> 
> > You state, very clearly, the reason for these restrictions when
> > you say "I don't
> > want or need the overhead of transactions". It is the very lack
> > of transactional
> > integrity that makes file IO "unacceptable". The fact that you
> > cheat and make it
> > work does not change this fact.
> >
> So, basically it boils down to this. Any (enterprise) application that
has
> the need for writing to flat-files (brazilian banks just love
flat-files)
> can not be an EJB application or need some separate appliaction to do
this
> work for me. I guess I�m not the only one that, every now and then,
needs
> to
> read or write some info to or from a disc.
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.377 / Virus Database: 211 - Release Date: 15/7/2002
> 
>
========================================================================
==
> =
> 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