![]() |
BX Land
Home to all things Bruce Grant
|
|
![]() |
Author: Bruce Grant, Jr. (BX)
Published: February 13, 2010
Adopting JPA, JSF and JBoss Richfaces
Giving bxgrant.com a face lift - JPA Migration
It's time to move bxgrant.com forward in time with JPA, JSF and JBoss Rich Faces. This article explains how I've begun the effort by migrating to JPA from iBatis and highlites the benefit of clean, simple, enterprise architectures which make doing this piece-meal update possible. Look for future articles on JSF and Richfaces
Of course, no sooner than I finish documenting how my website works, it's time to change it. I've done some big applications using JPA, JSF and Richfaces and every time I switch back to change bxgrant.com I feel a bit of dread at dealing with these older approaches. So, it's time to give it an update.
I have some friends who wonder why I pay so much attention to the architectural and design patterns I use. They feel like it's overkill in today's world. They remark how productive they can be with PHP or Python. I get it. I've spent some time now with Python and I definitely see its benefits and I will still say that there's no substitute for future-proofing the applications you create. You can adopt a scripting language and also have the discipline to maintain a clean separation between the logical tiers of functionality in your application. If you will adopt sound abstractions that physically separate the tiers of your application then you can successfully replace any single piece of your architecture without affecting the other tiers of your application. In a previous blog entry I documented the architecture of this web site. Perhaps the single most important design decision I made was to separate the functionality into logical groupings and ensure that each tier remained physically distinct from the others. I used the Spring Inversion of Control container to enforce this by only allowing interfaces with no dependencies on any other libraries to be injected into the various tiers that needed access to the functionality from another tier. It's time to get down to the details of the migration. Lets start with an architectural diagram of the state of the website before I began changing it. ![]()
Comments
Be the first to add a comment.
Add a Comment
|
|

























