What's the best way to execute some code upon deployment. I need to do a bit of 
validation on some data in the database each time my application is deployed or 
started. I know of one way to do this: use the service architecure of jboss 
(@Service)

I don't really like this solution as it is JBoss specific. Is there another 
way? Could the EJB Timer service be used somehow? If so, how would I 
automatically get the timer fired? Can that be setup in a descriptor file?

Thanks.

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

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

Reply via email to