第1回「アスペクト指向の基礎とさまざまな実装」ではアスペクト指向とAOPの概要について解説したが、今回からはAOPのさまざまな実装を取り上げていきたい。まず始めに紹介するのはAspectJである。 AspectJはもともとXeroxのPalo Alto 研究所で開発されていたAOPの ...
ログインして、InfoQのすべての体験をアンロックしましょう!お気に入りの著者やトピックの最新情報を入手し、コンテンツと交流し、限定リソースをダウンロードできます。 “AI活用”をキーワードに「AIを使い倒し/使いこなす」企業の最前線をお届けし ...
ログインして、InfoQのすべての体験をアンロックしましょう!お気に入りの著者やトピックの最新情報を入手し、コンテンツと交流し、限定リソースをダウンロードできます。 クラウドコンピューティングの登場以降、ソフトウェア業界は大きな変革の中に ...
というコマンドを実行すると,図4[拡大表示]のようなインストーラが起動します。インストールが終わると,AspectJの実行に必要なライブラリが「C:\aspectj1.2」に展開されます*3。 (2)織り込む対象を用意する 次に,アスペクトを織り込む対象になる ...
ソフトウェア開発にはさまざまな横断的関心事があるが、AOPを説明する際によく取り上げられるのが「ロギング」という横断的関心事である。前回の記事でも少し触れたが、ログを取るという「関心事」はソフトウェア開発にとって非常に重要なものでは ...
The purpose of this blog entry is to show an extremely simple of example of “logging” entry into and exit from methods using the Spring Framework and AspectJ. The example is so simple that I won’t ...
In Part 1 of this three-part series on aspect-oriented programming (AOP), I introduced AOP concepts and briefly gave AOP implementation examples. Continuing that trend in this article, I present a ...
Before we can do any caching, we need something to cache. Here's a simple DataProvider class that has a couple of expensive operations in its interface: /** * @author adrian at aspectprogrammer.org * ...