How to improve the design of this java project


Currently I am dealing with a java software which is bad written. It has a lot of jsp files. These jsp files have mostly java codes inside and they even call database connection and do some transaction directly. This project also has data models, controllers, but I just doesn't understand why they put so many business logic inside jsp files. Anyone can give me a suggestion on how to improve its design? These project is huge and has no ejbs. It is basicly MVC models. Should I use Struts, or Spring, or anything to make it less bugs and improve performance? Thanks.

Who is Participating?
Siva Prasanna KumarConnect With a Mentor Principal Solutions ArchitectCommented:
I think going with struts is a good idea not only it improves the performance but it will clearly differentiate the MVC Model and also Produces more reliable and Maintainable version of code.

Even Thou i am new to spring i think it is much more powerful then Struts especially the concepts like IoC, AOP are very good but learning curve seems to be big.

As such many good eclipse plugins are available for struts development and now infact netbeans 5.0 directly comes with struts support.

Thank You.
ly_uwoAuthor Commented:
thanks, I know a little bit about struts. spring is complete new to me
ly_uwoAuthor Commented:
Thanks. One thing is that this project make database connection everywhere, even in jsps. Any idea on how to make the database call managed well? There is already a model layer there (like DAO).
Mayank SAssociate Director - Product EngineeringCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.