SeamFramework.orgCommunity Documentation

Introduzione a Web Beans

Il nuovo standard Java per la dependency injection e la gestione contestuale dello stato


I. Using contextual objects
1. Iniziare con Web Beans
1.1. Il primo Web Bean
1.2. Cosa è un Web Bean?
1.2.1. API types, binding types and dependency injection
1.2.2. Tipi di deploy
1.2.3. Scope
1.2.4. Web Bean names and Unified EL
1.2.5. Interceptor binding types
1.3. What kinds of objects can be Web Beans?
1.3.1. Simple Web Beans
1.3.2. Enterprise Web Beans
1.3.3. Producer methods
1.3.4. JMS endpoints
2. Esempio di applicazione web JSF
3. The Web Beans Reference Implementation
3.1. Esempio di indovina-numeri
3.2. Esempio di traduttore
4. Dependency injection
4.1. Binding annotations
4.1.1. Binding annotations with members
4.1.2. Combinations of binding annnotations
4.1.3. Binding annotations and producer methods
4.1.4. The default binding type
4.2. Deployment types
4.2.1. Enabling deployment types
4.2.2. Deployment type precedence
4.2.3. Example deployment types
4.3. Fixing unsatisfied dependencies
4.4. Client proxies
4.5. Obtaining a Web Bean by programatic lookup
4.6. Lifecycle callbacks, @Resource, @EJB and @PersistenceContext
4.7. The InjectionPoint object
5. Scopes and contexts
5.1. Scope types
5.2. Built-in scopes
5.3. The conversation scope
5.3.1. Conversation demarcation
5.3.2. Conversation propagation
5.3.3. Conversation timeout
5.4. The dependent pseudo-scope
5.4.1. The @New annotation
6. Metodi produttori
6.1. Scope di un metodo produttore
6.2. Iniezione nei metodi produttori
6.3. Use of @New with producer methods
II. Developing loosely-coupled code
7. Gli interceptor
7.1. Interceptor bindings
7.2. Implementing interceptors
7.3. Enabling interceptors
7.4. Interceptor bindings with members
7.5. Multiple interceptor binding annotations
7.6. Interceptor binding type inheritance
7.7. Use of @Interceptors
8. Decoratori
8.1. Attributi delegate
8.2. Abilitare i decoratori
9. Eventi
9.1. Osservatori di eventi
9.2. Produttori di eventi
9.3. Registering observers dynamically
9.4. Event bindings with members
9.5. Multiple event bindings
9.6. Osservatori transazionali
III. Making the most of strong typing
10. Stereotipi
10.1. Default scope and deployment type for a stereotype
10.2. Restricting scope and type with a stereotype
10.3. Interceptor bindings for stereotypes
10.4. Name defaulting with stereotypes
10.5. Stereotipi standard
11. Specializzazione
11.1. Usare la specializzazione
11.2. Vantaggi della specializzazione
12. Definire i Web Beans tramite XML
12.1. Dichiarare classi Web Bean
12.2. Dichiarare metadati Web Bean
12.3. Dichiarare membri Web Bean
12.4. Declaring inline Web Beans
12.5. Uso di uno schema
IV. Web Beans and the Java EE ecosystem
13. Integrazione Java EE
13.1. Iniettare risorse Java EE in un Web Bean
13.2. Chiamare un Web Bean da un servlet
13.3. Chiamare un Web Bean da un Message-Driven Bean
13.4. Endpoint JMS
13.5. Packaging and deployment
14. Estendere i Web Beans
14.1. L'oggetto Manager
14.2. La classe Bean
14.3. L'interfaccia Context
15. Prossimi passi
A. Integrating the Web Beans RI into other environments
A.1. The Web Beans RI SPI
A.2. The contract with the container