View Full Version : migrating from model 1 to spring...
dougp
Oct 31st, 2004, 09:19 PM
Do you have any suggestions for making the migration from a messy model 1 architecture to spring? Each use case seems to be implemented by a jsp, some use beans for data access, others make jdbc calls directly in the jsp. I'd like to partition the application into distinct logical layers.
Rod Johnson
Nov 1st, 2004, 02:42 AM
I would do it in stages. First stage is probably to pull out a properly structured middle tier, with service objects. This would include getting all JDBC code out of JSPs and in a DAO level beneath the service objects, using Spring JDBC.
Once you have a well-defined middle tier, you will find it easier to migrate to a Front Controller, and Spring's MVC web framework.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.