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 Sat, 21 Jul 2012 23:47:55 GMT
Should postconstruct be async? Not sure. Tx mgt is optional too i guess (to
check).
Le 22 juil. 2012 01:28, "zeeman" <hamzah0@fastmail.us> a écrit :

> Is my setup of exclusions correct?
>
> The only extra thing I have is DB population, which should run in
> background
> non-blocking, right?
>
> My class looks like this:
>
> @Singleton
> @Startup
> public class DBLoader implements Serializable {
>         @Asynchronous
>         @TransactionAttribute
>         @PostConstruct
>         public void setup() {
>         //populate DB, index data with Lucene, should not block
> }
> }
>
> The only explanation is that the code is not running Async. I know on Jboss
> there was a bug in @Async implementation, had to get jBoss guys to fix it.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-packaged-exclusions-list-tp4656366p4656468.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

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