FindBugsを使うと、Javaの危険なバグを特定し、修正することができます。そのユニークな機能は、Javaの世界に数ある静的分析ツールのなかでも異彩を放っています。FindBugsのどこがどう特別なのか、この記事で解き明かすことにします。
本記事は2005年に執筆されたものです。Spring、DI、AOP全般の最新情報は@IT Java Solutuionのカテゴリ「DI×AOP(Spring/Seasarなど)」をご参照ください。 前回「DI:依存性の注入とは何か?」では、Springフレームワークの簡単なサンプルを通じて「Dependency Injection(依存性の注入、以下DI)」とは何かを解説しました。しかし前回の内容では、Springフレームワークの中核機能の一部分を説明したにすぎません。Springフレームワークはさまざまな機能を提供するフレームワークです。今回はSpringフレームワークの設計思想と、その思想を特徴付ける機能のいくつかを紹介し、Springフレームワークがどのようなフレームワークなのかを紹介します。 Springフレームワークの設計思想 Springフレームワークの設計思想は、(いまやJa
Latest version 0.8.6 for Eclipse 3.2, 3.3, 3.4, 3.5 [2011/10/17] Version 0.8.6 for Eclipse 3.2, 3.3, 3.4, 3.5 Released.[2011/10/17] [0.8.6] Changed a exception handler of djUnit class loader. [Fixed bug] Mojibake of djUnit class loader message. [Fixed bug] SWT's "no more handles" occurs. [Fixed bug] Coverage target line(finally clause) bug with asm1.5.x. Bytecode process was improved. Version 0.8.
アメリカではほとんどデフェクトスタンダードとなっている「Spring Framework」の覚書きです。Spring は簡単に言うと、IoC (制御の反転)、またの名を DI (依存性注入) という仕組みを取り入れた軽量コンテナです。 Springは MVCフレームワークを提供しています。Springのフレームワークは、すべてインターフェースベースになっているので、単一継承の JAVA にとっては非常にありがたいものです。Spring MVC の View には、JSP の他、Velocity、XSLT、JSFなどといったさまざまな技術が使えます。 Validation 機能は、Web システムにとって非常に重要なものとなっています。Springでは、 Validation は Web パッケージと切り離されているので、単体テストも簡単に出来るようになっています。 Springの詳細につい
Javaを使ったWebアプリケーションフレームワークのデファクトスタンダードのひとつとしてStrutsを挙げることができる。しかし、複雑化するWebアプリケーションの潮流において、XML設定ファイルが膨れ上がりやすく、アクションクラスが多数になりやすいStrutsだけではWebアプリケーションフレームワークとしては不十分な面があることも指摘されている。 現状、Strutsに代わる次世代のWebアプリケーションフレームワークとして決定版というものはない。どのWebアプリケーションフレームワークにも特徴がある。それぞれのプロジェクトが目的に応じてWebアプリケーションフレームワークを選択したり、場合によっては複数のWebアプリケーションフレームワークを組み合わせながら活用している状況にある。 開発者やアーキテクチャ向けにStrutsの実用的なソリューションをソースコードとともに解説した書籍とし
lib/log4j/ これらのJARをクラスパスに通します。 IoCを試す ではさっそく作っていきましょう。まずは基本のIoCな機能をためします。 テスト用のビーンとインターフェイス まず、今回繰り返し使う、簡単なビーンとインターフェイスを作ります。 IFoo.java package bean; public interface IFoo { void doSomething(); } Foo.java package bean; public class Foo implements IFoo{ private String message = ""; public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } publ
This domain may be for sale!
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く