This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I defined @PostConstruct method in my backing bean and I am using JBossInjectionProvider for handling PostConstruct. I defined a filter to catch all the errors/exceptions thrown by the application. In my PostConstruct method, I am trying to fetch the details from the database. If any error/runtime exception is thrown, I assumed that it will be catched by the filter but looks like JBossInjectionProvider is catching a Throwable instance. So, even if an error is thrown from the PostConstruct method, it is being catched by PostConstruct and it is trying to just ignore the error. Please let me know if you have any ideas for making filter to catch the Throwable instance instead of handling by PostConstruct.