I am developing a small java application which will parse xml data at the backend compare it with the given xsd schema.In the front end user can change the data and once again it will be saved in xml file which will be updated in BLOB field in db. The interface is in jsp and there is one Controller(Servlet) for the entire application. There are several bean class and models in which I have written the business logic. Now I am listening this Spring will make my work easier. I have perused various sites and tutorials but couldn't find any thing concrete.
So my question is this techonology can help me in developing my project and if yes then how?
I have already started developing and almost 50% of code is written. Can I still migrate to Spring?
The Spring Framework is all about abstraction. Abstracting the creation of objects/work flow etc.
One advantage in your case would be that you would not be forced to tie your application to a specific implementation of the business logic. You would also have the liberty of changing an implementation con figuratively as well.
You would be adding another layer but I feel the pros out weigh the cons.
For a small project the best choice is most likely not to use any framework (unless you want to use that project as an opportunity to learn the framework). If the work is already 50% done then the point in time to make implementation decisions is long gone - you should proceed on the path you're on.
@ulf:thanks for valuable suggestion. Can I migrate to Spring later after the project gets completed?
and @Rajkamal:I know about the cons of implementing new framework all over again. But can you tell me what will be the pros in a more specific way?
The project I am developing will be used by a customer and for a long period. They will also give the support and maintainance part it to me atleast for 2 years.