A few good Guice Tutorials
I came across these rather good Guice tutorials in trying to find a way to integrate Google Guice in an application server (EJB3).
Part 1: a quick intro.
Part 2: method interceptors.
This was the tricky one, how to inject EJB's which are created by the container without having to have every class extend a base class with a @PostConstruct annotated method to do the injecting. The solution was to use the new interceptors introduced into JEE 5.
Part 3 – Integrating Guice with EJB
If you want a little background, see EJB Interceptors.
Part 1: a quick intro.
Part 2: method interceptors.
This was the tricky one, how to inject EJB's which are created by the container without having to have every class extend a base class with a @PostConstruct annotated method to do the injecting. The solution was to use the new interceptors introduced into JEE 5.
Part 3 – Integrating Guice with EJB
If you want a little background, see EJB Interceptors.
Comments
Post a Comment