OTN: Integrating JSF with Struts in Your J2EE Applications
Oracle Technology Network has released step 8 in their Mastering J2EE Application Development series. This article deals with integrating JSF with Struts in your J2EE applications.
For several years, Struts has been a popular and widely used framework for building web applications using Java. Recently, a new API that has significant overlap with Struts functionality—JavaServer Faces (JSF)—has become standard, giving rise to questions about which technology developers should use, and what they can do with existing Struts-based applications to start taking advantage of JSF’s capabilities. This article briefly introduces both technologies, and discusses how to migrate the user-interface elements from Struts to JSF, providing a technique you can use to integrate the two technologies to obtain the best of both worlds.