You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2012/11/30 16:53:40 UTC
org.apache.openejb.config.MergeWebappJndiContext???
Hi guys,
didnt shock me when we did it but now it does ;):
org.apache.openejb.config.MergeWebappJndiContext is pretty bad
i don't have time now to have a look but on apps with a lot of EJBs (>
550 in my case) the startup was blocking inside
solutions i think about are:
1) (bad one but not that expensive) parallelize it
2) try to get all the info in the mode (JndiEnc...) and avoid this class
wdyt? anybody with some time to have a look?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
Re: org.apache.openejb.config.MergeWebappJndiContext???
Posted by Romain Manni-Bucau <rm...@gmail.com>.
forgot to mention it is slow and we call it twice -->
org.apache.openejb.config.AnnotationDeployer#deploy
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2012/11/30 Romain Manni-Bucau <rm...@gmail.com>:
> Hi guys,
>
> didnt shock me when we did it but now it does ;):
> org.apache.openejb.config.MergeWebappJndiContext is pretty bad
>
> i don't have time now to have a look but on apps with a lot of EJBs (>
> 550 in my case) the startup was blocking inside
>
> solutions i think about are:
>
> 1) (bad one but not that expensive) parallelize it
> 2) try to get all the info in the mode (JndiEnc...) and avoid this class
>
>
> wdyt? anybody with some time to have a look?
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau