aspose file tools*
The moose likes Spring and the fly likes why use Spring? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "why use Spring?" Watch "why use Spring?" New topic
Author

why use Spring?

Sandeep P Parmar
Greenhorn

Joined: Oct 20, 2009
Posts: 5
Hello Experts,
I am new to spring and want to know advantages of using spring framework. I will be using spring to migrate our existing web application which is in java applet with JDBC (no framework). Since it is very old application.

I want to know what good a framework like spring would do to my Java applet application. And what will be the strong enough reason to migrate from legacy application to Spring?

I would appreciate your participation as approval for spring framework is dependent on my analysis.

Thank you in advance.

-sp
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

I will be using spring to migrate our existing web application which is in java applet with JDBC (no framework).

Why would you migrate it using Spring if you don't know what Spring can offer ?

Spring has a nice JDBC template which allows you to remove a lot of JDBC-related boiler plate code. But, is it worth doing it now...


[My Blog]
All roads lead to JavaRanch
Sandeep P Parmar
Greenhorn

Joined: Oct 20, 2009
Posts: 5
Christophe Verré wrote:
I will be using spring to migrate our existing web application which is in java applet with JDBC (no framework).

Why would you migrate it using Spring if you don't know what Spring can offer ?

Spring has a nice JDBC template which allows you to remove a lot of JDBC-related boiler plate code. But, is it worth doing it now...



Hi Chris,
The whole purpose behind this exercise is to know the benefits of Spring Framework. What would spring offer that current application can not? Thanks for JDBC template point. Do I have any other strong reasons to migrate?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Testability and extensibility via IoC/DI, greatly simplified transaction handling.

But if it's an actual applet... I don't know. Don't applets run completely on the client machine? Wouldn't that mean having to download the entire Spring dependency tree? Only a one-time hit, perhaps, but still.

Why do you think you want to change it? It'd be a lot of work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why use Spring?