A JSF Session Scope Custom Solution

Keith Shakib Consulting, Java, Problem Solving, Technology Snapshot 10 Comments

As a software consultant, I very rarely end up in a situation where I am asked to implement something new from scratch, and even rarer is the request to come in and enhance an existing piece of code that is well-designed and beautifully written. The request I received on my last project is much more the norm: “We have several …

Code Design Decision – Protecting Delegate Access?

David Pitt Architecture, Consulting, Problem Solving Leave a Comment

I ran into a design decision on one my engagements. Consider an abstract class implementation that references another (delegate) object. Convenience methods are in the primary class that are called by concrete classes. This pattern can also exist in a concrete that delegates to another implementation. This is a common idiom applied to the service/dao pattern, where a DAO delegate would never …