站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 bate1 英文参考手册

Seam - Contextual Components - JBoss Seam 1.1.0 bate1 英文参考手册

Seam - Contextual Components

A Framework for Java EE 5

1.0.1.GA


Table of Contents

Introduction to JBoss Seam
1. Seam Tutorial
1.1. Try the examples
1.1.1. Running the examples on JBoss AS
1.1.2. Running the examples on Tomcat
1.1.3. Running the example tests
1.2. Your first Seam application: the registration example
1.2.1. Understanding the code
1.2.1.1. The entity bean: User.java
1.2.1.2. The stateless session bean class: RegisterAction.java
1.2.1.3. The session bean local interface: Register.java
1.2.1.4. The Seam component deployment descriptor: components.xml
1.2.1.5. The web deployment description: web.xml
1.2.1.6. The JSF configration: faces-config.xml
1.2.1.7. The EJB deployment descriptor: ejb-jar.xml
1.2.1.8. The EJB persistence deployment descriptor: persistence.xml
1.2.1.9. The view: register.jsp and registered.jsp
1.2.1.10. The EAR deployment descriptor: application.xml
1.2.2. How it works
1.3. Clickable lists in Seam: the messages example
1.3.1. Understanding the code
1.3.1.1. The entity bean: Message.java
1.3.1.2. The stateful session bean: MessageManagerBean.java
1.3.1.3. The session bean local interface: MessageManager.java
1.3.1.4. The view: messages.jsp
1.3.2. How it works
1.4. Seam and jBPM: the todo list example
1.4.1. Understanding the code
1.4.2. How it works
1.5. Seam pageflow: the numberguess example
1.5.1. Understanding the code
1.5.2. How it works
1.6. A complete Seam application: the Hotel Booking example
1.6.1. Introduction
1.6.2. Overview of the booking example
1.6.3. Understanding Seam conversations
1.6.4. The Seam UI control library
1.6.5. The Seam Debug Page
1.7. A complete application featuring Seam and jBPM: the DVD Store example
1.8. A complete application featuring Seam workspace management: the Issue Tracker example
1.9. An example of Seam with Hibernate: the Hibernate Booking example
1.10. A RESTful Seam application: the Blog example
1.10.1. Using "pull"-style MVC
1.10.2. Bookmarkable search results page
1.10.3. Using "push"-style MVC in a RESTful application
2. The contextual component model
2.1. Seam contexts
2.1.1. Stateless context
2.1.2. Event context
2.1.3. Page context
2.1.4. Conversation context
2.1.5. Session context
2.1.6. Business process context
2.1.7. Application context
2.1.8. Context variables
2.1.9. Context search priority
2.1.10. Concurrency model
2.2. Seam components
2.2.1. Stateless session beans
2.2.2. Stateful session beans
2.2.3. Entity beans
2.2.4. JavaBeans
2.2.5. Message-driven beans
2.2.6. Interception
2.2.7. Component names
2.2.8. Defining the component scope
2.2.9. Components with multiple roles
2.2.10. Built-in components
2.3. Configuring components
2.3.1. Configuring components via property settings
2.3.2. Configuring components via components.xml
2.3.3. Configurable property types
2.4. Bijection
2.5. Lifecycle methods
2.6. Logging
2.7. The Mutable interface
2.8. Factory and manager components
3. Events, interceptors and exception handling
3.1. Seam events
3.1.1. Page actions
3.1.1.1. Page parameters
3.1.2. Component-driven events
3.1.3. Contextual events
3.2. Seam interceptors
3.3. Managing exceptions
4. Conversations and workspace management
4.1. Seam's conversation model
4.2. Nested conversations
4.3. Starting conversations with GET requests
4.4. Using <s:link>
4.5. Success messages
4.6. Using an "explicit" conversation id
4.7. Workspace management
4.7.1. Workspace management and JSF navigation
4.7.2. Workspace management and jPDL pageflow
4.7.3. The conversation switcher
4.7.4. The conversation list
4.7.5. Breadcrumbs
4.8. Seam-managed persistence contexts and atomic conversations
4.9. Seam and AJAX
4.10. Seam and SOAP
5. Pageflows and business processes
5.1. Pageflow in Seam
5.1.1. The two navigation models
5.1.2. Seam and the back button
5.2. Using jPDL pageflows
5.2.1. Installing pageflows
5.2.2. Starting pageflows
5.2.3. Page nodes and transitions
5.2.4. Controlling the flow
5.2.5. Ending the flow
5.3. Business process management in Seam
5.4. Using jPDL business process definitions
5.4.1. Installing process definitions
5.4.2. Initializing actor ids
5.4.3. Initiating a business brocess
5.4.4. Task assignment
5.4.5. Task lists
5.4.6. Performing a task
6. Internationalization and themes
6.1. Locales
6.2. Labels
6.3. Faces messages
6.4. Timezones
6.5. Themes
6.6. Persisting locale and theme preferences via cookies
7. Asynchronicity and messaging
7.1. Asynchronicity
7.1.1. Asynchronous methods
7.1.2. Asynchronous events
7.2. Messaging in Seam
7.2.1. Configuration
7.2.2. Sending messages
7.2.3. Receiving messages using a message-driven bean
7.2.4. Receiving messages in the client
8. Remoting
8.1. Configuration
8.2. The "Seam" object
8.2.1. A Hello World example
8.2.2. Seam.Component
8.2.2.1. Seam.Component.newInstance()
8.2.2.2. Seam.Component.getInstance()
8.2.2.3. Seam.Component.getComponentName()
8.2.3. Seam.Remoting
8.2.3.1. Seam.Remoting.createType()
8.2.3.2. Seam.Remoting.getTypeName()
8.3. Client Interfaces
8.4. The Context
8.4.1. Setting and reading the Conversation ID
8.5. Batch Requests
8.6. Working with Data types
8.6.1. Primitives / Basic Types
8.6.1.1. String
8.6.1.2. Number
8.6.1.3. Boolean
8.6.2. JavaBeans
8.6.3. Dates and Times
8.6.4. Enums
8.6.5. Collections
8.6.5.1. Bags
8.6.5.2. Maps
8.7. Debugging
8.8. The Loading Message
8.8.1. Changing the message
8.8.2. Hiding the loading message
8.8.3. A Custom Loading Indicator
8.9. Controlling what data is returned
8.9.1. Constraining normal fields
8.9.2. Constraining Maps and Collections
8.9.3. Constraining objects of a specific type
8.9.4. Combining Constraints
8.10. JMS Messaging
8.10.1. Configuration
8.10.2. Subscribing to a JMS Topic
8.10.3. Unsubscribing from a Topic
8.10.4. Tuning the Polling Process
9. Seam and JBoss Rules
9.1. Installing rules
9.2. Using rules from a Seam component
9.3. Using rules from a jBPM process definition
10. JSF form validation in Seam
11. Configuring Seam
11.1. Basic Seam configuration
11.1.1. Integrating Seam with JSF and your servlet container
11.1.2. Integrating Seam with your EJB container
11.1.3. Enabling conversation propagation with redirects
11.2. Configuring Seam in Java EE 5
11.2.1. Packaging
11.3. Configuring Seam with the JBoss Embeddable EJB3 container
11.3.1. Installing the Embeddable EJB3 container
11.3.2. Configuring a datasource with the Embeddable EJB3 container
11.3.3. Packaging
11.4. Seam managed transactions
11.4.1. Enabling Seam-managed transactions
11.4.2. Using a Seam-managed persistence context
11.5. Configuring Seam with Hibernate in Java EE
11.5.1. Boostrapping Hibernate in Seam
11.5.2. Using a Seam-managed Hibernate Session
11.5.3. Packaging
11.6. Configuring Seam with Hibernate in Java SE
11.6.1. Using Hibernate and the JBoss Microcontainer
11.6.2. Packaging
11.7. Configuring jBPM in Seam
11.7.1. Packaging
11.8. Configuring Seam in a Portal
12. The Seam Application Framework
12.1. Introduction
12.2. Home objects
12.3. Query objects
12.4. Using Hibernate filters
13. Seam annotations
13.1. Annotations for component definition
13.2. Annotations for bijection
13.3. Annotations for component lifecycle methods
13.4. Annotations for context demarcation
13.5. Annotations for transaction demarcation
13.6. Annotations for exceptions
13.7. Annotations for validation
13.8. Annotations for Seam Remoting
13.9. Annotations for Seam interceptors
13.10. Annotations for asynchronicity
13.11. Annotations for use with JSF dataTable
13.12. Meta-annotations for databinding
14. Built-in Seam components
14.1. Context injection components
14.2. Utility components
14.3. Components for internationalization and themes
14.4. Components for controlling conversations
14.5. jBPM-related components
14.6. Security-related components
14.7. JMS-related components
14.8. Infrastructural components
14.9. Special components
15. Seam JSF controls
16. Expression language enhancements
16.1. Configuration
16.2. Usage
16.3. Limitations
16.3.1. Incompatibility with JSP 2.1
16.3.2. Calling a MethodExpression from Java code
17. Testing Seam applications
17.1. Unit testing Seam components
17.2. Integration testing Seam applications
18. Seam tools
18.1. jBPM designer and viewer
18.1.1. Business process designer
18.1.2. Pageflow viewer
18.2. CRUD-application generator
18.2.1. Creating a Hibernate configuration file
18.2.2. Creating a Hibernate Console configuration
18.2.3. Reverse engineering and code generation
18.2.3.1. Code Generation Launcher
18.2.3.2. Exporters
18.2.3.3. Generating and using the code