レベルエンター山本大のブログ

面白いプログラミング教育を若い人たちに

BLOCKVROCKリファレンス目次はこちら

翻訳

Wicket Examples ■Wicket Features

Wicketの特徴 ※ 最近Guiceと共に気に入ってるWicketの公式サンプル解説を訳します。 Wicket (http://wicket.sourceforge.net)

Wicket Examples ■Hello World!

WicketのHelloWorldサンプルのチュートリアル HelloWorld demonstrates the basic structure of a web application in Wicket. A Label component is used to display a message on the home page for the application. このHelloWorldはWicketを使ったWebア…

Wicket Examples ■Navomatic

WicketのNavomaticサンプルのチュートリアル オートマティックナビゲーション、ナボマティック ?? Navomatic The Navomatic application shows the use of border components and links to create a navigation component that can easily be dropped into…

Wicket Examples ■GuestBook Application

WicketのGuestBookサンプルのチュートリアル GuestBook The GuestBook application allows users to enter comments that appear on a page like a weblog. Drawing the list of comments is very easy with the Wicket ListView component. This example al…

Guice User's Guide ■15. Annotations With Attributes

属性つきのアノテーションIf you can get by with marker annotations alone, feel free to skip to the next section.もし、あなたがマーカーアノテーションだけでやっていくことができるなら、遠慮なく次のセクションまでスキップしてください。You can al…

Guice User's Guide ■1. Introduction 

導入The enterprise Java community exerts a lot of effort toward wiring objects together. How does your web application get access to a middle tier service, or your service to the logged in user or transaction manager? You'll find many gene…

Guice User's Guide ■4. Dependency Injection with Guice

Guiceを使ったDependency Injection(依存性の注入)Writing factories and dependency injection logic by hand for every service and client can become tedious. Some other dependency injection frameworks even require you to explicitly map servic…

Guice User's Guide ■3. Dependency Injection By Hand

手作業でのDependency InjectionThe dependency injection pattern aims in part to make unit testing easier. We don't necessarily need a specialized framework to practice dependency injection. You can get roughly 80% of the benefit writing cod…

Guice User's Guide ■2. Plain Old Factories

プレーン・オールド・ファクトリーBefore we discovered dependency injection, we mostly used the factory pattern. In addition to the service interface, you have a service factory which provides the service to clients as well as a way for test…

Guice User's Guide ■Java on Guice

Guice 1.0 User's GuideGuice (pronounced "juice") is an ultra-lightweight, next-generation dependency injection container for Java 5 and later.Guiceは、超軽量の次世代Dependency Injectionコンテナで、Java 5以降で動きます。 id:shot6さんが一覧…

Guice User's Guide ■8. Startup

起動時You configure Guice by implementing Module. You pass Guice a module, Guice passes your module a Binder, and your module uses the binder to configure bindings. A binding most commonly consists of a mapping between an interface and a c…

Guice User's Guide ■7. Architectural Overview

アーキテクチャの概要We can break Guice's architecture down into two distinct stages: startup and runtime. You build an Injector during startup and use it to inject objects at runtime.Guiceのアーキテクチャは、2つの別々のステージに分離するこ…

Guice User's Guide ■6. More Annotations

その他のアノテーションWhen possible, Guice enables you to use annotations in lieu of explicit bindings and eliminate even more boilerplate code. Back to our example, if you need an interface to simplify unit testing but you don't care abou…

Guice User's Guide ■5. Guice vs. Dependency Injection By Hand

Guice vs. お手製DIAs you can see, Guice saves you from having to write factory classes. You don't have to write explicit code wiring clients to their dependencies. If you forget to provide a dependency, Guice fails at startup. Guice handle…