JSF 2.0, Bean Validation

The Slides:

The presentation slides from the DevNexus conference are available at: [http://www.devnexus.com/]. THANKS to everyone who attended\!\!

August 18, 2009 – Gavin King, Dan Allen and  Emmanuel Bernard


*Gavin King: Contexts and Dependency Injection for Java EE (JSR 299)*

SR 299 (Contexts and Dependendency Injection for the Java EE platform) may be the most significant enhancement to EE 6. It provides:

• a completely general typesafe dependency injection model, contextual lifecycle management for injectable objects,

• an event notification model, interceptor bindings via user-defined annotations, typesafe decorators,

• a complete SPI for integration of third-party web or component frameworks, and integration with JSF, servlets and JSP, including

• a conversation context for JSF

This functionality is provided with a clean, simple, uniform programming model that emphasizes two primary values: typesafety, and loose coupling. JSR-299 doesn’t use strings or XML to wire together beans, events, interceptors and decorators. Instead, it uses the Java type system and user defined binding annotations to discover the relationships between loosely coupled components.

In this talk Gavin King, the JSR 299 specification lead, will review JSR 299 functionality, and provide an update on the specification’s status.

*Dan Allen: New Developments in JSF 2.0*

JSR-314 (JSF 2.0) is a major update to the JavaServer Faces framework, alleviating the major usability concerns in earlier revisions and modernizing the framework by incorporating functionality such as Ajax and partial page rendering. The Red Hat expert group members recognized that JSF 2.0 stood to benefit as much from the innovations that Seam brought to Java EE as did JSR-299, and thus played an instrumental role in advancing JSF. This talk covers JSF 2.0 from the perspective of Red Hat’s involvement. You’ll learn about view parameters and the metadata facet, bookarkable links, conditional and preemptive navigation, bean validation integration, Ajax and partial page rendering, exception handling, and other some other minor, but important goodies.

*Emmanuel Bernard: Bean Validation: Validation Once and for All*

Data constraints validation is a concern shared by multiple layers in applications (presentation, business, persistence and so on). This traditionally leads to duplication. Bean Validation (JSR-303) aims at standardizing validation in the Java platform. This session will show you how various layers can use the same constraint declarations and transparently validate data across the application. We will demonstrate it with the Java EE platform and how JSF 2 and JPA 2 transparently enable validation.


*Gavin King*

Gavin King is the creator of Hibernate, a popular object/relational persistence solution for Java, and Seam, an application framework for enterprise Java. He also contributes to the Java Community Process standards as Red Hat representative for the EJB, JPA, JSF specifications, and is the spec lead of Contexts and Dependency Injection for Java EE (JSR 299).

*Dan Allen*

Dan Allen is a member of the Seam and Web Beans project teams at JBoss by Red Hat, author of Seam in Action and a frequent speaker at major industry conferences such as JavaOne, Devoxx, TSSJS, Jazoon and JSFOne. Dan is known for his passionate work, with nearly a decade of development experience using technologies that include Java frameworks (Seam, JSF, EJB3, Hibernate, Spring, Struts), testing frameworks (JUnit, TestNG), JavaScript and DOM scripting, CSS and page layouts, Maven 2, Ant, Groovy, and many others.

Quickly after graduating from college, Dan became captivated by the world of free and open source software (FOSS). His involvment in FOSS helped him transition into the software development industry. He soon discovered the combination of Linux and the Java EE platform to be the ideal blend on which to build his professional career. In his search for a robust Web framework, Dan discovered JBoss Seam, which was quickly granted this most coveted spot in his development toolbox. The rest, as they say, is history. Dan is also a dedicated open source and Linux advocate and blogs about his experiences regularly. You can keep up with his discoveries by subscribing to his blog at [http://mojavelinux.com].

*Emmanuel Bernard*

After graduating from Supelec (French “Grande Ecole”), Emmanuel has spent a few years in the retail industry as developer and architect where he started to be involved in the ORM space. He joined the Hibernate team in 2003 and is now a lead developer at JBoss, a division of Red Hat.

Emmanuel is the lead developer of Hibernate Annotations and Hibernate EntityManager, two key projects on top of Hibernate Core implementing the Java Persistence(tm) specification. He also leads Hibernate Search and Hibernate Validator.

Emmanuel is a member of the JPA 2.0 expert group and the spec lead of JSR 303: Bean Validation. He is a regular speaker at various conferences and JUGs, including JavaOne, JBoss World and Devoxx and the co-author of Hibernate Search in Action published by Manning.

Tagged with:
Posted in Meetings, Uncategorized
AJUG Meetup

Building and Deploying 12 Factor Apps in Scala and Java

June 20, 2017

The twelve-factor app is a modern methodology for building software-as-a-service apps:

• Use declarative formats for setup automation, to minimise time and cost for new developers joining the project.

• Have a clean contract with the underlying operating system, offering maximum portability between execution environments.

• Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration.

• Minimise divergence between development and production, enabling continuous deployment for maximum agility.

• And can scale up without significant changes to tooling, architecture, or development practices.

We will build a RESTful web service in Java and deploy the app to CloudFoundry. We will go over how to build a cloud manifest, how to keep our database credentials and application configuration outside of our code by using user-provided services and go over what it takes to build a 12 Factor application in the cloud. This presentation will be heavy on code and light on slides!


Roam Dunwoody

1155 Mount Vernon Highway NE
Atlanta, GA 30338 (map)

AJUG Tweets

Follow @atlantajug on twitter.

Recent Jobs