Spring

Spring Introduction-

Spring is by far the most pop­u­lar frame­work for Enter­prise and inter­net Java devel­op­ment today. In this java spring tuto­r­i­al will not only intro­duce you to the Spring Frame­work but some of the core fun­da­men­tals of how the frame­work itself oper­ates.

Lever­ag­ing Spring in a Java devel­op­ment shop will allow you to bet­ter focus on your busi­ness log­ic, improve your time to mar­ket, give you a sol­id foun­da­tion in open­source tech­nol­o­gy, as well as pre­pare you for cloud-data of appli­ca­tions.

We will start this course with an intro­duc­tion to the frame­work, and the IoC con­tain­er itself. From there, we will explain the var­i­ous ways to con­fig­ure the appli­ca­tion con­text.

We will focus most of our time on Java con­fig­u­ra­tion, as it is the mod­ern way, along with auto con­fig­u­ra­tion, to con­fig­ure your appli­ca­tion con­text. We will intro­duce the basics of XML con­fig­u­ra­tion to help sup­port your lega­cy needs. We will then dig into my sin­gle favorite top­ic in the Spring World. And that is the Spring life­cy­cle. As we dig into the Spring life­cy­cle, you will start to bet­ter under­stand how to lever­age the frame­work more to your advan­tage.

Under­stand­ing the life­cy­cle will also help you trou­bleshoot issues as your appli­ca­tion runs. Learn­ing more about the
frame­work will also help you if you desire to con­tribute to the frame­work itself. We will fin­ish up with a dis­cus­sion of lever­ag­ing Aspects in Spring appli­ca­tions.

Aspects are pow­er­ful tools for adding behav­ior to your appli­ca­tion in a re-usable way.

Prerequisite -

java spring tutorialIn order to be suc­cess­ful in this course, there are a few things that you need to know. First and fore­most, you need to have a good knowl­edge of the Java pro­gram­ming lan­guage.

Through­out this java spring tuto­r­i­al, I’m going to be using the 1 8 ver­sion of Java. You can use 1 7 and com­plete all of the exer­cis­es cor­rect­ly.

There will be a cou­ple times where I will use con­structs from the 1 8 ver­sion of Java. As such, when I use those land expres­sions specif­i­cal­ly, you will need to use the cor­re­spond­ing syn­tax that works in the 1 7 ver­sion of Java, if you choose to use that lev­el of the lan­guage.

I also ask that you have a basic under­stand­ing of Maven and specif­i­cal­ly depen­den­cy man­age­ment with Maven.
Now, while we’re not going to dig too deep into Maven itself, it’s what we’re going to use to down­load all of the depen­den­cies that we need in order to exe­cute all of the code exam­ples through­out this course.

I also expect you to be semi-famil­iar with your IDE. You don’t need to all the short­cuts and what­not but know­ing how the IDE works and how to run appli­ca­tions in your IDE will make exe­cut­ing the code exam­ples that much eas­i­er.