• Like
Seam 3 from a Web developer’s point of view, Matija Mazi (Parsek)
Upcoming SlideShare
Loading in...5
×

Seam 3 from a Web developer’s point of view, Matija Mazi (Parsek)

  • 1,355 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,355
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
17
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SEAM 3 a Web developer’s viewMatija Mazi, Parsek
  • 2. What is Seam 3?• Enterprise Internet application platform• Based on Java EE 6 – Especially CDI
  • 3. Agenda• Java EE 6 Example App• Seam 3 Example App• Seam and Java Standards• Contributing to Seam
  • 4. Java EE 6: Our example• Web Application Technologies – JSF (JavaServer Faces) 2.0 with Facelets – EL (Expression Language) 2.2• Enterprise Technologies – CDI 1.0 (Contexts & Dependency Injection) – EJB 3.1 (Enterprise JavaBeans) – JPA (Persistence) 2.0 – Bean Validation 1.0
  • 5. Java EE 6: Our example• Let’s see the demo!
  • 6. Java EE 6: What we used• General (javax.annotation.*) • JPA (javax.persistence) – @PostConstruct – EntityManager – CriteriaBuilder, CriteriaQuery• EJB3 (javax.ejb) – @Entity – @Stateful – @Id – @GeneratedValue – @PersistenceContext• CDI (javax.enterprise.*) – @RequestScoped – @Event • Validation (javax.validation.*) – @Observes – @NotNull – @Model – @Pattern – @Produces – @Size• CDI (javax.inject.*) – @Inject – @Named
  • 7. Seam 3: Our example• Let’s see the demo!
  • 8. Seam 3: Features (1/2)• Forge • Seam Configuration – Plugins • Seam Persistence• Seam Solder – Transaction Management – @Veto, @Requires, @Exact, – Seam-managed persistence @Client, @Named packages, contexts @FullyQualified – Annotation Literals – Evaluating EL • Seam Servlet – Resource Loading – Servlet/Session events – Logging – Injectable Servlet objects and request state – Reference to the BeanManager – @RequestParam, – Properties @HeaderParam, – @Unwraps @ContextPath, – Default Beans @CookieParam, @ServerInfo, – Generic Beans @Principal – Service Handler
  • 9. Seam 3: Features (2/2)• Seam Security • Seam Catch • Seam Remoting• Seam International • Seam REST – Locales, Timezones • Seam Validation – Messages • Seam Wicket • Seam Cron• Seam Faces • Seam Drools – Faces Events Propagation – Faces Artifact Injection • Seam Errai CDI (GWT) – Messages • Seam JCR (Content Repo) – @RenderScoped, • Seam JMS @ViewScoped, Flash • Seam Mail – <s:validateForm>, <s:viewAction> • Seam Reports • Seam Social • Seam Spring
  • 10. Seam: a source of ideasfor JavaEE standards
  • 11. Seam: a source of ideas for JavaEE standards (stuff in JEE6 that came from Seam)• CDI (JSR 299) • JSF 2 (JSR 314) – @Inject – Navigation – @*Scoped – <f:viewParam> – @Produces – <f:selectItems> – Events – Get Requests – Most of the stuff, really • <h:link>, <h:button> – Scopes• CDI 1.1 (JSR 346) – Annotations • Managed Beans – from Seam 3 • Converters/Valitators • esp. Seam Solder – Resources – Validation integration – EL method parameters
  • 12. Contributing to OS• github account• git installed• No need for commit permissions• https://github.com/seam/international/pull/11
  • 13. Seam 3 and JavaEE 6 • Thank you!mazi@parsek.net
  • 14. Seam 3: Our Example• Seam International • Seam Cron – Messages – Scheduled tasks• Seam Faces • Seam Mail – Messages – Mail templates – @Inject in Validators – Mail sending • Seam Solder – Resource Loading