阅读背景:

如何在部署期间调用无状态EJB中的方法?

来源:互联网 

How can i tell a application server to call a method in my stateless ejb so that I can print some message during deployment. If I annotate the method with @PostConstruct then it is not working. I also added static block still not working. I dont want to use MBean. Also my ear does not have any web project. So I can not use any servlet and its init method to print such messages.How can i tell a application server to call a m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: