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.
Server we are using is Jboss.
thanks