| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
6 comments so far (post your own) View All Comments Latest 10 Comments:Excellent tutrial i have ever got
Posted by Pintu on Monday, 04.6.09 @ 17:07pm | #86555
Good question. In simple words:
If you want to use any framework (e.g. Struts, Hibernate, etc...) within your application, your code has to use the API provided by that framework. This makes your code that framework dependent. Spring minimizes this by rather injecting such dependencies into your application (As you go on declaring various configurations in XML files). Hence your application code is much cleaner.
That's why Rod Johnson et al. say: "Application code written as part of a Spring application can be run without Spring or any other container", yet it's not 100% freedom. E.g. for writing Spring MVC, your handler/controller has to extend one of the controllers (AbstractController) & implement "handleRequestInternal()" method that returns ModelAndView object. That's the reason why they also say: "Lock-in to Spring is <b>minimized</b>".
Thus, not only Spring code, but also any code (preferably AOP, Transaction, Security related) can be injected. This makes your application code look cleaner. (but at the same time highly configured in the background).
However, in my opinion, every new framework/technology has proclaimed to have offered to allow developer focus on business logic but only forthcoming time will reveal the truth. Because just like how people used to dream of paperless office during computer era which ironically has proven a myth as the paper usage has increased dramatically causing more & more trees chopped.
So let's wait & watch whether this Frameworks proliferation end up in making a developers' life more miserable or let them focus on business logic.
Anup Jani.
Posted by Anup Jani on Saturday, 11.15.08 @ 18:29pm | #81706
Dependency Injection is a form of IoC that removes explicit dependence on container APIs; The two major flavors of Dependency Injection are Setter Injection (injection via JavaBean setters); and Constructor Injection (injection via constructor arguments). Spring provides sophisticated support for both, and even allows you to mix the two when configuring the one object.
Posted by Yogesh on Thursday, 08.14.08 @ 11:31am | #72792
I love to read RoseIndia tutorials. The content is Excellent for all Technologies. My small suggestion is that few spelling mistakes are found in the tutorial. Example if you open the spring tutorial, the Title of the page spells incorrect, like "Sping Architecture", and in the Spring Architecture the first line has a spelling mistake."Spring is grate framework". Apart from few spelling mistakes the Rose India Tutorials are Excellent.
Posted by kishore on Wednesday, 07.30.08 @ 10:17am | #69917
spring framework explanation is Excellent.
Posted by spandana on Wednesday, 05.28.08 @ 11:42am | #61254
I didn't get clearly wht is dependency injuction,could u please explain me clearly
Posted by jyothi on Friday, 05.2.08 @ 15:48pm | #58372