Leanpub Header

Skip to main content

Learning Spring by Example

Spring Inversion of Control(IoC),Spring Dependency Injection(DI),Spring beans,scopes,Annotations,XML,Bean Lifecycle,Spring AOP,Spring Transaction management,Pointcuts,Expression Language(EL),Exception handling,Aspects,Load time weaving(LTW),Spring Junit,JDBC Templates,Hibernate Template,JPATemplates,Creating custom scopes and namespaces.

Minimum price

$7.99

$8.99

You pay

$8.99

Author earns

$7.19
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
111
Readers
About

About

About the Book

This is a book about components of Spring framework. It distills much of what I have learned from developing enterprise applications with Spring framework, guiding usage of the components of Spring that I most frequently encounter in practice and on discussion forums. This book provides a brief overview of these components by taking you through each concept with the help of an example. My goals in writing this book are to guide developers who are unfamiliar with Spring framework, and to supply a convenient reference to more seasoned developers.

Share this book

Categories

Author

About the Author

Nitin Prabhu

Experienced Lead (Full Stack) platform engineer/developer with a track record of transforming critical web based systems for commercial and government clients. Experienced agile practitioner accustomed to supporting critical services and applications as well as implementing systems and solutions in complex technical environments.

Infrastructure and operations

● Contributed to the building of micro data centre using Docker and Rancher which enabled developers to test their services in an exact live replica. This helped developers and QA team to deliver functionalities in less time and resolve issues such as inconsistent test data, broken environments and network related issues.

● Contributed to design and build of cloud-native PaaS, Adoption of Azure AKS and Helm charts.

● Accelerated deploy frequency and lowered costs. Pushing through key apps for the MOJ Reform programme(10,000 releases to production 700

releases/month).

● Proficient with container systems like Docker and container orchestration like Kubernetes.

Solutions Architecture

● Designed and implemented large enterprise systems for large organization using Java and Open source frameworks for Unix Environments which helped customers to save costs by moving from proprietary technologies to open source solutions.

● Provided user requirements analysis, design and programming support for enhancement of Web application accessed by more than 1 million users

Contents

Table of Contents

Chapter 1:Introduction to Spring

  • Introduction to Spring
  • Introduction to Inversion of Control(IoC)
  • Introduction to Dependency Injection(DI)

Chapter 2:Dependency in detail

  • Bean Inheritance
  • Using static factory for creating beans
  • Using custom factory method for creating beans
  • Lookup method injection
  • Using Spring API for DI
  • Namespaces

Chapter 3:More about Spring

  • New features of Spring 3.0 and 3.1
  • Lifecycle of beans managed by container
  • Managing events in Spring environment
  • Creating custom scopes in Spring
  • Creating custom namespaces in Spring

Chapter 4:Aspect Oriented Programming

  • Introduction to AOP
  • Whats is an Aspect?
  • Spring support for AOP
  • Spring and AspectJ relationship
  • Pointcuts,Joinpoints and other terminologies
  • Different types of Aspects

Chapter 5:Managing transactions

  • Define Spring's data access support
  • Configuring database resources
  • Working with Spring JDBC templates
  • Using Spring with Hibernate and JPA

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub