• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Is spring correct choice?

 
Ranch Hand
Posts: 51
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks in advance.
 
Ranch Hand
Posts: 454
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.


Cheers,
Rajkamal.
 
Master Rancher
Posts: 43045
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Vivek Kr Agrawal
Ranch Hand
Posts: 51
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic