lhernandez.nearsoft
lhernandez@nearsoft.com
luishvz
The purpose of this presentation give a very basic introduction to the core concepts of Spring and the experience of using it during this year.
Spring is a framework that helps you to "wire" different components together.
The Spring Framework is a Java platform that provides comprehensive infrastructure support for developing Java applications. Spring handles the infrastructure so you can focus on your application.
Is a scaffold that let you build applications around it. Instead of writing something from scratch, you basically just extend a given, working application.
You ask for "apple".
You can ask for "fruit".
With IoC
Without IoC
Don’t call me, I’ll call you
In order to use it you need to insert your behavior into various places in the framework. The framework's code then calls your code at these points
Dependency Injection (Inversion of Control)
Spring's declarative transaction management
Spring MVC web application and RESTful web service framework
Foundational support for JDBC, JPA, JMS
@Component
@Controller
@Repository
@Service
Spring makes this process easier by taking most of the work on its shoulders, so now you can just concentrate on writing your code and let Spring do the rest for you.
Just a lot of magic sometimes.
Find the way that suits best for you and learn something else besides classes material, workshops, presentations, etc.