Quick Upload

Loading...
Flash Player 9 (or above) is needed to view slideshows. We have detected that you do not have it on your computer.To install it, go here
Post to Twitter Post to Twitter
Share on Facebook
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons

JBoss Seam JUG Day 2008

from jselman, 6 months ago Add as contact

498 views | 0 comments | 0 favorites | 3 embeds (Stats)

Desc:

Embed customize close
 

Categories

Business & Mgmt

Groups/Events

More Info

This slideshow is Public

Views: 498 Comments: 0 Favorites: 0 Downloads: 0

View Details: 419 on Slideshare 79 from embeds
Most viewed embeds (Top 5): More
All Embeds: Less
Flagged as inappropriate Flag as inappropriate

Flag as inappropriate

Select your reason for flagging this slideshow as inappropriate.

If needed, use the feedback form to let us know more details.

Slideshow Transcript

  1. Slide 1:   Seam framework An application framework for Enterprise Java Alejandro Montenegro, JBoss Solution Architect Red Hat Latinoamérica Junio 2008
  2. Slide 2: Agenda – What is Seam – Actual Problems – Core Concepts of Seam – Small Demo :) – Features & Benefits – Not so small Demo :D – JBoss Developer Studio
  3. Slide 3: JBoss Seam Framework ● JBoss Seam (Seam)... ● Seam is a powerful open source development platform for building rich Internet applications ● Seam is a standards-based framework that has been submitted for the JSR-299 (Web Beans) Specification. ● Seam is NOT “simply another” integration framework. ● Seam is NOT JBoss answer to Spring Framework.
  4. Slide 4: Actual problems • adapt architecture/layers to the framework you are using • Java EE 5 specification provides no standard way to integrate JSF & EJB3 • No support for concurrent asynchronous requests • J2EE applications implement state management manually – Back & refresh buttons? double submits • multi tab browsing • XML configuration • Integration testing has traditionally been a messy and difficult task
  5. Slide 5: Actual problems There's more to a web  application than serving  HTML pages
  6. Slide 6: Core Concepts (Context) • Additional contexts for better web applications – Event – Page – Conversation – Session – Business Process – Application
  7. Slide 7: Core Concepts (Components) • One kind of stuff – Stateful pojos – Uniform component model for all business logic in your application. – Components are associated with one of several well defined contexts – No distinction between presentation tier components and business logic components – components may simultaneously access state associated with the web request and state held in transactional resources – You get to architect your own application and define layers and how they work together
  8. Slide 8: Features & Benefits • Integrate JSF with EJB 3.0 – JSF & EJB3 great component models – Eliminates glue code – Encourages you to use session beans as JSF action listeners
  9. Slide 9: Features & Benefits • Declarative state management – Seam takes the concept of declarative state management much further and applies it to application state – Seam extends the context model defined by the servlet spec — request, session, application— with two new contexts —conversation and business process
  10. Slide 10: Features & Benefits • Workspace management & multi-window browsing – Seam applications let the user freely switch between multiple browser tabs – also multi-window-like operation in a single window – Small demo!
  11. Slide 11: Features & Benefits • Integrated Ajax – Support for open source JSF-based AJAX solutions  JBoss RichFaces  ICEfaces – Add AJAX to the user interface without Javascript code – Built-in remoting layer for asynchronous component calls from client- side Java Script – Remoting layer without a need for an immediate action layer
  12. Slide 12: Features & Benefits • Powerful navigation – leverages JSF navigation rules – easy integration of security <page view-id=\"/reports.xhtml\"> <restrict>#{s:hasRole('admin')}</restrict> </page> – integration of event system <pages> <page view-id=\"/hello.jsp\" action=\"#{helloWorld.sayHello}\"/> </pages>
  13. Slide 13: Features & Benefits • Business process as a first class construct – Simple integration of business process definitions – Transparent business process management via Java Business Process Management (jBPM) – Presentation tier pageflow is defined via jBPM Process Definition Language (jPDL)
  14. Slide 14: Features & Benefits • Bijection – The notion of (IoC) or Depencency Injection(DI), where one object uses a second object to provide a particular – capacity, is supported in Seam Bijection differs from IoC in that its dynamic, contextual, and bidirectional – Bijection behaves as a mechanism for aliasing contextual variables to attributes of the component – Bijection allows auto-assembly of stateful components by the container – and allows components to manipulate the value of a context variable.
  15. Slide 15: Features & Benefits • Annotations over XML – JEE/EJB 3.0 annotations are embraced and extended Seam- annotations for declarative state management & context demarcation – Verbose JSF managed bean declarations are eliminated – Only the very essential as XML information
  16. Slide 16: Features & Benefits • Integration testing is easy – As POJOs, Seam classes are easily testable – thus exercising all parts of the system, apart from the view, is supported – TestNG or JUnit tests that reproduce whole users interactions are easily written – Tests can be run inside the IDE – Seam will automatically deploy EJB components via JBoss Embedded
  17. Slide 17: Get started now! • Works in any Java EE application server • Seam, JSF and EJB3 is the simplest way to write a complex web application