Front End
Deep Dive

What is JSF?

Java Server Faces
Java specification for building component-based user interfaces for web applications, based on the popular MVC design pattern
What is MVC?


First JSF
Application


WAR?
"Web ARchive"

xhtml Pages?

CSS and JavaScript?

Our First JSF
Page





What is
PrimeFaces?


Why PrimeFaces?
Lot's of rich, visual components
Easy to use
Solid community support
What is the
CSX Showcase?
CSX Showcase Screenshot
Let's Start Coding!
What are
Backing Beans?


Bean Scopes
What do I mean by scope?

How long my bean lives

@RequestScoped
Lives as long as a single HTTP request-response cycle
@ViewScoped
Lives as long as a user is interacting with the same JSF view
@SessionScoped
Lives as long as the established HTTP session
@ApplicationScoped
Lives as long as the web application runs
@FlashScoped ?
@CustomScoped ?
@ConversationScoped ?

UNIT TESTING
Back to Coding!
User
Experience


User Needs
Business Goals
Technical Constraints
Business Goals
Technical Contraints
User Needs
uX!
design
requirements
development
Back to Coding!
Front End Deep Dive
By arscialo
Front End Deep Dive
- 66