tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zeeman <hamz...@fastmail.us>
Subject Re: war packaged exclusions.list
Date Sat, 21 Jul 2012 23:28:13 GMT
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
View raw message