I've heard of this rule but never seen anyone follow it.  They'd mostly
make threads/thread pools and just make sure they were shut down when the
application was shut down.  So my advice is to follow the intent of the law
(shutdown your threads) rather than follow the letter of the law.

Nik

On Mon, Sep 8, 2014 at 3:54 PM, Tasha <tasha....@gmail.com> wrote:

> Hi all,
>
>
>
> As you know, ElasticSearch relies a lot on multi-threading.
>
>
>
> I'm currently using ES in a Java EE 6 application (using the node client
> as pure client node) and the Java EE specifications state that classic
> thread creation (à la "new Thread() { @Override public void run() {}}") is
> actually forbidden.
>
>
>
> I know that it is working, at least on the application servers I know, but
> I'm wondering what the ES teams says to this dilemma.
>
>
>
> After all, doing something "illegal" against the specs might become
> blocked/impossible in the future (not likely in this case) and it might
> also cause strange side-effects on application servers.
>
>
>
> Your opinions?
>
>
>
> Best,
>
> Tasha
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/aa786741-30fa-4ee8-a3ad-7e3b007b74de%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/aa786741-30fa-4ee8-a3ad-7e3b007b74de%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0spoH2rskq5dBP4h8qE_c1xjyiY-s2p7aC%2Begrhs2zNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to