tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: war packaged exclusions.list
Date Sun, 22 Jul 2012 08:08:41 GMT
look  http://openejb.apache.org/singleton-beans.html  part "Startup and
Startup Ordering"
the idea is to keep you postconstruct of bean B associated with startup
then instead of doing your stuff in postconstruct you delegate to a bean A
which is in dependson of B and you call the method populate() of A which is
a business method async.

- Romain


2012/7/22 zeeman <hamzah0@fastmail.us>

> Could you show a simple two-class example? I just wanna be sure I follow
> what
> you're saying as I have tried multiple things and nothing worked. I just
> confirmed after printing thread IDs, that DB loading is blocking which
> explains why I never saw any startup speed up.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-packaged-exclusions-list-tp4656366p4656474.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message