Torrent Downloads » Books » Ebooks » Mastering AspectJ: Aspect Oriented Programming in Java {purestevil}release
Ebooks
Mastering AspectJ: Aspect Oriented Programming in Java {purestevil}release
Torrent info
Torrent Files List
Torrent description
Mastering AspectJ: Aspect-Oriented Programming in Java
INFORMATION:
Author(s) : Joseph D. Gradecki, Nicholas Lesiecki
Publisher : Wiley Publishing, Inc.
Date : 459
Pages : 2003
Format : PDF
ISBN : 0471431044
Most applications, particularly enterprise-level applications, are not one module of code that exists in a single file. Applications are collections of modules that work together to provide some desired functionality defined by a set of requirements. Theoretically, developers can create modules that contain discrete functions; so a security module and a login module might be combined with an HTTP module to create a Web server application. Due to the nature of object-oriented tools and languages, however, this ideal of modular programming is seldom realized. Instead, developers are often forced to create modules that have mixed goals; a single function such as logging in a user might actually be distributed among several modules in an application. This is the case with the Apache Web server, for example; 37 of its 43 modules contain code that handles user login. This practice leads to tangled code that is more prone to errors and is difficult to debug, refactor, document, and support. The goal of aspect-oriented programming (AOP) is to solve these types of development problems. AOP emphasizes the creation of aspects, which are modules that centralize distributed functionality. To put AOP theory into practice, the Palo Alto Research Center (PARC) created AspectJ. AspectJ is an open-source language that functions as an extension to Java. AspectJ is 100- percent compatible with Java: AspectJ’s aspects work side by side with Java classes to deliver a comprehensive application. Benefits of using AspectJ with Java include:
* Less tangled code
* Shorter code
* Easier application maintenance and evolution
* Applications that are easier to debug, refactor, and modify
* Code that is more reusable—developers can create libraries of aspects in much the same way they already create libraries of objects in OOP