Çağatay Çivici [email protected] Çağatay Çivici

Total Page:16

File Type:pdf, Size:1020Kb

Çağatay Çivici Cagatay@Apache.Org Çağatay Çivici PRIMEFACES Çağatay Çivici [email protected] Çağatay Çivici Apache MyFaces PMC “The Definitive Guide to Apache MyFaces and Facelets” Co-Author Reference in “Core JSF 2nd Edition” (Sun Core Series) Technical reviewer of “JBoss Seam and Trinidad” and “Apache MyFaces” books Speaker in JSFOne, JSFDays, universities and local Java Groups. PrimeFaces founder and project lead Krank CRUD framework team member Trainer, Consultant, Mentor FC Barcelona fan Prime Teknoloji (UK-TURKEY) Prime Teknoloji Consulting, Training, Software Development Agile Agile Agile, TDD, Patterns Java EE, JSF, Spring, Seam, JPA www.emlakharitam.com PrimeFaces www.prime.com.tr JSF Joint Strike Fighter Crew: 1 Java Server Faces Standard WEB Framework of JAVA EE Component Oriented Event driven Swing and WEB Apache MyFaces and Sun Mojarra (RI) Vendor support (Sun, IBM, Oracle, JBoss, Apache etc) Apache MyFaces JSF 1.1 ve 1.2 implementation Tomahawk Trinidad Tobago Portlet Bridge RI Orchestra ExtVAL JSF Tools Netbeans JBoss Tools MyEclipse Eclipse WTP JDeveloper IBM RAD IDEA Macromedia Dreamweaver Component Libraries MyFaces Tomahawk MyFaces Trinidad MyFaces Tobago JBoss RichFaces IceFaces Quipukit NetAdvantage WebGalileo PrimeFaces Open Source Rich Components Easy AJAX XML Free JSF Detailed Documentation Not a framework Open Source Model May the source be with you Free :) Apache Software Foundation Experience http://code.google.com/p/primefaces/ Turkey and Open Source Turkish Support Turkish Docs (160 + sayfa) Turkish enabled components Turkish support forum PrimeFaces Modules UI Components Optimus FacesTrace Mutually Exclusive modules Installation 1) Download 2) Logging ve SLF4J 3) Resource Servlet 4) JSP or Facelets Taglib 5) p:resources Let’s ROCK! Manuel Download Google code page: http://code.google.com/p/primefaces/issues/list Maven Download <repository> <id>prime-repo</id> <name>Prime Technology Maven Repository</name> <url>http://repository.prime.com.tr/</url> <layout>default</layout> </repository> <dependency> <groupId>org.primefaces</groupId> <artifactId>primefaces-ui</artifactId> <version>0.8.1</version> </dependency> Resource Servlet Serving packed resources (js, css, ...) <servlet> <servlet-name>Resource Servlet</servlet-name> <servlet-class> org.primefaces.ui.resource.ResourceServlet </servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Resource Servlet</servlet-name> <url-pattern>/primefaces_resources/*</url-pattern> </servlet-mapping> Taglib JSP Taglib <%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %> Facelets Namespace xmlns:p="http://primefaces.prime.com.tr/ui" JSF Page <html xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://primefaces.prime.com.tr/ui"> <head> <p:resources /> </head> <body> <p:editor /> </body> </html> UI Components Rich components Easy AJAX Flash chart components Unobstrusive Javascript Yahoo UI, Prototype, Scriptaculous Rich Components UIAjax DataTable AccordionPanel Dialog AutoComplete Editor Button ImageCropper Calendar Menu Captcha Panel Carousel Poll Charts Resizable ColorPicker Slider ConfirmDialog Tabview Tooltip Tree Easy AJAX Partial Page Rendering - PPR Declarative AJAX Ajax Update <h:form prependId=”false”> <h:inputText value="#{createUser.name}" /> <p:button value="Save" update="name" async="true"/> <h:outputText id=”name” value="#{createUser.name}" /> </h:form> Ajax Status Displaying Ajax request status Global Ajax Request indicator <p:ajaxStatus> <f:facet name="start"> <h:graphicImage value="ajaxloadingbar.gif" /> </f:facet> <f:facet name="complete"> <h:outputText value="User Saved" /> </f:facet> </p:ajaxStatus> Ajaxify Enables ajax on standard JSF components <h:inputText value="#{createUser.name}"> <p:ajax event="keyup" update="name" /> </h:inputText> <h:outputText id="name" value="# {createUser.name}" /> Trigger on any DOM event blur, keyup, click, change Ajaxify Remoting Invoking Java methods with JavaScript <h:inputText value="#{createUser.name}"> <p:ajax event="blur" update="name" actionListener="# {createUser.checkUser}"/> </h:inputText> <h:outputText id="name" value="# {createUser.name}" /> public void checkUser(ActionEvent actionEvent) { //Check } Ajax Polling Periodical Ajax Requests <h:form prependId="false"> <h:outputText id="number" value="# {counter.number}" /> <p:poll frequency="3" actionListener="# {counter.increment}" update="number" /> </h:form> private int number; public void increment(ActionEvent actionEvent) { number++; } Graphs Chart components (Pie, Line, Column and more) Interactive Live data display Pie Chart Example private List<Sale> sales; public SaleReport() { sales = new ArrayList<Sale>(); sales.add(new Sale("Brand 1", 540)); sales.add(new Sale("Brand 2", 325)); sales.add(new Sale("Brand 3", 702)); sales.add(new Sale("Brand 4", 421)); } <p:pieChart value="#{saleReport.sales}" var="sale" categoryField="#{sale.brand}" dataField="#{sale.amount}" /> Interactive Charts ItemSelectEvent <p:pieChart value="#{salesReport.sales}" var="sale" categoryField="#{sale.brand}" dataField="#{sale.amount}" itemSelectListener="#{salesReport.selectSeries}" update="info" /> <h:outputText id="info" value="#{salesReport.message}" /> private String message; public void selectSeries(ItemSelectEvent event) { mesaj = "Item Index: " + event.getItemIndex() + ", Series Index:" + event.getSeriesIndex(); } Live Data <p:pieChart value="#{votesReport.votes}" var="vote" live="true" refreshInterval="5000" categoryField="#{vote.candidate}" dataField="#{vote.amount}" /> Skinning Before After UI Components DEMO Javascript and PrimeFaces YUI, Prototype, Scriptaculous PrimeFaces Namespace and Javascript API PrimeFaces.widget.* PrimeFaces.ajax.* Unobstrusive Javascript PrimeFaces.widget.* PrimeFaces widgets Example: PrimeFaces.widget.Editor <script type=”text/javascript”> var editor = new PrimeFaces.widget.Editor(...); </script> PrimeFaces.ajax.* Ajax API PrimeFaces.ajax.AjaxUtils PrimeFaces.ajax.AjaxRequest PrimeFaces.ajax.AjaxResponse <script type=”text/javascript”> PrimeFaces.ajax.AjaxRequest(url, config, params); </script> Unobstrusive Javascript Vanilla JSF <h:commandbutton value=”Submit” onclick=”alert(‘Barca’)” /> <input type=”submit” name=”_id1” value=”Submit” onclick=”alert(‘Barca’)” /> PrimeFaces <p:button value=”Submit” onclick=”alert(‘Barca’)” /> <button type=”submit” name=”_id1” value=”Submit”/> YAHOO.util.Event.addListener(“_id1”,”click”, function(e) { alert(‘Barca’);} Optimus Non rendering goodies Guice integration Validators XML-free JSF PDF and Excel export Security Extensions and AOP Google Guice Integration Guice based JSF beans @Controller for <managed-bean /> Dependency Injection Aspect Oriented Programming Vanilla JSF 1.x Managed-Bean CreateUser.java package fc.barcelona; public class CreateUser { ... } faces-config.xml <managed-bean> <managed-bean-name>createUser</managed-bean-name> <managed-bean-class>fc.barcelona.CreateUser</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> createUser.xhtml <h:inputText value=”#{createUser.user.name}” /> Optimus IOC CreateUser.java package fc.barcelona; @Controller(name=”createUser”, scope=Scope.REQUEST) public class CreateUser { ... } faces-config.xml createUser.xhtml <h:inputText value=”#{createUser.user.name}” /> Controller name scope Request Session Application View startup: Initiate on application startup Classpath scanning Scan specific packages <context-param> <param-name>optimus.SCAN_PATH</param-name> <param-value>org.sopranos.project.ui</param-value> </context-param> package org.sopranos.project.ui; @Controller(name=”createUser”, scope=Scope.REQUEST) public class CreateUser { ... } Dependency Injection CreateUser UserDAO userDAO implements UserDAOJPA Dependency Injection public interface UserDAO { public void save(User user); } public interface UserDAOJPA implements UserDAO { public void save(User user) { //Persist with JPA, EntityManager.persist(user) } } public class MainAppModule implements Module{ public void configure(Binder binder) { binder.bind(userDAO.class).to(UserDAOJPA.class).in(Scopes.SINGLETON); } } <context-param> <param-name>optimus.CONFIG_MODULES</param-name> <param-value>org.sopranos.moviestore.MainAppModule </param-value> </context-param> Simple Injection No getter and setter package fc.barcelona; //imports @Controller(name=”createUser”, scope=Scope.REQUEST) public class CreateUser { @Inject private UserDAO userDAO; //Other stuff public String saveUser() { userDAO.save(user); } } Setter Enjeksiyonu package fc.barcelona; //imports @Controller(name=”createUser”, scope=Scope.REQUEST) public class CreateUser { private UserDAO userDAO; @Inject public void setUserDAO(UserDAO userDAO) { this.userDAO = userDAO; } //Other stuff public String saveUser() { userDAO.save(user); } } Constructor Injection package fc.barcelona; //imports @Controller(name=”createUser”, scope=Scope.REQUEST) public class CreateUser { private UserDAO userDAO; @Inject public CreateUser(UserDAO userDAO) { this.userDAO = userDAO; } //Other stuff public String saveUser() { userDAO.save(user); } } JPA Support persistence.xml <?xml version="1.0" encoding="UTF-8"?> <persistence-unit name="examplesApplication" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <class>org.primefaces.examples.domain.Movie</class> <properties> <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/> <property name="hibernate.connection.url" value="jdbc:hsqldb:mem:jpabox"/> <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver"/>
Recommended publications
  • JSR 378 Review
    JSR 378 Review January 11, 2017 Neil Griffin Specification Lead Liferay, Inc. About JSR 378 • Title: Portlet 3.0 Bridge for JavaServerTM Faces 2.2 Specification • Goal: To define the requirements for a portlet bridge that enables webapp developers to deploy their JSF applications as portlets with little-to-no modification 2 Introduction • JSR 378 builds on top of JSR 329: Portlet 2.0 Bridge for JSF 1.2 • Portlet 3.0 and JSF 2.2 both target Java EE 7, so the bridge targets Java EE 7 as well • This JSR is not included with the Java EE platform 3 Business/marketing/ecosystem justification • Q: Why do this JSR? • JSR 329 was released in 2011 and the JSF Portlet Bridge has not kept pace with the Portlet and JSF specifications • Account for major version increase from Portlet 2.x to 3.x • Account for major version increase from JSF 1.x to 2.x • Account for minor version increase from JSF 2.0 to 2.2 • Q: What’s the need? • Since JSF and Portlets are both standards-based, developers need a standards-based way to deploy JSF applications as a portlets • Q: How does it fit in to the Java ecosystem? • Integrates javax.faces-api and javax.portlet-api • Java-based portals become a deployment option for JSF applications • Supports a variety of JSF component suites from the ever-vibrant JSF ecosystem • Q: Is the idea ready for standardization? • Standardization began with JSR 329 4 History • JSR Review: 20 Jul, 2015 • JSR Review Ballot: 03 Aug, 2015 • Expert Group Formation Complete: 10 Dec, 2015 • JSR Renewal Ballot: 17 Oct, 2016 Portlet 3.0 Testing
    [Show full text]
  • Return of Organization Exempt from Income
    OMB No. 1545-0047 Return of Organization Exempt From Income Tax Form 990 Under section 501(c), 527, or 4947(a)(1) of the Internal Revenue Code (except black lung benefit trust or private foundation) Open to Public Department of the Treasury Internal Revenue Service The organization may have to use a copy of this return to satisfy state reporting requirements. Inspection A For the 2011 calendar year, or tax year beginning 5/1/2011 , and ending 4/30/2012 B Check if applicable: C Name of organization The Apache Software Foundation D Employer identification number Address change Doing Business As 47-0825376 Name change Number and street (or P.O. box if mail is not delivered to street address) Room/suite E Telephone number Initial return 1901 Munsey Drive (909) 374-9776 Terminated City or town, state or country, and ZIP + 4 Amended return Forest Hill MD 21050-2747 G Gross receipts $ 554,439 Application pending F Name and address of principal officer: H(a) Is this a group return for affiliates? Yes X No Jim Jagielski 1901 Munsey Drive, Forest Hill, MD 21050-2747 H(b) Are all affiliates included? Yes No I Tax-exempt status: X 501(c)(3) 501(c) ( ) (insert no.) 4947(a)(1) or 527 If "No," attach a list. (see instructions) J Website: http://www.apache.org/ H(c) Group exemption number K Form of organization: X Corporation Trust Association Other L Year of formation: 1999 M State of legal domicile: MD Part I Summary 1 Briefly describe the organization's mission or most significant activities: to provide open source software to the public that we sponsor free of charge 2 Check this box if the organization discontinued its operations or disposed of more than 25% of its net assets.
    [Show full text]
  • Glassfish, Primefaces. Building Applications for the Java
    Glassfish, PrimeFaces. Building Applications for the Java Enterprise Edition 6 (code: PRIMEFACES-GLASSFISH) Ask for details Phone +44 203 608 6289 Overview [email protected] At the end of the course participants will be able to build and deploy enterprise web applications based on the Java Enterprise Edition 6. The course strives to be vendor-neutral, so instead of proprietary tools only the official Java EE 6 SDK will be used (comprising of Netbeans IDE and Glassfish server.) In addition to the functional but devoid of eye-candy controls provided by the standard JSF platform, participants will be using rich components from the Primefaces component suite. The training covers the three layers of a typical enterprise application: — domain model, mapped to a relational database, — services implementing the business logic, — rich user interface available via web. Parts of the application are built with three fundamental and a number of supporting technologies: — EJB 3.1 (Enterprise Java Beans), — JSF 2.1 (JavaServer Faces), — JPA 2 (Java Persistence Architecture). — EL, JSR-303, JTA, JNDI, CDI. Knowledge acquired during the training can be applied in any standard Java EE 6 environment, using not only Glassfish, but also JBoss AE, Weblogic, Websphere, TomEE, Resin and any other EE6 certified application server. Also, in addition to Primefaces, any other component suite can be used, such as IceFaces, RichFaces Duration 4 days Agenda 1. High-level overview of the Java EE6 ecosystem, implementations and vendors: — common architecture of EE6-style
    [Show full text]
  • IBM Websphere Application Server Community Edition V3.0 Helps Streamline the Creation of Osgi and Java Enterprise Edition 6 Applications
    IBM United States Software Announcement 211-083, dated September 27, 2011 IBM WebSphere Application Server Community Edition V3.0 helps streamline the creation of OSGi and Java Enterprise Edition 6 applications Table of contents 1 Overview 6 Technical information 2 Key prerequisites 8 Ordering information 2 Planned availability date 9 Services 3 Description 9 Order now 6 Product positioning At a glance With WebSphere® Application Server Community Edition V3.0: • Developers can select just the components they need for optimum productivity (using OSGi and a component assembly model). • Developers can get JavaTM Enterprise Edition (Java EE) 6 applications started quickly for no charge. • System administrators are given more deployment and management options. • Organizations can take advantage of world-class, IBM® support options under a socket-based pricing model that can help reduce the cost burden in larger configurations. • You have access to a comprehensive and proven portfolio of middleware products from the WebSphere family. Overview WebSphere Application Server Community Edition V3.0 is the IBM open source- based application server that provides: • Java Enterprise Edition (Java EE) 6 support • An enterprise OSGi application programming model • Java Standard Edition (Java SE) 6 support Version 3 is built on Apache Geronimo and integrated with best-of-breed, open- source technology such as Apache Tomcat, Eclipse Equinox OSGi Framework, Apache Aries, Apache OpenEJB, Apache OpenJPA, Apache OpenWebBeans, and Apache MyFaces. Eclipse-based
    [Show full text]
  • Jsf Richfaces Jar Download
    Jsf richfaces jar download RichFaces Downloads. It is highly recommended to use the latest stable releases as each release contains many bug fixes, features, and updates.​Stable Downloads · ​Archive Releases · ​Development Milestones. Final release, which introduces basic JSF 2 support to the Downloads: 0. Theme Package, Set of provided, and sample page themes, LGPL Download : richfaces «r «Jar File Download. META-INF/resources/ META-INF/resources/ : richfaces «r «Jar File Download. Files contained in : META-INF/ META-INF/ Files contained in : META-INF/ Download : richfaces «r «Jar File Download. META-INF/resources/ Files contained in : META-INF/ META-INF/maven/ The RichFaces Framework and Component Suite. Contains all project specific sources. Files, Download (JAR) ( MB). Repositories, CentralJBoss tories​: ​CentralCentralJBoss Releases. Final. JSF Ajax Framework Implementation Files, Download (JAR) ( MB). Repositories Practical RichFaces (Expert's Voice in Java Technology) (). Download JSF /RichFaces Jars for free. Jar(s) for JSF This project contains all required JAR(s) for JSF and RichFaces Download JAR file jsf-richfaces-spring-boot-starter with all dependencies. Source of jsf-richfaces-spring-boot-starter. These are the files of the artifact jsf-richfaces-spring-boot-starter version from the group ces. Download these version by clicking on the download. Project: ork/richfaces-api, version: Source download: Release date: 6 April richfaces - RichFaces 5 - The next-generation JSF component framework by JBoss, Alternatively, if you are not using maven, you can download the project ZIP. it in my NetBeans project on JSF , many exceptions, many unrecognizable stack traces. Anyway, here are the three needed jars, download them: guava-rjar sacjar.
    [Show full text]
  • Plný Text Práce
    Masarykova univerzita Fakulta}w¡¢£¤¥¦§¨ informatiky !"#$%&'()+,-./012345<yA| Pˇr´ıstupnostwebov´ych aplikac´ı postaven´ych na aplikaˇcn´ıch r´amc´ıch Diplomova´ prace´ Michal Bureˇs Brno, 2013 Prohl´aˇsen´ı Prohlaˇsuji,ˇzetato diplomov´apr´aceje m´ymp˚uvodn´ım autorsk´ymd´ılem, kter´ejsem vypracoval samostatnˇe.Vˇsechny zdroje, prameny a literaturu, kter´ejsem pˇrivypracov´an´ı pouˇz´ıval nebo z nich ˇcerpal,v pr´aciˇr´adnˇecituji s uveden´ım´upln´ehoodkazu na pˇr´ısluˇsn´y zdroj. Vedouc´ı pr´ace: Mgr. LudˇekB´artek,Ph.D. ii Podˇekov´an´ı Chtˇelbych podˇekovat vedouc´ımu pr´aceMgr. Lud’ku B´artkovi za cenn´epˇripom´ınkyk m´e diplomov´epr´aci. iii Shrnut´ı C´ılemt´etopr´aceje zmapovat problematiku pˇr´ıstupnosti webov´ych aplikac´ıvyv´ıjen´ych s pouˇzit´ımaplikaˇcn´ıch r´amc˚u.Pr´acepˇredstavuje pojem pˇr´ıstupnosta pod´av´a´uvod do relevantn´ıch standard˚ua technologi´ıv kontextu Internetu a webov´ych aplikac´ı.N´aslednˇe je definov´anasada krit´eri´ıpro hodnocen´ıaplikaˇcn´ıch r´amc˚uz hlediska podpory tvorby pˇr´ıstupn´ych aplikac´ı.J´adrempr´aceje anal´yzavybran´eskupiny aplikaˇcn´ıch r´amc˚una z´akladˇetˇechto krit´eri´ı.Souˇc´ast´ıpr´acejsou tak´edvˇeuk´azkov´eaplikace, kter´eprakticky demonstruj´ıtechniky pro tvorbu pˇr´ıstupn´ych aplikac´ıv r´amc´ıch Google Web Toolkit a Apache Flex. iv Kl´ıˇcov´aslova pˇr´ıstupnost,webov´eaplikace, asistivn´ıtechnologie, webov´eaplikaˇcn´ır´amce,WAI-ARIA, WCAG, WCAG 2.0, JavaServer Faces, Google Web Toolkit, Cappucino, Flex, Silverlight, JavaFX, JQuery UI v Obsah 1 Uvod´ ......................................... 3 2 Od webovych´ str´anek k aplikac´ım ......................
    [Show full text]
  • JSF + Bootstrap 3 Building a More Responsive Design
    JSF + Bootstrap 3 Building a more responsive design KCDC Presentation Brandon Klimek Thursday, June 25, 2015 at 10:10 am www.sixthpoint.com Agility. Delivered. Titanium Sponsors Platinum Sponsors Gold Sponsors Precursor State of the Web Where are we headed? Why? http://www.wired.com/2015/05/google-now-io/ Agility. Delivered. Agenda Introduction ● Java Server Faces ● Bootstrap 3 ○ Bootstrap CSS grid and other form classes ● Font Awesome ○ Best practice to implement in JSF Leveraging Bootstrap with JSF ● Bootstrap validation using component bindings ● Responsive Bootstrap modals What are they? How do you use them together? Agility. Delivered. Example App Agility. Delivered. Example App Agility. Delivered. Example App Cover best practices Lots of other JSF component libraries ● Bootstrap validation using component bindings ● Primefaces ● Font awesome icons usage ● Icefaces ● Bootstrap CSS grid and other form classes ● Richfaces ● Responsive Bootstrap modals Agility. Delivered. Example App Software Used ● Netbeans 8 ● TomEE 1.7 ● MySQL ● JSF 2.0 ● Deltaspike 1.4 (used for viewscoped) ● Bootstrap 3 ● Font Awesome 4.2 Agility. Delivered. Java Server Faces What is JSF? Java specification for building component-based user interfaces for web applications. It gives you the tools to communicate with java backing beans. JSF has all the javascript behind the scenes, creates the endpoints from JSF managed beans, and wires it all together. A brief history ○ JSF 1.0 - 2004 ■ Starting point, major drawback that got alot of criticism was no inline html
    [Show full text]
  • Richfaces Developer Guide
    RichFaces Developer Guide RichFaces framework with a huge library of rich components and skinnability support RichFaces Developer Guide 1. Introduction ................................................................................................................... 1 2. Technical Requirements ................................................................................................. 3 2.1. Supported Java Versions .................................................................................... 3 2.2. Supported JavaServer Faces Implementations and Frameworks ............................ 3 2.3. Supported Servers .............................................................................................. 3 2.4. Supported Browsers ............................................................................................ 4 3. Getting Started with RichFaces ...................................................................................... 5 3.1. Downloading the RichFaces ................................................................................ 5 3.2. Simple JSF application with RichFaces ................................................................ 5 3.2.1. Adding RichFaces libraries into the project ................................................ 5 3.2.2. Registering RichFaces in web.xml ............................................................. 6 3.2.3. Managed bean ......................................................................................... 8 3.2.4. Registering bean in faces-cofig.xml ..........................................................
    [Show full text]
  • Mobile Developer's Guide for Oracle Application Development Framework 11G Release 1 (11.1.1) E10140-02
    Oracle® Fusion Middleware Mobile Developer's Guide for Oracle Application Development Framework 11g Release 1 (11.1.1) E10140-02 May 2009 Oracle Fusion Middleware Mobile Developer's Guide for Oracle Application Development Framework 11g Release 1 (11.1.1) E10140-02 Copyright © 2009, Oracle and/or its affiliates. All rights reserved. Primary Author: John Bassett Contributing Author: Tadashi Enomori This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007).
    [Show full text]
  • David Blevins Apache Software Foundation @Dblevins @Apachetomee #Tomee
    Apache TomEE Tomcat with a Kick David Blevins Apache Software Foundation @dblevins @ApacheTomEE #TomEE Monday, August 8, 2011 Apache TomEE: Overview . Pronounced “Tommy” - short for Tomcat EE . Java EE 6 Web Profile certification in progress . Apache TomEE includes support for: - Servlet 3.0 (Apache Tomcat) - JPA 2.0 (Apache OpenJPA) - JSF 2.0 (Apache MyFaces) - CDI 1.0 (Apache OpenWebBeans) - EJB 3.1 (Apache OpenEJB) - JMS (Apache ActiveMQ) - WebServices (Apache CXF) s.apache.org/tomee-retweet Monday, August 8, 2011 Apache TomEE: Overview . Certify, certify, certify . Preserve Tomcat - Leverage Tomcat JNDI, Security, everything - Get more, don’t give up anything - Add extras without removing anything - No need to learn a new server environment . Lightweight - 45MB zip (will be trimmed further) - Runs with no extra memory requirements (default 64MB) . Existing IDE tools for Tomcat should also work with TomEE s.apache.org/tomee-retweet Monday, August 8, 2011 Apache TomEE: Web Profile Certification Status . We can’t say (them’s the rules) . Work being done on Amazon EC2 - t1.micro linux images, lot’s of them - 100 going at once! - Each has 613BM memory max - Though TomEE runs with default memory options (64MB) - It’s quick! . Will be Cloud certified! . Wish we could show you the setup (sorry, also the rules) s.apache.org/tomee-retweet Monday, August 8, 2011 Apache TomEE: History . Predates Java EE 6 Web Profile . Previously known as OpenEJB-Tomcat integration - or ... OpenEJB-OpenJPA-ActiveMQ-CXF-DBCP-Tomcat integration - Tomcat EE (TomEE) is more accurate - Origin of EE 6 “EJBs in .wars” feature, aka Collapsed EAR . Drop-in-war for any Tomcat version: - Tomcat 5.5.x - Tomcat 6.x - Tomcat 7.x .
    [Show full text]
  • Jakartaee and the Road Ahead an ASF View Mark Struberg, RISE Gmbh, Apache Software Foundation, INSO TU Wien
    JakartaEE and the road ahead An ASF View Mark Struberg, RISE GmbH, Apache Software Foundation, INSO TU Wien About me ● Mark Struberg ● 25 years in the industry ● Apache Software Foundation member ● struberg [at] apache.org ● RISE GmbH employee ● TU-Wien / INSO researcher ● Committer / PMC for Apache OpenWebBeans, MyFaces, TomEE, Maven, OpenJPA, BVal, Isis, DeltaSpike, JBoss Arquillian, ... ● Java JCP Expert Group member and spec lead ● MicroProfile Spec Author ● Twitter: @struberg Agenda ● History of JavaEE ● JakartaEE HowTo? ● What about MicroProfile ● ASF involvement ● ASF projects ● Modern EE stacks @ASF JakartaEE The History of JavaEE ● 1998 - First Specifications, e.g. EJB1 ● 2003 - Spring Framework ● 2006 - JavaEE 5 – first really usable release ● 2009 - JavaEE 6 – really usable, CDI-1.0, JAX-RS, Interceptors, etc ● 2013 - JavaEE 7 – 'Cloud Release wannabe' (aka Rohrkrepierer) ● 2017 - JavaEE 8 – JSON-P-1.1, JSON-B-1.0 – smallish updates, mainly community driven JakartaEE ● late 2017 Oracle decided moving JavaEE to OSS ● Hosted by the Eclipse Foundation ● 'Jakarta' mark sponsored by the ASF ● Next planned release is Jakarta EE9 – EE8 plus minor fixes Governance Model of JakartaEE ● Eclipse EE4J project ● Charter not yet final afaik ● 4 committees: – Steering Committee – Specification Committee – Marketing Committee – Enterprise Requirements Committee ● Plus the single projects (specs) -> real work done ● A seat on the Committees requires to be a 'Strategic Member' -> big $$ per year JakartaEE benefits ● OSS governance (sort of...)
    [Show full text]
  • Menco Haeckermann, Andrés Guillermo Senior Elles, Lercy Elvira
    TUTORIAL SOBRE EL ESTUDIO DEL FRAMEWORK MYFACES TOMAHAWK DE JAVA PARA LA CREACIÓN DE APLICACIONES WEB EN JSF Menco Haeckermann, Andrés Guillermo Senior Elles, Lercy Elvira Vásquez, Giovanni Director UNIVERSIDAD TECNOLÓGICA DE BOLÍVAR FACULTAD DE INGENIERÍA MINOR DE APLICACIONES DISTRIBUIDAS CARTAGENA DE INDIAS D.T. Y C. 2008 LISTA DE FIGURAS Y TABLAS FiguraT 1. Paso 1 integración Myfaces con Netbean T .........................................................16 FiguraT 2. Paso 2 integración Myfaces con Netbean T .........................................................17 FiguraT 3. Paso 3 integración Myfaces con NetbeanT ..........................................................18 FiguraT 4. Paso 4 integración Myfaces con Netbean T .........................................................19 FiguraT 5. Paso 5 integración Myfaces con Netbean T .........................................................20 FiguraT 6. Paso 6 integración Myfaces con Netbean T .........................................................21 FiguraT 7. Paso 7 integración Myfaces con Netbean T .........................................................21 FiguraT 8. Paso 8 integración Myfaces con Netbean T .........................................................22 FiguraT 9. Paso 9 integración Myfaces con Netbean T .........................................................25 TablaTU 1. AtributosU componente jscook MenuT .......................................................................30 TablaTU 2. AtributosU componente tree T ......................................................................................34
    [Show full text]