Skip to content
  • Home
  • Blog
  • Talks
  • Projects
  • Contact

spiros.blog()

Spiros Tzavellas’s blog, mostly on software development and Java.

struts

Using Dependency Injection in Struts2 for stateless EJBs part 2

This is the second, and last part of the Using Dependency Injection in Struts2 for stateless EJBs series of posts. In this post I will present a utility class that can be used to make the creation of Guice bindings for EJB3s easier. Introducing EjbBinder Our goal is to make an easier API, specifically for […]

continue reading Using Dependency Injection in Struts2 for stateless EJBs part 2

Using Dependency Injection in Struts2 for stateless EJBs part 1

In this post I will present a way to use dependency injection of stateless session beans in Struts 2 actions using Guice. I will only write about EJB3, because they have simpler client lookup code, but you might be able to change the presented code to cover older versions of EJB. We will use off […]

continue reading Using Dependency Injection in Struts2 for stateless EJBs part 1
Proudly powered by WordPress | Theme: Aventurine by Kelly Dwan & Mel Choyce.