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

design patterns

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

Implementing Hibernate DAOs

By spiros on September 20, 2005

Christian Bauer at the Hibernate team blog has written an improved version of the DAOs of the Caveat Emptor application of the Hibernate in Action book. This new versions will probably be included in the second edition of the book. The new DAOs are implemented in Java 5 using generics and other Java 5 features. [...]

Posted in Java | Tagged design patterns, hibernate

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

Refactoring from Template Method to Strategy can reduce code duplication in unit tests

By spiros on May 26, 2005

Ivan Moore has a great post “Replacing Inheritance with Composition” at his blog, that explains how when you refactor your code from using Template Method to using Strategy can reduce the code duplication in your unit tests and also make your tests simpler. Both patterns, template method and strategy, try to solve the same problem. [...]

Posted in Java | Tagged design patterns, junit, oop

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 © 2012 spiros.blog().

Powered by WordPress and Hybrid.