Press releases

"AspectJ Cookbook": Even Lazy Developers Can Write and Design Better Software

Press release: January 6, 2005

Sebastopol, CA--"I'm a lazy software engineer in the best possible way," AspectJ expert Russ Miles admits shamelessly. "I hate doing something more than once. Ironically, this leads me to be a good designer because a good design is modular and flexible in the right places in order to support re-use and avoid writing software more than once. Aspect-oriented programming (AOP), and in particular AspectJ, allows me to design great software in ways that I never could before." Miles' new AspectJ Cookbook (O'Reilly, US $44.95) is for even the laziest of developers who want to get into AOP and write and design better software with less effort.

Many developers are interested in AOP, especially in AspectJ, the open source extension of the Java programming language that explicitly supports the AOP approach. "Early adopters of AOP and AspectJ are beginning to come out of the proverbial closet," reports Miles, "and as the techniques hit the mainstream, there is a definite need for an easy-to-read, practical guide to AspectJ."

Ideal for all levels of experience, "AspectJ Cookbook" shows readers how AOP is changing the way software is developed, and how they can use AspectJ to make code more modular, easier to develop, maintain, evolve, and deploy. Quick but in-depth and practical recipes deliver hands-on solutions to day-to-day design and programming problems using AOP's unique approach. Covering everything from pointcut declaration syntax right through to complex design pattern issues, the book includes:

  • Getting started with AOP
  • Integrating AspectJ with Eclipse, Ant, and the Java command-line tools
  • Deploying aspect-oriented applications as servlets, JSPs, web services, and more
  • Recipes on every facet of aspects, pointcuts, advice, and the core AOP constructs
  • Employing aspects in Java and J2EE design pattern implementations
  • Using AOP-specific design patterns to enhance existing Java applications
  • "I think it's quite likely that if AOP is not on your resume in the next couple of years, you most certainly will be struggling in the enterprise software development marketplace," warns Miles. "Truth be told, you may also be feeling a little left behind right across the software design and development board. But if you get up to speed with the theory and especially the practicalities right now, then you will have a definite advantage in the future. Plus your software will just work smarter--and who wouldn't want that?"

    "This book is the one that I would have wanted on my desk when I first picked up AspectJ, and it's also the one that I still use," says Miles. "I use these recipes on a daily basis."

    Additional Resources:

    AspectJ Cookbook
    Russ Miles
    ISBN: 0-596-00654-3, 331 pages, $44.95 US, $69.95 CA
    order@oreilly.com
    1-800-998-9938; 1-707-827-7000

    About O’Reilly

    O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

    Email a link to this press release