Refactor Architecture by Tiers
Increasing architectural sophistication requires changing the localization of data access logic and processing logic
Move Data Access code logically and/or physically closer to the actual data source. Move processing logic out of the client and presentation tiers into the business tier.
For further information see page 116 of Core J2EE Patterns