Java server faces
JavaServer Faces (JSF) is a Java-based Web application framework designed to help integrate server-side user interfaces (UIs) during development. JSF includes an API for representing UI components and managing their state, handling events, server-side validation, and data conversion. JSF also includes two JavaServer Pages custom tag libraries. The JSF programming model lets helps developers configure components and create, bind, and store UIs. In this section on JavaServer Faces, we offer news, research and tutorials on using JSF to help develop applications. Learn how JSF lets you build rich internet applications that implement separation of behavior and presentation, allowing Web application developers to focus on individual aspects of a project and use JSF technology to link them together.
Top Stories
-
Tip
15 Feb 2023
Why Java in 2023?
Has there ever been a better time to be a Java programmer? From new Spring releases to active JUGs, the Java platform is experiencing a renaissance. Continue Reading
By- Darcy DeClute, Scrumtuous Inc.
-
Feature
27 Dec 2017
What thought leaders were saying about Java SE 9 in 2017
Understandably, Java SE 9 was a popular topic of discussion in 2017, but so were DevOps and cloud native, according to this list of the 10 most popular podcasts of 2017. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
27 Dec 2017
From bitcoin to deprecated Java, a look at 2017's top opinions
What were the most contested technology topics of 2017? On TheServerSide, issues such as bitcoin blockchains and deprecated Java methods generated the most comments and page views. Continue Reading
By- Cameron McKenzie, TechTarget
-
Guide
29 Aug 2017
Top JavaScript frameworks accelerate software development
Despite its tough reputation, JavaScript frameworks are still growing in popularity in the software development world. Get the latest on JavaScript's status and future expectations. Continue Reading
-
Blog Post
05 Apr 2017
Ajax, JavaScript support and CDI alignment tops the list of what's new in JSF 2.3
It was great to see the 2.3 release of JavaServer Faces finalized last week. When JSF 2.0 came out, I was quick to jump on the component based UI approach to software development, promoting the ... Continue Reading
By- Cameron McKenzie, TechTarget
-
Opinion
30 Mar 2017
Stop adding web UI frameworks like JSR-371 to the Java EE spec
Java EE's Servlet and JSP API provide a fine foundation for handling a web-based request-response cycle. Adding UI frameworks like JSR-371 to the spec only causes problems. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
25 Oct 2016
JavaScript framework AngularJS continues to simplify UI development
The easiest way to simplify UI development? Use a powerful JavaScript framework like AngularJS. Continue Reading
-
Feature
16 Feb 2016
Five drawbacks to choosing JSF as your web application framework
Being packed as part of the Java EE web profile, JSF is a compelling web framework to choose, but here are five reasons why you might want to think twice about using JavaServer Faces as UI framework for your project. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
04 Aug 2015
A new HTTP protocol eases server-side development
The HTTP protocol is finally getting its first major overhaul, bringing a number of improvements to managing the connections between servers and users. Continue Reading
-
Tutorial
04 May 2015
Asynchronously invoking a second managed bean method in JavaSever Faces (JSF)
The new features added to JSF make doing an asynchronous call to the server incredibly easy, but what if you need to follow that first asynchronous call with a second asynchronous call to a JavaServer Faces managed bean? It's a bit of work, but in this tutorial, we walk you through it. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
04 May 2015
How to invoke a JSF managed bean asynchronously through JavaScript
Sometimes great frameworks like JSF, Wicket or Spring MVC make simple tasks surprisingly difficult to do. With JavaServer Faces, the simple task of invoking a method on a managed bean is actually a bit of a chore. In this tutorial, we tackle that chore together. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
30 Jan 2015
AngularJS: A JavaScript framework built with software testing in mind
Modern development methodologies rely heavily on testing and testing frameworks. Of course, testing frameworks are quite mature in the Java and .NET world, but they have been nascent in terms of JavaScript. Here's what's new in the world of JavaScript testing. Continue Reading
By -
Tutorial
07 Sep 2014
Advanced JSF Tutorial: The single page interface (SPI) with Facelets, Ajax and HTML5
Some say it's impossible, but if you really understand the technology, you will realize that creating a single page interface (SPI) with JSF, Facelets, Ajax and HTML really isn't all that hard. In fact, JavaServer Faces makes it pretty easy! Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
31 Aug 2014
JSF Tutorial: Completing the Ajax based Facelets application
If you're using JSF, you're probably using Facelets, and if you're creating modern web based applications, you'll likely want to use Ajax based request-response cycles. Here we conclude our tutorial on JavaServer Faces, Facelets and Ajax based programming. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Integrating Ajax into your Facelets pages: Death to JSF's request-response cycle
If you're doing Facelets development, this might be the most important tutorial you will ever read. It will explain to you how to throw out that annoying request-response cycle, and explain how to integrate Ajax based JSF components with a dynamically re-rendering Facelets page snippet. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Template based web design with JSF Facelets: ui:insert versus ui:include
When creating a web page template with JSF, a developer needs to know the difference between ui:insert and ui:include. They're actually quite different, but the similar sounding names can create confusion. Here's a great example of when to use ui:insert and how to properly use ui:include. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Creating pages based on a JSF template: Using the Facelets ui:define tag
What do you do once you've set up a handsome page template using the Facelets functions that come with JSF 2.x? Well, you start creating new pages, meshing those ui:define tags in with ui:composition and ui:insert. It's easier than it sounds, trust me. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
19 Jul 2014
Turning a web page into a JSF 2.0 template with Facelets
How do you take a web page and turn it into a template using Facelets as the template engine? It takes some JSF, some HTML, maybe some CSS, and lots of JSF UI tags, but overall, it's an easy and simple process if you follow this tutorial. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
19 Jul 2014
An introduction to template building with Facelets, CSS, HTML and JSF 2.2
Facelets is a great technology for creating templates for websites and then adding dynamic functionality. In this tutorial, we will introduce the idea of creating a template page with CSS, HTML, JavaScript and JavaServer Faces 2.2 (JSF). Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
29 Apr 2014
How to define a portlet namespace and context paths using JSTL and JSP
Learn how to define portlet namespaces and context paths using JSTL and the JSP expression language. Continue Reading
By- Sal Pece
-
Tutorial
18 Feb 2014
How to animate your web pages using JavaScript, HTML and CSS: A tutorial
One of the great benefits to using JavaScript is the fact that it allows you to animate your web pages in simple yet creative ways. Here we look at a simple example that animates the result of a game or rock-paper-scissors. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
05 Jan 2014
Can Java and JSF on the server-side make mobile on the front end easier?
While many software developers are learning new programming languages to deliver native mobile solutions to users, companies like ICEsoft with their ICEmobile solutions are solving the mobile development problem with HTML5 on the front end, with Java and JSF running on the server. Continue Reading
By -
Tutorial
11 Aug 2013
Application_Scope versus Portlet_Scope: Understanding the JSR 286 PortletSession
Managing state through the PortletSession is a supremely important job for the portal developer, and knowing how to manage the session means understanding the difference between the PortletSession scopes: APPLICATION_SCOPE and PORTLET_SCOPE. Continue Reading
By- Sal Pece
-
Tutorial
27 Jul 2013
JSR-286 development tutorial: Linking back to the portal with the PortletURL
In this JSR-286 development tutorial we look at the PortletURL and the challenge developers face when trying to link back to the portal, a portal page or a given portlet instance. Continue Reading
By- Sal Pece
-
Tip
05 May 2013
Tomcat performance optimization through consolidated log file handlers
By default Tomcat uses several log file handlers, but performance can easily be optimized by configuring the server to use only one. Continue Reading
By- Lukas Stewart
-
Tip
12 Mar 2013
Performance and troubleshooting tips for JSF 2.0 Facelet developers
JSF 2.0 has provided a variety of new configuration settings to help improve performance and aid the troubleshooting task, making the lives of software developers and quality engineers much easier. Continue Reading
By- Lukas Stewart
-
News
01 Oct 2012
JavaOne conference coverage 2012
Join TheServerSide.com and SearchOracle.com as we present conference coverage from JavaOne and Oracle OpenWorld. Continue Reading
-
Tutorial
24 Feb 2012
Convert server-side Java to client-side HTML
This brief video tutorial uses Java code on the server side to push an HTML link to the client in simple html. Continue Reading
-
Tutorial
24 Feb 2012
Translate "Hello, world!" automatically via the Web browser
In this lesson, Cameron McKenzie will demonstrate how to build a Web application that automatically translates itself for various audiences based on the default language of the end user's Web browser. Continue Reading
-
Tip
23 Feb 2012
Five Neat Things You Can Do Out of the Box with Liferay Portal
If you've ever run a competitive portal, you know that so many of them have little more than the "weather portlet" or "bookmarks" portlet after installation. Liferay is amazing because it has such full featured functionality 'out of the box.' Here's just five featuers I love about Liferay Portal 6.1. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
20 Feb 2012
Compare new Java Web application tools to the basics
When evaluating new Java Web application tools look back to the most basic Java development tools and see where the new tool takes you from there. Continue Reading
By -
Tutorial
17 Feb 2012
Installing the JavaServer Faces Web application framework
Obtain and install the JavaServer Faces Web application framework as a solid basis for deploying Java applications on a Tomcat server. Continue Reading
-
Tutorial
12 Jan 2012
New Java 7 Features: How to Use a More Precise Rethrow in Exceptions from Project Coin
Afficionados of other languages such as Scala or Clojure are always slagging the fact that Java is too verbose and cumbersome. So, it's not too surprising to find out that Java 7 introduced a number of new facilities that can help to trim down the code an application developer is required to write. Continue Reading
By- Sal Pece
-
News
07 Oct 2011
JavaOne 2011: Mark it up as a success
Last year a cloud of gloom hung over the three or four San Francisco hotels in which Oracle had sliced, diced and distributed all of the JavaOne sessions. There was a clear and palpable feeling of distrust and uncertainty that permeated the on-goings, and a typical sentiment was 'JavaOne was a lot better when Sun was running it.' Continue Reading
-
Tip
02 Oct 2011
Include vs. Forward of the Servlet RequestDispatcher
The key difference between the two is the fact that the forward method will close the output stream after it has been invoked, whereas the include method leaves the output stream open. Continue Reading
By- Matthew Stewart
-
News
15 Sep 2011
Apache Wicket 1.5 has been released
The Apache Wicket team is proud to announce the immediate availability of the newest release of their component oriented open source Java web framework. Apache Wicket 1.5 has been in development for the last two years and brings many improvements over previous versions. Continue Reading
-
News
05 Jul 2011
PrimeFaces 3.0.M2 Unleashed
Prime Teknoloji is pleased to announce the 3.0.M2 version of the leading open source JSF component suite, PrimeFaces. This release contains more than 100 improvements and a lot of hard work. Continue Reading
-
Tutorial
02 Mar 2011
Working with CDI and JSF 2.0 on Tomcat 7: Configuring Weld
By default, you can't use CDI in your JSF 2.0 applications when they are simply deployed to a standard servlet engine such as Tomcat 7. But, with Weld, you can make it work. Continue Reading
- Tip 27 Dec 2010
-
Tip
27 Dec 2010
Mixing Annotations with faces-config.xml Settings in JSF 2.0
What happens when you annotate a bean, and edit the configuration in the faces-config.xml file at the same time? Continue Reading
-
Tip
13 May 2010
ZK Performance Monitors
Given Ajax applications' event driven nature, it would be beneficial if developers could identify the time consuming event handlers and make the necessary performance tuning accordingly. With ZK, a server-driven Ajax framework, developers could choose to handle all Ajax events at the server-side. Previous efforts on ZK performance monitors have been made in the area of identifying the network latency, process time at server, and rendering time at client. In this article, we'll explore how "ZK Gazer", an implementation of a ZK performance monitor, may reveal Ajax applications' bottlenecks at the event handling level in real-time. Continue Reading
-
News
01 Oct 2008
An Introduction to GMaps4JSF
GMaps4JSF is one of the JSF Mashups libraries that enable JSF users to build Web 2.0 Mashup applications in JSF easily. In this article, I will introduce what the GMaps4JSF library offers, how to configure it, and its components, and finally an example that illustrates a simple application that utilizes the library. Continue Reading
By- HazemSalah
-
News
01 Aug 2005
JavaServer Faces vs Tapestry - A Head-to-Head Comparison
After several years as the leading Java Web application framework, the reign of Apache Struts appears to be drawing to an end. Indeed, the action-based model on which Struts is based is no longer regarded by many as ideal for Java Web application development. While Struts and many other Model View Controller (MVC) frameworks from the early 2000s are largely operation-centric and stateless, the frameworks emerging most strongly are component-based and event-driven. Continue Reading
By- Phil Zoio
-
News
01 Aug 2005
Building Custom JSF UI Components
One of the key strengths of JavaServer Faces (JSF) is that not only does it provide substantial technology for easy, out of the box component based J2EE Web applications assembly, but it also is a very flexible API which allows for a wide breadth of customizations in numerous and innovative ways. This article introduces and explores the component developer's experience of building custom JSF user interface (UI) components. Continue Reading
By- Chris Schalk