This document profiles ÇaÄŸatay Çivici and provides an overview of the Apache MyFaces projects. Çivici is a member of the Apache MyFaces PMC and has authored books and components for MyFaces. The document summarizes the history and goals of the MyFaces projects including Core, Tomahawk, Trinidad, Tobago, and others. It provides examples of capabilities such as Ajax support, dialog frameworks, skinning, and client-side features.
This document provides an overview of Java Server Faces (JSF) including:
1) JSF is a component-oriented framework for building web applications using reusable UI components and a component tree model.
2) JSF uses managed beans with different scopes to implement inversion of control and binding between components and bean properties/methods.
3) The JSF request lifecycle handles converting and validating form values, invoking backend beans, and navigating between views.
4) Additional topics covered include internationalization, extending JSF, integration with other frameworks like Spring, and the future of JSF.
This document discusses approaches to integrating security with JavaServer Faces (JSF). It describes both non-JSF based approaches like container managed security and security filters, as well as JSF-specific approaches like using a view handler, phase listener, or Seam Security. It provides code examples for configuring security using these different techniques and restricting access to pages and backing beans.
Facelets is a view declaration language for JavaServer Faces (JSF) that is faster and more lightweight than using JSP with JSF. It allows for templating, composition components, custom logic tags, and EL functions. Facelets improves on JSP by having a separate lifecycle from JSF and avoiding issues with content interweaving. Migrating from JSP to Facelets involves changing the file extension to .xhtml and configuring the view handler.
The document compares several JavaServer Faces component libraries: Tomahawk, Trinidad, RichFaces, and IceFaces. It provides overviews of their features, such as components, documentation, licensing, and support. It then polls the audience on categories like best feature set, ajax features, documentation, and tool support. Trinidad is selected as having the best overall feature set, while RichFaces wins for documentation and ajax features. IceFaces has the best tool support, and Tomahawk and Trinidad tie for best community support.
PrimeTime JSF with PrimeFaces - Dec 2014cagataycivici
This document provides an overview of PrimeFaces, an open source JavaServer Faces (JSF) component library. It describes key features like being lightweight, easy to use, supporting Ajax, client-side validation, themes, and mobile. It also discusses the community, documentation, books, and commercial support options available for PrimeFaces.
Ajax Applications with RichFaces and JSF 2Max Katz
The document discusses RichFaces, an open source JavaServer Faces framework that provides Ajax and rich internet application capabilities. It summarizes key RichFaces features like components, skins, the component development kit, and integration with JavaServer Faces 2. It also briefly describes other related JavaServer Faces projects and Exadel's products and services around RichFaces.
SpringSurf is a web framework built on Spring MVC that provides components, templates, and pages for composing web applications. It originated from Alfresco's Surf framework in 2007. In 2009, Surf was integrated with Spring and contributed as an open source project called SpringSurf. SpringSurf allows defining pages using XML and templates using FreeMarker. Components can be developed using JavaScript and connect to remote APIs. Model objects and artifacts can be stored locally or remotely. SpringSurf provides rapid development of web applications and extensions.
The document discusses JSPs (JavaServer Pages) and how they allow for the creation of dynamic web content by mixing static HTML with Java code, describing how JSPs are translated into servlets at request time to generate dynamic output. It provides an overview of why JSPs are used, how they work, and some of their advantages over other technologies like servlets for building web applications.
This document provides an overview of Java Server Faces (JSF) including:
1) JSF is a component-oriented framework for building web applications using reusable UI components and a component tree model.
2) JSF uses managed beans with different scopes to implement inversion of control and binding between components and bean properties/methods.
3) The JSF request lifecycle handles converting and validating form values, invoking backend beans, and navigating between views.
4) Additional topics covered include internationalization, extending JSF, integration with other frameworks like Spring, and the future of JSF.
This document discusses approaches to integrating security with JavaServer Faces (JSF). It describes both non-JSF based approaches like container managed security and security filters, as well as JSF-specific approaches like using a view handler, phase listener, or Seam Security. It provides code examples for configuring security using these different techniques and restricting access to pages and backing beans.
Facelets is a view declaration language for JavaServer Faces (JSF) that is faster and more lightweight than using JSP with JSF. It allows for templating, composition components, custom logic tags, and EL functions. Facelets improves on JSP by having a separate lifecycle from JSF and avoiding issues with content interweaving. Migrating from JSP to Facelets involves changing the file extension to .xhtml and configuring the view handler.
The document compares several JavaServer Faces component libraries: Tomahawk, Trinidad, RichFaces, and IceFaces. It provides overviews of their features, such as components, documentation, licensing, and support. It then polls the audience on categories like best feature set, ajax features, documentation, and tool support. Trinidad is selected as having the best overall feature set, while RichFaces wins for documentation and ajax features. IceFaces has the best tool support, and Tomahawk and Trinidad tie for best community support.
PrimeTime JSF with PrimeFaces - Dec 2014cagataycivici
This document provides an overview of PrimeFaces, an open source JavaServer Faces (JSF) component library. It describes key features like being lightweight, easy to use, supporting Ajax, client-side validation, themes, and mobile. It also discusses the community, documentation, books, and commercial support options available for PrimeFaces.
Ajax Applications with RichFaces and JSF 2Max Katz
The document discusses RichFaces, an open source JavaServer Faces framework that provides Ajax and rich internet application capabilities. It summarizes key RichFaces features like components, skins, the component development kit, and integration with JavaServer Faces 2. It also briefly describes other related JavaServer Faces projects and Exadel's products and services around RichFaces.
SpringSurf is a web framework built on Spring MVC that provides components, templates, and pages for composing web applications. It originated from Alfresco's Surf framework in 2007. In 2009, Surf was integrated with Spring and contributed as an open source project called SpringSurf. SpringSurf allows defining pages using XML and templates using FreeMarker. Components can be developed using JavaScript and connect to remote APIs. Model objects and artifacts can be stored locally or remotely. SpringSurf provides rapid development of web applications and extensions.
The document discusses JSPs (JavaServer Pages) and how they allow for the creation of dynamic web content by mixing static HTML with Java code, describing how JSPs are translated into servlets at request time to generate dynamic output. It provides an overview of why JSPs are used, how they work, and some of their advantages over other technologies like servlets for building web applications.
The document provides an overview of new features in JavaServer Faces (JSF) 2.0, including foundational changes, improved system events, resource handling, state saving, GET request support, and a more powerful component model with composite components and behaviors. Key additions are support for Ajax, easier component development through templating with Facelets, and performance improvements through partial state saving.
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces Skills Matter
The document summarizes a presentation on exploring JSF 2.0 and PrimeFaces, highlighting new features in JSF 2.0 such as Facelets, AJAX support, resource handling, and navigations, and how PrimeFaces builds on JSF 2.0 with additional features like themes, mobile support, and an extensive component library.
Securing JSF Applications Against the OWASP Top TenDavid Chandler
JSF provides built-in validation of user input through converters and validators. While this centralizes validation, developers must still take care to validate all user input, including hidden fields and related fields. Custom converters and validators can be used where needed. Cross-site request forgery is also a risk, but can be prevented by adding random tokens to requests.
Presentation about the features of JavaFX. See how to use video, different deployment types, JavaScript integration, annimations and more. Demo's not included.
This document provides information about Çagatay Çivici and PrimeFaces. Çagatay Çivici is a JSF expert group member and lead of PrimeFaces. PrimeFaces is an open source Java server faces component library developed by PrimeTeknoloji, where Çagatay is a co-founder. The document outlines features of PrimeFaces like being lightweight, easy to use, supporting over 100 UI components, and advanced Ajax capabilities.
JavaFX is used by many companies and organizations for a variety of applications. Some key uses of JavaFX include:
- Embedded applications, including on devices like phones and set-top boxes.
- Mobile applications, as JavaFX supports deploying to iOS and Android.
- Web applications, with JavaFX code running in browsers using a plugin or port to HTML5.
- Traditional desktop applications, where JavaFX can provide a modern user interface for programs.
- Specific examples given include office management software by an AIDS foundation in Germany.
What You Need To Build Cool Enterprise Applications With JSFMax Katz
This document provides an overview of JavaServer Faces (JSF) and the RichFaces framework for building enterprise applications with Ajax functionality. It discusses key features of JSF 2 such as Facelets, composite components, and the basic <f:ajax> tag. It then describes RichFaces 4 as a lightweight JSF framework that extends JSF 2 with rich UI components, an Ajax tag library (<a4j:>), and features like client-side validation, polling, and pushing. The document provides examples of how to use various RichFaces tags to send Ajax requests and control partial rendering.
JSF (JavaServer Faces) provides an event model, validation model, and conversion model to handle user input and events in web applications. The event model defines different event types like action, value change, and phase events that allow components to notify listeners of user interactions. The validation model validates user input on UI components using standard and custom validators. The conversion model converts between view data types like strings and model data types using standard and custom converters.
The Unified Expression Language (EL) provides a simplified way to access objects in JSP and JSF, allowing values to be retrieved from or assigned to JavaBeans properties and elements in collections, and supporting implicit objects, operators, and conditional evaluation. EL was created to unify the different expression languages used in JSP and JSF and addresses issues with earlier technologies like JSTL and JSP by providing a more powerful yet concise syntax. EL evaluates expressions and returns values or references to support both immediate and deferred access of data in web applications.
This document contains notes from a meeting on web application security. It discusses several common vulnerabilities like SQL injection, cross-site scripting (XSS), and clickjacking. It provides examples of how these vulnerabilities can occur and ways to prevent them, such as sanitizing user input, enabling CSRF protection middleware, and using the X-Frame-Options header. Keywords discussed include MySQL, Docker, Kubernetes, Ansible, and various attack vectors like CSRF, XSS, SQL injection, and clickjacking. The document aims to educate on security best practices for Python and Django web applications.
Enterprise AIR Development for JavaScript DevelopersAndreCharland
The document discusses the potential of Adobe Integrated Runtime (AIR) for JavaScript developers. It provides examples of how AIR allows developing rich desktop applications with HTML, JavaScript and Flash. It demonstrates communicating with web services, working offline, drag and drop file handling, and saving data to files. AIR provides capabilities beyond the web like accessing local files and notifications while reusing existing Ajax skills.
This document provides an introduction to Java Server Faces (JSF) and the Seam framework, including their architectures, configurations, features, pros, and cons. JSF is a Java specification for building component-based user interfaces for web applications, while Seam extends JSF by adding features like state management, Ajax support, and page flows. The document outlines the MVC architectures of both technologies and demonstrates features like validation, error handling, and data binding through examples. It concludes by discussing advantages of Seam and shortcomings of plain JSF.
Presentations includes following topics :-
Introduction of ReactJS.
Component workflow.
State management and useful life-cycles.
React hooks.
Server Side Rendering.
Breaking free from static abuse in test automation frameworks and using Sprin...Abhijeet Vaikar
The document discusses avoiding abuse of static methods in test automation frameworks. It provides examples of issues with static methods like concurrency problems and mutable state. It recommends using object-oriented principles and dependency injection frameworks instead. Dependency injection allows injecting dependencies into objects rather than hardcoding them, improving test isolation, readability and maintainability. The document gives examples of implementing dependency injection with Spring by using annotations like @Autowired and @Component. It also provides references for more information on inversion of control, dependency injection and static methods.
The Structure of Web Code: A Case For Polymer, November 1, 2014Tommie Gannert
About using Polymer (http://polymer-project.org/) to achieve better structure of the frontend code than with other tools.
Part of the Dublin GDG Dev Fest.
This document introduces the Vaadin framework, which is a user interface framework for building rich web applications. It discusses how Vaadin enables developer productivity through features like user interface components, automated communication between the client and server, and support for multiple devices. The document also covers trends in web frameworks like AngularJS and web components, and how Vaadin is exploring these trends through new components in Vaadin Labs and building web components with GWT.
PhoneGap is a framework that allows developers to build mobile apps using HTML, CSS and JavaScript. It works by wrapping the application in a native webview container and providing access to native device functionality like cameras and sensors through plugins. PhoneGap was originally developed in 2008 and was later contributed to the Apache Foundation as an open source project called Cordova. It allows developers to write once and deploy to various mobile platforms like iOS and Android.
Going Above JSF 2.0 with RichFaces and SeamLincoln III
This document summarizes a presentation given by Jay Balunas and Lincoln Baxter on going beyond JavaServer Faces (JSF) 2.0 with RichFaces and Seam. It discusses how RichFaces improves upon built-in JSF 2.0 features like Ajax, resource handling, and component development. It also covers how RichFaces adds client-side bean validation. The document concludes by discussing upcoming RichFaces 4.0 releases and ways to get involved with the project.
The document discusses several techniques for optimizing web page performance including:
1. Using CSS shorthand properties to reduce code and specify font styles concisely.
2. Applying multiple classes to an element to combine styles from different classes.
3. Creating CSS sprites to reduce HTTP requests by combining images into a single file.
4. A few other techniques like cross-browser opacity, text wrapping, and Google web fonts.
Zend Framework is a PHP web application framework that uses a model-view-controller (MVC) architecture. It provides modules for common tasks like database access and Google APIs. The framework encourages separating code into models, views, and controllers. It also includes tools for creating projects, actions, forms and connecting to databases to build full-featured web applications.
This document outlines how to write a simple Comet application using Glassfish and Grizzly Comet APIs. It discusses initializing Comet, serving a static page with a hidden iframe to connect to the Comet servlet, handling requests and notifying clients of updates. When a client action occurs like a move in a tic-tac-toe game, the server notifies all clients which update using JSON data. Clients reconnect to the Comet servlet by refreshing the hidden iframe to continue listening for updates.
This document discusses the history and future of JSF and Ajax. It begins with an overview of JSF and how it works. It then discusses early approaches to adding Ajax functionality to JSF such as Shale Remoting and Dynamic Faces. Next, it covers component libraries that integrated Ajax more fully like Ajax4JSF, Apache Trinidad, and ICEFaces. It concludes by looking ahead to further improvements in JSF 2.0.
The document provides an overview of new features in JavaServer Faces (JSF) 2.0, including foundational changes, improved system events, resource handling, state saving, GET request support, and a more powerful component model with composite components and behaviors. Key additions are support for Ajax, easier component development through templating with Facelets, and performance improvements through partial state saving.
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces Skills Matter
The document summarizes a presentation on exploring JSF 2.0 and PrimeFaces, highlighting new features in JSF 2.0 such as Facelets, AJAX support, resource handling, and navigations, and how PrimeFaces builds on JSF 2.0 with additional features like themes, mobile support, and an extensive component library.
Securing JSF Applications Against the OWASP Top TenDavid Chandler
JSF provides built-in validation of user input through converters and validators. While this centralizes validation, developers must still take care to validate all user input, including hidden fields and related fields. Custom converters and validators can be used where needed. Cross-site request forgery is also a risk, but can be prevented by adding random tokens to requests.
Presentation about the features of JavaFX. See how to use video, different deployment types, JavaScript integration, annimations and more. Demo's not included.
This document provides information about Çagatay Çivici and PrimeFaces. Çagatay Çivici is a JSF expert group member and lead of PrimeFaces. PrimeFaces is an open source Java server faces component library developed by PrimeTeknoloji, where Çagatay is a co-founder. The document outlines features of PrimeFaces like being lightweight, easy to use, supporting over 100 UI components, and advanced Ajax capabilities.
JavaFX is used by many companies and organizations for a variety of applications. Some key uses of JavaFX include:
- Embedded applications, including on devices like phones and set-top boxes.
- Mobile applications, as JavaFX supports deploying to iOS and Android.
- Web applications, with JavaFX code running in browsers using a plugin or port to HTML5.
- Traditional desktop applications, where JavaFX can provide a modern user interface for programs.
- Specific examples given include office management software by an AIDS foundation in Germany.
What You Need To Build Cool Enterprise Applications With JSFMax Katz
This document provides an overview of JavaServer Faces (JSF) and the RichFaces framework for building enterprise applications with Ajax functionality. It discusses key features of JSF 2 such as Facelets, composite components, and the basic <f:ajax> tag. It then describes RichFaces 4 as a lightweight JSF framework that extends JSF 2 with rich UI components, an Ajax tag library (<a4j:>), and features like client-side validation, polling, and pushing. The document provides examples of how to use various RichFaces tags to send Ajax requests and control partial rendering.
JSF (JavaServer Faces) provides an event model, validation model, and conversion model to handle user input and events in web applications. The event model defines different event types like action, value change, and phase events that allow components to notify listeners of user interactions. The validation model validates user input on UI components using standard and custom validators. The conversion model converts between view data types like strings and model data types using standard and custom converters.
The Unified Expression Language (EL) provides a simplified way to access objects in JSP and JSF, allowing values to be retrieved from or assigned to JavaBeans properties and elements in collections, and supporting implicit objects, operators, and conditional evaluation. EL was created to unify the different expression languages used in JSP and JSF and addresses issues with earlier technologies like JSTL and JSP by providing a more powerful yet concise syntax. EL evaluates expressions and returns values or references to support both immediate and deferred access of data in web applications.
This document contains notes from a meeting on web application security. It discusses several common vulnerabilities like SQL injection, cross-site scripting (XSS), and clickjacking. It provides examples of how these vulnerabilities can occur and ways to prevent them, such as sanitizing user input, enabling CSRF protection middleware, and using the X-Frame-Options header. Keywords discussed include MySQL, Docker, Kubernetes, Ansible, and various attack vectors like CSRF, XSS, SQL injection, and clickjacking. The document aims to educate on security best practices for Python and Django web applications.
Enterprise AIR Development for JavaScript DevelopersAndreCharland
The document discusses the potential of Adobe Integrated Runtime (AIR) for JavaScript developers. It provides examples of how AIR allows developing rich desktop applications with HTML, JavaScript and Flash. It demonstrates communicating with web services, working offline, drag and drop file handling, and saving data to files. AIR provides capabilities beyond the web like accessing local files and notifications while reusing existing Ajax skills.
This document provides an introduction to Java Server Faces (JSF) and the Seam framework, including their architectures, configurations, features, pros, and cons. JSF is a Java specification for building component-based user interfaces for web applications, while Seam extends JSF by adding features like state management, Ajax support, and page flows. The document outlines the MVC architectures of both technologies and demonstrates features like validation, error handling, and data binding through examples. It concludes by discussing advantages of Seam and shortcomings of plain JSF.
Presentations includes following topics :-
Introduction of ReactJS.
Component workflow.
State management and useful life-cycles.
React hooks.
Server Side Rendering.
Breaking free from static abuse in test automation frameworks and using Sprin...Abhijeet Vaikar
The document discusses avoiding abuse of static methods in test automation frameworks. It provides examples of issues with static methods like concurrency problems and mutable state. It recommends using object-oriented principles and dependency injection frameworks instead. Dependency injection allows injecting dependencies into objects rather than hardcoding them, improving test isolation, readability and maintainability. The document gives examples of implementing dependency injection with Spring by using annotations like @Autowired and @Component. It also provides references for more information on inversion of control, dependency injection and static methods.
The Structure of Web Code: A Case For Polymer, November 1, 2014Tommie Gannert
About using Polymer (http://polymer-project.org/) to achieve better structure of the frontend code than with other tools.
Part of the Dublin GDG Dev Fest.
This document introduces the Vaadin framework, which is a user interface framework for building rich web applications. It discusses how Vaadin enables developer productivity through features like user interface components, automated communication between the client and server, and support for multiple devices. The document also covers trends in web frameworks like AngularJS and web components, and how Vaadin is exploring these trends through new components in Vaadin Labs and building web components with GWT.
PhoneGap is a framework that allows developers to build mobile apps using HTML, CSS and JavaScript. It works by wrapping the application in a native webview container and providing access to native device functionality like cameras and sensors through plugins. PhoneGap was originally developed in 2008 and was later contributed to the Apache Foundation as an open source project called Cordova. It allows developers to write once and deploy to various mobile platforms like iOS and Android.
Going Above JSF 2.0 with RichFaces and SeamLincoln III
This document summarizes a presentation given by Jay Balunas and Lincoln Baxter on going beyond JavaServer Faces (JSF) 2.0 with RichFaces and Seam. It discusses how RichFaces improves upon built-in JSF 2.0 features like Ajax, resource handling, and component development. It also covers how RichFaces adds client-side bean validation. The document concludes by discussing upcoming RichFaces 4.0 releases and ways to get involved with the project.
The document discusses several techniques for optimizing web page performance including:
1. Using CSS shorthand properties to reduce code and specify font styles concisely.
2. Applying multiple classes to an element to combine styles from different classes.
3. Creating CSS sprites to reduce HTTP requests by combining images into a single file.
4. A few other techniques like cross-browser opacity, text wrapping, and Google web fonts.
Zend Framework is a PHP web application framework that uses a model-view-controller (MVC) architecture. It provides modules for common tasks like database access and Google APIs. The framework encourages separating code into models, views, and controllers. It also includes tools for creating projects, actions, forms and connecting to databases to build full-featured web applications.
This document outlines how to write a simple Comet application using Glassfish and Grizzly Comet APIs. It discusses initializing Comet, serving a static page with a hidden iframe to connect to the Comet servlet, handling requests and notifying clients of updates. When a client action occurs like a move in a tic-tac-toe game, the server notifies all clients which update using JSON data. Clients reconnect to the Comet servlet by refreshing the hidden iframe to continue listening for updates.
This document discusses the history and future of JSF and Ajax. It begins with an overview of JSF and how it works. It then discusses early approaches to adding Ajax functionality to JSF such as Shale Remoting and Dynamic Faces. Next, it covers component libraries that integrated Ajax more fully like Ajax4JSF, Apache Trinidad, and ICEFaces. It concludes by looking ahead to further improvements in JSF 2.0.
This document provides an introduction and overview of AJAX and DWR. It defines what AJAX is, its advantages and disadvantages. It discusses how to create XMLHttpRequest objects and use them to make asynchronous requests. It also introduces DWR, explaining that it is a library that makes it easy to call Java functions from JavaScript and vice versa. It provides details on how to set up and configure DWR, including necessary files and code examples of using it to call Java methods from JavaScript.
Devclub Servicemix Jevgeni Holodkov 23 04 09helggeist
This document provides an overview of the ServiceMix ESB (Enterprise Service Bus) software. It discusses ServiceMix's support for Java Business Integration, various integration patterns including content-based routing and routing slips, and integration components including HTTP, Saxon transformations, Enterprise Integration Patterns, and Camel. The document also covers testing, deployment options, and concludes that ServiceMix is an actively developed open source ESB that uses the modular JBI architecture and integrates with Maven and Spring.
This document discusses Apache Camel, an open source integration framework. It provides an overview of Camel's capabilities including message routing using Enterprise Integration Patterns (EIP) such as filtering and content-based routing. It also discusses how to use Camel components, endpoints, beans and type conversions. The document encourages readers to use Camel for routing in applications and provides tips on getting started with Camel in Java code and Maven builds.
PrimeFaces is a next generation JavaServer Faces (JSF) component suite that provides 70+ rich UI components and features like Ajax push technology. It was created by Cagatay Civici in 2008 and is now used by thousands of developers worldwide. Some key features include easy Ajax implementation, unobtrusive JavaScript, mobile frameworks like TouchFaces, and integration with technologies like Spring and Portlets. The documentation and community support resources make it easy for developers to learn and use PrimeFaces in their projects.
And the Greatest of These Is ... Rack SupportBen Scofield
The document discusses Rack, a Ruby web server interface. It begins by explaining Rack's basic request/response cycle and common middleware components like Rack::Cache. It then covers integrating Rack into Rails applications and building custom middleware for tasks like exception handling and progressive caching. The document concludes by discussing some advanced Rack techniques and tools.
In this session, Michael Alford and Mark Meeker will describe the major business goals that drove the development of Orbitz Worldwide’s next generation online travel commerce platform, and how those goals were met with Spring and other technologies.
Last summer, Orbitz Worldwide released a new generation of its global technology platform with the goals of internationalization, white-label capability, and faster, streamlined development. Michael and Mark will describe the key challenges of this technology project and how those challenges were addressed, including the good, bad, and ugly of the Spring Framework and Spring Web Flow.
This document provides an overview of adding interactivity to Plone sites using JavaScript and various Plone-specific tools. It discusses including JavaScript via the resource registry and browser resources, using the Kinetic Style Sheets (KSS) framework to add behaviors with CSS syntax, common JavaScript libraries, debugging techniques, and notes that KSS may be removed from core Plone in future versions due to its large size and lack of adoption.
The document discusses various transaction management patterns and anti-patterns, noting that the declarative transaction model using annotations or XML is preferred as it removes transaction logic from code. It describes common transaction patterns like open session in view and domain service owner that help define transaction boundaries and control, while also touching on other concepts like propagation and long running transactions. Developers are advised to use declarative patterns to clearly define transaction strategy and minimize bugs.
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)Carles Farré
This document discusses various web application frameworks including Struts 1, Spring MVC, and JavaServer Faces (JSF). It provides an overview of each framework, their terminology in relation to Java EE design patterns, examples of usage, and architectural details. Specifically, it examines the user registration process in Struts 1 through code examples and configuration files.
Building AOL's High Performance, Enterprise Wide Mail Application With Silver...goodfriday
Come join the Rich Internet Application engineering team from AOL and see first-hand how AOL created a rich, scalable mail application using Microsoft Silverlight 2.
The document discusses Apache Camel, an open source framework for integration and routing messages between various systems. It provides an overview of Camel's capabilities including support for Enterprise Integration Patterns, components for connecting to different systems, and ways to configure routing and processing of messages using Java DSL or XML. The document also includes examples of how to implement common routing patterns like content-based routing, splitting, aggregating, and error handling with Camel.
This document summarizes Metro, JAX-WS, WSIT and REST web services technologies. It provides an overview of Project Metro and its key components JAX-WS and WSIT. JAX-WS allows developing web services from POJOs using annotations and generates WSDL. It can be used with Java SE, Java EE and various app servers. WSIT enables interoperability with Microsoft .NET by supporting reliable messaging, transactions and security. The document also discusses developing and consuming web services clients using JAX-WS APIs and proxies generated from WSDL.
Open Source Ajax Solution @OSDC.tw 2009Robbie Cheng
This document provides an overview of various open source Ajax solutions including jQuery + DWR, GWT, and ZK. jQuery is a JavaScript library that simplifies DOM manipulation and AJAX requests. DWR allows making remote procedure calls from JavaScript to Java. GWT compiles Java code to JavaScript and supports component-based development. ZK is a server-centric framework that uses XML markup and allows building rich web applications in pure Java without writing JavaScript.
The document discusses adding a Struts Action class to a Struts portlet to display a maximized window state. It involves defining the action in struts-config.xml and tiles-defs.xml, creating JSP files, and an Action class to process the request. The Action class will return different JSPs depending on the window state in the request.
The document describes the architecture of a web application that provides an API for a recipe application. It includes descriptions of the application layer, presentation layer, infrastructure layer, and domain layer. It then provides a detailed example of how the Chefkoch API implements these layers for an endpoint that saves a recipe category. Key aspects include using Symfony components, separating concerns into services, using commands and events, and enforcing security and data access policies.
Struts has outgrown its reputation as a simple web framework and has become more of a brand. Because of this, two next generation frameworks are being developed within the project: Shale and Action 2.0. Action 2.0 is based on WebWork, and though its backing beans are similar to JSF, its architecture is much simpler, and easier to use.
Migrating to Struts Action 2.0 is more about unlearning Struts than it is about learning the "WebWork Way". Once you understand how simple WebWork is, you'll find that Struts Action 2.0 is a powerful framework that supports action-based navigation, page-based navigation, AOP/Interceptors, components and rich Ajax support.
Come to this session to see code comparisons and learn about migration strategies to use the kick-ass web framework of 2006.
2. About Me
• Apache MyFaces PMC(Project Management Committee) member
• Co-Author of “The Definitive Guide to Apache MyFaces and Facelets” from
APRESS
• Reference in “Core JavaServer Faces 2nd Edition”
• Recognized speaker in international and local conferences
• Oracle RCF(Rich Client Framework) member
• Krank (CRUD Framework for JSF-Spring-JPA) member
• Sourceforge jsf-comp member
• Spring Security(Acegi) JSF Integration author
• JSF Chart Creator project lead
• FacesTrace project lead
• YUI4JSF project lead
• FC Barcelona Fan
• Blog: http://www.prime.com.tr/cagataycivici
• Prime Technology - 2008
4. History
• Founders: Thomas Spiegl and Manfred Geiler
• 2002 – sourceforge.net
• 2003 – first stable release
• 2004 – Moved to Apache Software Foundation
• 40+ committers
5. Core Implementation
• JSF1.1 (JSR-127) – API&Implementation
• JSF1.2 (JSR-252) – API&Implementation
• JSF 2.0 – Coming soon…
• Certified against the Sun TCK to ensure
compliance
6. Tomahawk
• Extended versions of standard
Components
– <t:inputText />, <t:dataTable />, <t:selectItems />
etc…
• Rich set of custom components
– <t:schedule />, <t:inputDate />, <t:picklist /> etc…
• Tiles support via JSPTilesViewHandler
• Coolest sandbox project ever
• Famous Extensions Filter
12. Trinidad - PageFlowScope
• Pass data between pages
• Multiple windows support
• EL support: #{pageFlowScope.something}
• Not a valid managed-bean scope
• Clear manually
RequestContext requestContext = RequestContext.getCurrentInstance();
requestContext.getPageFlowScope().put(quot;someKeyquot;, someValue);
19. Trinidad – Dialog Framework
• Passing data
<tr:commandButton text=“Select Employeequot;
action=quot;dialog:selectEmployee“
useWindow=“true”
partialSubmit=“true”
returnListener=quot;#{backingBean.handleReturn}”
launchListener=“#{backingBean.handleLaunch}”/>
public void handleLaunch(LaunchEvent event) {
event.getDialogParameters().put(“departmentquot;, getDepartment());
}
• Use pageFlowScope to get the passed data
35. Orchestra
• Spring based
• Long unit of work
• Conversation Scopes Access
– Manual
• Conversation scoped persistence-contexts
– No more Lazy exceptions
• DynaForm
• ViewController
• Multiple window support
• Persistence Context per Conversation
41. IDE Support
• Eclipse Ganymede
– Trinidad
• JDeveloper
– Trinidad
• JBoss Tools (limited)
– Trinidad, Tomahawk, Tobago
42. Help and Support
• Mailing List:
– users@myfaces.apache.org
– Archieved at nabble, mail-archieve
• Issue Tracking: JIRA
• Wiki
– http://wiki.apache.org/myfaces/