[jboss-user] [Installation, Configuration & DEPLOYMENT] - Intercepting deployment of EJBs

dsteinwe do-not-reply at jboss.com
Thu Jan 22 07:17:16 EST 2009


Hi,

I've annotated my EJBs also with some own custom annotations. These annotations reference to values in my database. Instead of writing a database script that updates the database to the changed java code (and annotations), I would prefer a more automatic update: When an EJB class gets analysed on deployment I would intercept this process. The interceptor should analyse my own annotations and update the database automatically.

Unfortunately, I've no idea to solve this problem with jboss-5. I expect to solve this with aop, but how?

It maybe a cool feature for EJB3.1. The "@StartUp" annotation - currently only planned for singleton beans - should also be allowed for all kinds of EJBs but only for methods.

Cheers Dieter

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203972



More information about the jboss-user mailing list