Arnis Lapsa
Arnis Lapsa

Reputation: 47647

What exactly is java server faces?

In comparison with asp.net webforms and asp.net mvc frameworks.

Upvotes: 2

Views: 582

Answers (2)

BalusC
BalusC

Reputation: 1109635

JSF is a component based MVC framework. It runs on top of the Servlet API. You can use the JSF tags in the old fashioned JSP files or, more designed towards JSF, in Facelets XHTML files.

It has a full worthy lifecycle as presented in the image below:

JSF lifecycle

Image is extracted from this page of the Java EE 7 tutorial. You can find a practical playground example in this article as well.

See also:

Upvotes: 6

Mickel
Mickel

Reputation: 6706

It's like ASP.Net webforms, where you use UI Components and event-bindings to build up your web pages.

Upvotes: 6

Related Questions