yes, note that "name" doesn't need "java", the namespace is a "lookup"
thing.

personally I would recommand you to stay away from default resources since
you have no idea how it will behave at runtime and I would just ensure to
name correctly each resource I use.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le lun. 16 juil. 2018 à 15:57, clemensx <[email protected]> a écrit :

> Many thanks for the fast and detailed answer!
>
> Do I understand correctly that I can simply use the default name in the
> resource.xml to extend the thread pool and should be able to use it
> everywhere I used to access the default service with default settings?
> @Resource(name="java:comp/DefaultManagedExecutorService"
>
> That would be perfectly fitting to our needs.
>
> Thanks!
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>

Reply via email to