works if your EJB is @LocalBean Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber
2015-11-16 6:33 GMT-08:00 Rentius <rentius2407...@gmail.com>: > Hi Romain > > See below attached project. It is a very simple project, just to try and get > the handler to inject the EJB > It is a rest call that takes a code, if the code is 1 throw an exception > which triggers the exception handler. > > ScratchPad-1.war > <http://tomee-openejb.979440.n4.nabble.com/file/n4676797/ScratchPad-1.war> > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Injecting-EJB-into-Rest-Exception-Handler-tp4676781p4676797.html > Sent from the TomEE Dev mailing list archive at Nabble.com.