With the environment, seam's example is also running, read the Seam_reference in the first chapter of the following several examples to explain:
The registration example
The Messages example
The Todo list example
The numberguess example
And in Azolla's website to find Seam_reference2.0 's Chinese documents, mainly to see the "The contextual Component Model" chapter, after reading the most important place of seam is its contextual component Model, but after reading this chapter is only a general understanding of seam, on its specific content, details of the lack of further understanding of its advantages, shortcomings are also lack of further understanding.
And then found the "Seam in Action" ebook, read a little later still feel that this ebook is written well, the content is organized well, unlike the seam_reference after the chapter is just a list of Seam features.
Take a cursory look at the first chapter of seam in action today and summarize the contents of the first chapter as follows:
1, what is seam
In the seam in action, seam is not called the web framework, but it is called the application stack. Seam blends technologies such as EJB3, JSF, Jpa/hibernate, and Jaas in Java EE to provide easier ways to use, such as conversation, page flows, buisness precesses, rule-based Security, JavaScript (Ajax) remoting, PDF rendering, email portfolio, charting, file uploads, Groovy integration, Used to simplify web development.
2, Seam's goal
Simplifying web Development
3, how seam integration of various technologies
Seam integrates JSF, JPA, and Pojo Component
In seam, the session bean in EJB3.0 is used as a JSF managed bean, directly linking the presentation layer to the business layer, allowing the session bean to access Web-related data directly, such as request, session, Application, JSF facesmessage, Component tree and so on. When you do not use seam, you typically use the JSF back bean as an intermediary between the presentation layer and the business layer.
Use the @name annotation in annotation to replace the managed bean configuration in JSF's Faces-config.xml.
Seam does not necessarily have to use EJB and JPA, or you can use Pojo, hibernate as an alternative. The following figure: