Jbossseam Learning Series II: What is Jbossseam

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.