> Really?
> awt uses threads, and a big part of the applets are coded like this
>
> public class MyApplet extends Applet implements Runnable {
> public void init() {
> // ...
> Thread t = new Thread(this);
> t.start();
> }
>
> public void run() {
> // perform nice animation
> }
> }
>
> Am I missing something?
Yes. AWT runs in a different security domain than the Applet, it can use
threads, I/O, the works.
Many Applets including those I write use threads, not all browsers are
nice about it (I had my share of problems with Netscape). Appletviewer
is open to anything, IE 4.0 has a configurable policy (you can
allow/prevent thread creation).
arkin
>
> JB.
>
> >
> > * EJB
> > * Servlet
> > * Java embedded in other containers (like DB)
> >
> > arkin
> >
> > Laird Nelson wrote:
> > >
> > > Eric Williams wrote:
> > > > And the EJB specification writers had to enable vendors to offer
> > > > advanced
> > > > products based on the specification (eg, EJB implemented *in* a
> > > > database, or a
> > > > multi-VM shared-memory approach, etc.)... some of which are incompatible
> > > > with
> > > > threads or file I/O.
> > >
> > > Something here bothered me and I just got it: if java.lang.Thread is
> > > part of the core Java language (as implemented by every VM, including
> > > Oracle's "advanced product" in-database VM), then how could you have an
> > > "advanced product" that is incompatible with it?
> > >
> > > Cheers,
> > > Laird
> > >
> > > ===========================================================================
> > > 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".
>
> --
> Jean-Baptiste Nizet
> [EMAIL PROTECTED]
>
> R&D Engineer, S1 Belgium
> Excelsiorlaan 87
> B-1930 Zaventem
> +32 2 714 45 42
>
> ===========================================================================
> 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".
--
----------------------------------------------------------------------
Assaf Arkin www.exoffice.com
CTO, Exoffice Technologies, Inc. www.exolab.org
===========================================================================
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".