Hi oskar/wolfc I have tried both options suggested by you but it is not working. Following is the code of my stateless bean
| @Service | @Stateless | @Remote(ConfigService.class) | @Local(ConfigService.class) | public class ConfigServiceBean implements ConfigService { | | | @PostConstruct | public void test(){ | System.out.println("Called test...."); | } | | /** | *some methods inside this bean | **/ | } | The method test() is not getting called when it is deployed. Server i am using is Jboss 4.2.1 GA. The method is getting called when first request is sent to the bean. Please let me know if i miss something. Please help me. Thanks, Pavan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140454#4140454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140454 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user