Your question is not very clear, but maybe you refer to JSR 236 for Java EE.
Elasticsearch was never designed to run as a container managed Java EE component in a Java EE container, so the question about thread creation is unrelated. If you want to use an ES client from within a Java EE container, start a node client or transport client as a singleton, and stop it when the service stops. Can you be more specific about "strange side effects on application servers"? Jörg On Mon, Sep 8, 2014 at 9: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/CAKdsXoFwxuEEZ0h_WPr5S4JSFKbQjzNEW1osdi6edMVC32_nKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.