SEAM
Posted by mtwinkle on July 10, 2007
The two core concepts in Seam are the notion of a context and the notion of a component. Components are stateful objects, usually EJBs, and an instance of a component is associated with a context, and given a name in that context.
A conversation is a unit of work from the point of view of the user. It might span several interactions with the user, several requests, and several database transactions. But to the user, a conversation solves a single problem. For example, “book hotel”, “approve contract”, “create order” are all conversations.
A conversation holds state associated with “what the user is doing now, in this window”. A single user may have multiple conversations in progress at any point in time, usually in multiple windows. The conversation context allows us to ensure that state from the different conversations does not collide and cause bugs.
The business process context holds state associated with the long running business process. This state is managed and made persistent by the BPM engine
Application context is mainly useful for holding static information such as configuration data, reference data or metamodels. For example, Seam stores its own configuration and metamodel in the application context.
we obtain components from a context via injection, and put component instances into a context via outjection.
Almost all seam components need a name. We assign a name to a component using the @Name annotation:
maori said
Only a smiling visitant here to share the really like (:, btw wonderful style and style . 744578
เพลงใหม่ ฮิต said
Soon after study some with the content material within your internet site now, we genuinely such as your technique of blogging. I bookmarked it to my bookmark internet internet site list and will also be checking back soon. Pls look at my web-site likewise and make me aware what you believe. 200344
resource said
Attractive portion of content. I merely stumbled upon your weblog and in accession capital to assert that I get in fact loved account your weblog posts. Anyway I will probably be subscribing to your augment and even I success you get admission to constantly rapidly. 92072