spiros.blog()
Spiros Tzavellas’s blog, mostly on software development and Java.
Browse: Home / ejb

ejb

Using Dependency Injection in Struts2 for stateless EJBs part 2

By spiros on July 3, 2007

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 [...]

Posted in Java | Tagged ejb, guice, struts | 1 Response

Using Dependency Injection in Struts2 for stateless EJBs part 1

By spiros on July 3, 2007

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 [...]

Posted in Java | Tagged ejb, guice, struts

Dynamic Delegate

By spiros on October 24, 2005

Dynamic Delegate is my new pet project. Dynamic Delegate is a small library that allows you to create objects that implement the Business Delegate design pattern on the fly. You don’t have to code a Business Delegate. All you need to do, is make your EJBs implement the Business Interface design pattern and use DynamicDelegateFactory [...]

Posted in Java | Tagged ejb

Book Review: Core J2EE Design Patterns 2nd edition

By spiros on October 13, 2005

I read the Core J2EE Design Patterns 2nd edition in July 2005. Below I have written a review for this important book. Core J2EE Design Patterns is one of the most important books on the traditional J2EE application architecture. If you are programming J2EE systems that are heavily based on EJB 2.x then this book [...]

Posted in Java | Tagged book, design patterns, ejb, javaee

Caching in Service Locator implementations

By spiros on June 26, 2005

Here you can find an article by Bobby Woolf that describes why caching inside a Service Locator in J2EE 1.3 applications may have unexpected behavior. The article also provides a nice explanation of the EJB resource reference mechanism. Update (19/9/2005): BTW this is why the Adventure Builder (the sample application developed by SUN for J2EE [...]

Posted in Java | Tagged caching, design patterns, ejb

Pages

  • About
  • Projects

Categories

  • .Net
  • Agile
  • architecture
  • Databases
  • Firefox
  • Java
  • Javascript
  • Linux/Unix
  • Programming
  • Scala
  • Startups
  • Web

Tags

aop architecture aws book C# C/C++ caching circuit-breaker cloud clustering Databases dependency injection design patterns distributed eclipse EclipseLink ejb fp gc guice gwt hibernate Java javaee jhug jpa junit jvm maven mysql oop php podcast ruby Scala scalability scrum seam spring framework struts tools transactions web services wireless xml

Copyright © 2013 spiros.blog().

Powered by WordPress and Hybrid.