Hi,
I'm using JBoss Seam 1.2.1.GA. I've been trying to start an asynchronous 
process that send out notifications of an event in emaisl immediately the 
application starts up. This event may have already been configured during a 
previous run of the application.

The asyncrhronuous method also needs to have access to an EntityManager to read 
the details of the event and to a facelet-configured email template.

The problem is i don't know how to automatically invoke the asynchronous method 
before the first user even logs in and what scope to outject the list of 
recepients and data so that the email template can send it.

I've tried @Startup and @Scope(APPLICATION) but the contexts are not configured 
at that stage so i get a null pointer.

Any ideas?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067426#4067426

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067426
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to