SeamFramework.orgCommunity Documentation

Seam


1. Seam
1.1. Overview
I. Seam Configuration
2. Seam Config Introduction
2.1. Getting Started
2.2. The Princess Rescue Example
3. Seam Config XML provider
3.1. XML Namespaces
3.2. Adding, replacing and modifying beans
3.3. Applying annotations using XML
3.4. Configuring Fields
3.4.1. Initial Field Values
3.4.2. Inline Bean Declarations
3.5. Configuring methods
3.6. Configuring the bean constructor
3.7. Overriding the type of an injection point
3.8. Configuring Meta Annotations
3.9. Virtual Producer Fields
3.10. More Information
II. Seam Persistence
4. Seam Persistence Reference
4.1. Introduction
4.2. Getting Started
4.3. Transaction Management
4.3.1. Configuration
4.3.2. Declarative Transaction Management
4.4. Seam-managed persistence contexts
4.4.1. Using a Seam-managed persistence context with JPA
4.4.2. Seam-managed persistence contexts and atomic conversations
4.4.3. Using EL in EJB-QL/HQL
4.4.4. Setting up the EntityManager
III. Seam Servlet
Introduction
5. Installation
5.1. Maven dependency configuration
5.2. Pre-Servlet 3.0 configuration
6. Servlet event propagation
6.1. Servlet context lifecycle events
6.2. Application initialization
6.3. Servlet request lifecycle events
6.4. Servlet response lifecycle events
6.5. Servlet request context lifecycle events
6.6. Session lifecycle events
6.7. Session activation events
7. Injectable Servlet objects and request state
7.1. @Inject @RequestParam
7.2. @Inject @HeaderParam
7.3. @Inject ServletContext
7.4. @Inject ServletRequest / HttpServletRequest
7.5. @Inject ServletResponse / HttpServletResponse
7.6. @Inject HttpSession
7.7. @Inject HttpSessionStatus
7.8. @Inject @ContextPath
7.9. @Inject List<Cookie>
7.10. @Inject @CookieParam
7.11. @Inject @ServerInfo
7.12. @Inject @Principal
8. Exception handling: Seam Catch integration
8.1. Background
8.2. Defining a exception handler for a web request
9. Retrieving the BeanManager from the servlet context
IV. Seam Faces
Introduction
10. Installation
10.1. Maven dependency configuration
10.2. Pre-Servlet 3.0 configuration
11. Faces Events Propagation
11.1. JSF Phase events
11.1.1. Seam Faces Phase events
11.1.2. Phase events listing
11.2. JSF system events
11.2.1. Seam Faces System events
11.2.2. System events listing
11.2.3. Component system events
12. Faces Scoping Support
12.1. @RenderScoped
12.2. @Inject javax.faces.contet.Flash flash
12.3. @ViewScoped
13. Messages API
13.1. Adding Messages
13.2. Displaying pending messages
14. Faces Artifact Injection
14.1. @*Scoped and @Inject in Validators and Converters
14.2. @Inject'able Faces Artifacts
15. Seam Faces Components
15.1. Introduction
15.2. <s:validateForm>
15.3. <s:viewAction>
15.3.1. Motivation
15.3.2. Usage
15.3.3. View actions vs the PreRenderViewEvent
15.4. UI Input Container
V. Seam International
Introduction
16. Installation
17. Locales
17.1. Default Locale
17.2. User Locale
17.3. Available Locales
18. Timezones
18.1. Default TimeZone
18.2. User TimeZone
18.3. Available TimeZones
19. Messages
VI. Seam Catch
20. Seam Catch - Introduction
21. Seam Catch - Installation
21.1. Maven dependency configuration
22. Seam Catch - Usage
22.1. Exception handlers
22.2. Exception handler annotations
22.2.1. @HandlesExceptions
22.2.2. @Handles
22.3. Exception stack trace processing
22.4. Exception handler ordering
22.4.1. Traversal of exception type hierarchy
22.4.2. Handler precendence
22.5. APIs for exception information and flow control
22.5.1. CaughtException
22.5.2. ExceptionStack
23. Seam Catch - Framework Integration
23.1. Creating and Firing an ExceptionToCatch event
23.2. Default Handlers and Qualifiers
23.2.1. Default Handlers
23.2.2. Qualifiers
23.3. Supporting ServiceHandlers
Seam Catch - Glossary
VII. Seam Remoting
24. Seam Remoting - Basic Features
24.1. Configuration
24.1.1. Dynamic type loading
24.2. The "Seam" object
24.2.1. A Hello World example
24.2.2. Seam.createBean
24.3. The Context
24.3.1. Setting and reading the Conversation ID
24.3.2. Remote calls within the current conversation scope
24.4. Working with Data types
24.4.1. Primitives / Basic Types
24.4.2. JavaBeans
24.4.3. Dates and Times
24.4.4. Enums
24.4.5. Collections
24.5. Debugging
24.6. Handling Exceptions
24.7. The Loading Message
24.7.1. Changing the message
24.7.2. Hiding the loading message
24.7.3. A Custom Loading Indicator
24.8. Controlling what data is returned
24.8.1. Constraining normal fields
24.8.2. Constraining Maps and Collections
24.8.3. Constraining objects of a specific type
24.8.4. Combining Constraints
25. Seam Remoting - Model API
25.1. Introduction
25.2. Model Operations
25.3. Fetching a model
25.3.1. Fetching a bean value
25.4. Modifying model values
25.5. Expanding a model
25.6. Applying Changes
26. Seam Remoting - Bean Validation
26.1. Validating a single object
26.2. Validating a single property
26.3. Validating multiple objects and/or properties
26.4. Validation groups
26.5. Handling validation failures
VIII. Seam Rest
Introduction
27. Installation
27.1. Basics
27.2. Transitive dependencies
27.3. Registering JAX-RS components explicitly
28. Exception Handling
28.1. Seam Catch Integration
28.2. Declarative Exception Mapping
28.2.1. Annotation-based configuration
28.2.2. XML configuration
28.2.3. Declarative exception mapping processing
29. Bean Validation Integration
29.1. Validating HTTP requests
29.1.1. Validating entity body
29.1.2. Validating resource fields
29.1.3. Validating other method parameters
29.2. Validation configuration
29.3. Using validation groups
30. Templating support
30.1. Creating JAX-RS responses using templates
30.1.1. Accessing the model
30.2. Built-in support for templating engines
30.2.1. FreeMarker
30.2.2. Apache Velocity
30.2.3. Pluggable support for templating engines
30.2.4. Selecting prefered templating engine
31. RESTEasy Client Framework Integration
31.1. Using RESTEasy Client Framework with Seam REST
31.2. Manual ClientRequest API
31.3. ClientExecutor Configuration
32. Seam REST Dependencies
32.1. Transitive Dependencies
32.2. Optional dependencies
32.2.1. Seam Catch
32.2.2. Seam Config
32.2.3. FreeMarker
32.2.4. Apache Velocity
32.2.5. RESTEasy
IX. Seam Wicket
Introduction
33. Installation
34. Seam for Apache Wicket Features
34.1. Injection
34.2. Conversation Control
34.3. Conversation Propagation
X. Seam Solder
35. Getting Started
35.1. Maven dependency configuration
35.2. Transitive dependencies
35.3. Pre-Servlet 3.0 configuration
36. Enhancements to the CDI Programming Model
36.1. Preventing a class from being processed
36.1.1. @Veto
36.1.2. @Requires
36.2. @Exact
36.3. @Client
36.4. Named packages
36.5. @FullyQualified bean names
37. Annotation Literals
38. Evaluating Unified EL
39. Resource Loading
39.1. Extending the resource loader
40. Logging
41. Annotation and AnnotatedType Utilities
41.1. Annotated Type Builder
41.2. Annotation Instance Provider
41.3. Annotation Inspector
41.4. Synthetic Qualifiers
41.5. Reflection Utilities
42. Obtaining a reference to the BeanManager
43. Bean Utilities
44. Properties
44.1. Working with properties
44.2. Querying for properties
44.3. Property Criteria
44.3.1. AnnotatedPropertyCriteria
44.3.2. NamedPropertyCriteria
44.3.3. TypedPropertyCriteria
44.3.4. Creating a custom property criteria
44.4. Fetching the results
45. Unwrapping Producer Methods
46. Default Beans
47. Generic Beans
47.1. Using generic beans
47.2. Defining Generic Beans
48. Service Handler