Apache Trinidad + Facelets + JPA + JasperReport.ppt
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Apache Trinidad + Facelets + JPA + JasperReport.ppt

on

  • 6,812 views

 

Statistics

Views

Total Views
6,812
Views on SlideShare
6,546
Embed Views
266

Actions

Likes
2
Downloads
153
Comments
0

24 Embeds 266

http://albert-myptc.blogspot.com 141
http://infonet-01.blogspot.com 37
http://www.slideshare.net 27
http://albert-myptc.blogspot.tw 15
http://albert-myptc.blogspot.com.br 9
http://albert-myptc.blogspot.in 6
http://infonet-01.blogspot.fr 5
http://albert-myptc.blogspot.mx 3
http://albert-myptc.blogspot.fr 3
http://www.slideee.com 3
http://www.health.medicbd.com 3
http://albert-myptc.blogspot.jp 2
http://albert-myptc.blogspot.hu 1
http://albert-myptc.blogspot.ch 1
http://albert-myptc.blogspot.fi 1
http://albert-myptc.blogspot.it 1
http://albert-myptc.blogspot.ae 1
http://albert-myptc.blogspot.ru 1
http://infonet-01.blogspot.kr 1
http://albert-myptc.blogspot.co.at 1
http://translate.googleusercontent.com 1
http://albert-myptc.blogspot.de 1
url_unknown 1
http://infonet-01.blogspot.be 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Apache Trinidad + Facelets + JPA + JasperReport.ppt Presentation Transcript

  • 1. Albert Guo
  • 2.
    • Scenario
    • Prerequisites
    • Implementation Process
      • Config web.xml
      • Config faces-config.xml
      • Create entities and DAOs by MyEclipse
      • Create PDMCarBean
      • Register PDMCarBean to faces-confg.xml
      • Create xhtml page
      • Testing
  • 3.
  • 4. Prerequisites
    • Jar files for presentation tier
      • Trinidad-api-1.2.10.jar
      • Trinidad-impl-1.2.10.jar
      • JSF 1.1/1.2 Support (NetBeans Build-in)
      • JSF 1.2 (NetBeans Build-in)
      • Facelets 1.1.14 (NetBeans Build-in)
    • J ar files for persistence tier
      • TopLink Essentials (NetBeans Build-in)
    • J ar files for jasper report
      • iText-2.1.3.jar
      • iText-rtf-2.1.3.jar
      • iText-rups-2.1.3.jar
      • itextasian-1.5.2.jar
      • jasperreports-3.1.0.jar
      • jasperreports-3.1.0-javaflow.jar
      • jasperreports-3.1.0-applet.jar
    • J ar files for utility classes
      • commons-javaflows.jar
      • commons-beanutils.jar
      • commons-collections.jar
      • commons-digester.jar
      • commons-lang.jar
      • commons-logging.jar
      • joda-time-1.5.2.jar
      • log4j.jar
  • 5.  
  • 6.  
  • 7.
    • <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
    • <web-app version=&quot;2.5&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;>
    • <context-param>
    • <param-name>com.sun.faces.verifyObjects</param-name>
    • <param-value>true</param-value>
    • </context-param>
    • <context-param>
    • <param-name>com.sun.faces.validateXml</param-name>
    • <param-value>true</param-value>
    • </context-param>
    • <context-param>
    • <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    • <param-value>.xhtml</param-value>
    • </context-param>
    • <context-param>
    • <param-name>facelets.DEVELOPMENT</param-name>
    • <param-value>false</param-value>
    • </context-param>
    • <context-param>
    • <param-name>facelets.SKIP_COMMENTS</param-name>
    • <param-value>true</param-value>
    • </context-param>
  • 8.
    • <!-- Trinidad -->
    • <context-param>
    • <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
    • <param-value>com.sun.facelets.FaceletViewHandler</param-value>
    • </context-param>
    • <context-param>
    • <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    • <param-value>client</param-value>
    • </context-param>
    • <context-param>
    • <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name>
    • <param-value>false</param-value>
    • </context-param>
    • <context-param>
    • <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
    • <param-value>false</param-value>
    • </context-param>
    • <context-param>
    • <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
    • <param-value>session</param-value>
    • </context-param>
    • <!-- Trinidad -->
    • <filter>
    • <filter-name>trinidad</filter-name>
    • <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    • </filter>
    • <filter-mapping>
    • <filter-name>trinidad</filter-name>
    • <servlet-name>faces</servlet-name>
    • </filter-mapping>
  • 9.
    • <servlet>
    • <servlet-name>resources</servlet-name>
    • <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    • </servlet>
    • <servlet-mapping>
    • <servlet-name>resources</servlet-name>
    • <url-pattern>/adf/*</url-pattern>
    • </servlet-mapping>
    • <servlet>
    • <servlet-name>Faces Servlet</servlet-name>
    • <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    • <load-on-startup>1</load-on-startup>
    • </servlet>
    • <servlet-mapping>
    • <servlet-name>Faces Servlet</servlet-name>
    • <url-pattern>*.jsf</url-pattern>
    • </servlet-mapping>
    • <welcome-file-list>
    • <welcome-file>forward.jsp</welcome-file>
    • </welcome-file-list>
    • </web-app>
  • 10.  
  • 11.
    • <?xml version='1.0' encoding='UTF-8'?>
    • <faces-config version=&quot;1.2&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;
    • xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
    • xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd&quot;>
    • <application>
    • <!-- Use the Trinidad RenderKit -->
    • <default-render-kit-id>
    • org.apache.myfaces.trinidad.core
    • </default-render-kit-id>
    • </application>
    • </faces-config>
  • 12.  
  • 13.  
  • 14.  
  • 15.  
  • 16.  
  • 17.  
  • 18.  
  • 19.  
  • 20.  
  • 21.  
  • 22.  
  • 23.  
  • 24.  
  • 25.  
  • 26.  
  • 27.  
  • 28.