Spring 2.5 Aspect Oriented Programming

Create dynamic, feature-rich, and robust enterprise applications using the Spring framework
Preview in Mapt

Spring 2.5 Aspect Oriented Programming

Massimiliano Dessì

Create dynamic, feature-rich, and robust enterprise applications using the Spring framework
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99 p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Spring 2.5 Aspect Oriented Programming Book Cover
Spring 2.5 Aspect Oriented Programming
$ 23.99
$ 16.80
Reactive Programming in Spring 5.0 Book Cover
Reactive Programming in Spring 5.0
$ 39.99
$ 28.00
Buy 2 for $34.30
Save $29.68
Add to Cart

Book Details

ISBN 139781847194022
Paperback332 pages

Book Description

Developing powerful web applications with clean, manageable code makes the maintenance process much easier. Aspect-Oriented Programming (AOP) is the easiest and quickest way to achieve such results. Spring is the only Java framework to offer AOP features. The combined power of Spring and AOP gives a powerful and flexible platform to develop and maintain feature-rich web applications quickly.

This book will help you to write clean, manageable code for your Java applications quickly, utilizing the combined power of Spring and AOP. You will master the concepts of AOP by developing several real-life AOP-based applications with the Spring Framework, implementing the basic components of Spring AOP: Advice, Joinpoint, Pointcut, and Advisor.

This book will teach you everything you need to know to use AOP with Spring. It starts by explaining the AOP features of Spring and then moves ahead with configuring Spring AOP and using its core classes, with lot of examples. It moves on to explain the AspectJ support in Spring. Then you will develop a three-layered example web application designed with Domain-Driven Design (DDD) and built with Test-Driven Development methodology using the full potential of AOP for security, concurrency, caching, and transactions.

Table of Contents

Chapter 1: Understanding AOP Concepts
Limits of object-oriented programming
The AOP solution
What Spring provides in terms of AOP
AOP with IoC in Spring 2.5
Summary
Chapter 2: Spring AOP Components
Aspect
Pointcut
Operations on Pointcut
Joinpoint
Advice
Advisor
Introductions
Summary
Chapter 3: Spring AOP Proxies
Proxy
JDK proxy
CGLIB proxy
Creating proxies programmatically
ProxyFactoryBean
Autoproxy
Target sources
Summary
Chapter 4: AspectJ Support
AspectJ annotations
XML Schema-based configuration
Recipes
AspectJ weaving in Spring
Summary
Chapter 5: Design with AOP
Concurrency with AOP
Transparent caching with AOP
Security with AOP
Summary
Chapter 6: Three-tier Spring Application, Domain-Driven Design
Domain-Driven Design
Sample application
Summary
Chapter 7: Three-tier Spring Application, Tests and AOP
Application layer and user interface
Test
AOP
Summary
Chapter 8: Develop with AOP Tools
Java Development Kit
Spring
Eclipse
Eclipse plug-ins (Linux, MacOSX, and Windows)
Apache Tomcat
PostgreSQL
Summary

What You Will Learn

  • Learn how Aspect-Oriented Programming can support Object-Oriented Programming to solve problems in the implementation phase
  • Write clean and concise code by implementing concurrency control in cross-cutting functionalities to manage code easily and create applications quickly
  • Realize a dynamic proxy with JDK, by implementing an interface that manages invocations
  • Realize the structural behavior of the pattern proxy design pattern by applying the crosscutting concerns of security, logging, and transactionality to specific Joinpoints
  • Simplify applying Advices through using AspectJ annotations
  • Develop better applications by handling important functionalities such as transaction management, application logging, exception management, and layout
  • Learn how the AOP enabled by the Spring Framework and Inversion of Control (IoC), can help you to remove the implementation compromises in applications
  • Authors

    Table of Contents

    Chapter 1: Understanding AOP Concepts
    Limits of object-oriented programming
    The AOP solution
    What Spring provides in terms of AOP
    AOP with IoC in Spring 2.5
    Summary
    Chapter 2: Spring AOP Components
    Aspect
    Pointcut
    Operations on Pointcut
    Joinpoint
    Advice
    Advisor
    Introductions
    Summary
    Chapter 3: Spring AOP Proxies
    Proxy
    JDK proxy
    CGLIB proxy
    Creating proxies programmatically
    ProxyFactoryBean
    Autoproxy
    Target sources
    Summary
    Chapter 4: AspectJ Support
    AspectJ annotations
    XML Schema-based configuration
    Recipes
    AspectJ weaving in Spring
    Summary
    Chapter 5: Design with AOP
    Concurrency with AOP
    Transparent caching with AOP
    Security with AOP
    Summary
    Chapter 6: Three-tier Spring Application, Domain-Driven Design
    Domain-Driven Design
    Sample application
    Summary
    Chapter 7: Three-tier Spring Application, Tests and AOP
    Application layer and user interface
    Test
    AOP
    Summary
    Chapter 8: Develop with AOP Tools
    Java Development Kit
    Spring
    Eclipse
    Eclipse plug-ins (Linux, MacOSX, and Windows)
    Apache Tomcat
    PostgreSQL
    Summary

    Book Details

    ISBN 139781847194022
    Paperback332 pages
    Read More

    Read More Reviews

    Recommended for You

    Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to Book Cover
    Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
    $ 19.99
    $ 14.00
    Expert Cube Development with Microsoft SQL Server 2008 Analysis Services Book Cover
    Expert Cube Development with Microsoft SQL Server 2008 Analysis Services
    $ 29.99
    $ 21.00
    Enhancing Microsoft Content Management Server with ASP.NET 2.0 Book Cover
    Enhancing Microsoft Content Management Server with ASP.NET 2.0
    $ 22.99
    $ 16.10
    Agile IT Security Implementation Methodology Book Cover
    Agile IT Security Implementation Methodology
    $ 11.99
    $ 8.40
    Visual Studio 2010 Best Practices Book Cover
    Visual Studio 2010 Best Practices
    $ 23.99
    $ 16.80
    SDL Game Development Book Cover
    SDL Game Development
    $ 26.99
    $ 18.90