Eclipse Web Tools Platform Naci Dai (Eteration), WTP JST Lead 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0 Istanbul April 30, 2007
Outline WTP Organization JSF Overview and Demo JPA Overview and Demo ATF Overview 2 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
WTP Organization WTP provides tools for Java Web application development Tools for application developers Platform for tool developers/adopting companies Subprojects in Europa Release Web Standard Tools IETF, W3C, OASIS, WS-I, ANSI, etc JEE / J2EE Standard Tools JCP, JSF - Java Server Faces tools JPA (Dali) - JPA Persistence tools Incubating subprojects allow new technologies to grow ATF - AJAX-related tools and APIs 3 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
Outline WTP Organization JSF Overview and Demo JPA Overview and Demo ATF Overview 4 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
JSF Tools Project Overview Project Vision Provide comprehensive support to the Eclipse Web Tools Project to simplify development and deployment of JavaServer Faces (JSF) applications. 5 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
JSF Tools Features JSF-JSP Source Editor Features Enhance productivity for JSF users Simplify JSF tooling extensions for 3 rd party adopters Examples of user functionality: Component palette Content assist ( Bean Tags) Quick Assist and Quick Fix Hyperlink JSF page validation Refactoring support JSF Search Page Visual editor for page flow Faces-Config Editor JSF library registry 6 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
More Information The JSF Tools Project: http://www.eclipse.org/webtools/jsf/ JavaServer Faces (JSR-127 & JSR 252): http://www.jcp.org JSF Central (Community Website): http://jsfcentral.com DEMO 7 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
Outline WTP Organization JSF Overview and Demo JPA Overview and Demo ATF Overview 8 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
JPA (Dali) Project Overview Project Vision JPA supports The Persistence of Memory. Dali provides end user tools and APIs to build JPA applications in a very productive way 9 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
Essential JPA and Dali JPA Object-Relational Mappings The JPA Programmer API Deployment Configuration 10 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
JPA Runtime JPA is a spec not an implementation To run JPA applications you need a runtime a Persistence JPA Provider similar to needing an XML parser or JDBC driver Many JPA runtimes are open source, e.g.: TopLink Essentials OpenJPA Hibernate Entity Manager JPA runtime jar(s) When developing for a Java EE 5 application server the necessary jars will be included in the server classpath 11 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
JPA Entity @Entity public class Address { } @Id private int id; private String street; private String city; private String state; private String country; 12 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
Dali Mapping Assistance Persistence Properties View 13 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
More Information The Dali Project: http://www.eclipse.org/dali/ DEMO 14 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
AJAX Project Overview Project Vision Improve productivity for AJAX developers and to enable 3rd parties to provide high-quality value added features Tools to develop any DHTML/AJAX application Tooling to facilitate use of various AJAX toolkits Tight integration with existing user interface and development paradigms Targets AJAX application developers (users), tool vendors (adopters), and AJAX library authors who want to provide tooling for their runtimes 15 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
AJAX Toolkit Framework are Eclipse Plugins E C L I P S E AJAX Toolkit Framework Eclipse WebTools Mozilla XULRunner & Javaconnect ATF builds on WTP deployment and editing infrastructure ATF uses an embedded Mozilla browser for debugging and DOM inspection 16 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
AJAX Toolkit Framework Components Eclipse Plugins Java Script Debugger DOM Inspector And JavaScript Console JavaScript Syntax Validator Personalities Personality Builder Embedded Mozilla Browser Rico Personality Zimbra Personality Dojo Personality Another Personality Rico Zimbra Dojo Ajax-x Personality Common Libraries Mozilla XULRunner & JavaConnect Eclipse WebTools 17 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
AJAX Toolkit Framework Components Project and Application Creation Project creation, Drag and Drop application snippets Embedded Mozilla Browser Run/Debug an Ajax application in the embedded Mozilla browser Browser Tooling DOM Source view, DOM Inspector, Browser Console, XHRequest Monitor, and CSS Tools JavaScript Editor Integrated JavaScript editor with batch and as-you-type syntax validation JavaScript Debugger Stack frame, variables and script views; breakpoints and browser control Application Deployment Deployment of an AJAX application to a server. Personality Builder Ability to create tooling for new AJAX toolkits (runtime libraries) 18 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
Project and Application Creation Built in support for three AJAX runtimes today Dojo, Rico, and Zimbra Personality Builder simplifies adding new runtimes Eclipse Project Integration Static Web, Dynamic Web, or PHP project can be AJAXenabled Support can be added to existing projects Application Creation Wizard Template to create initial AJAX-enabled application Drag and Drop snippets to source file 19 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
Browser Tooling CSS View Style Rules Shows the rules and their defined properties Able to edit and add a property Open CSS file for the rule and property Highlights the DOM elements using a selected style rule or property Computed Styles Shows every style rule computed by the browser Box Model Shows the dimensions, x-y coordinates, padding, border, and margin information Diffs 20 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
JavaScript Editor Enhanced Editor with Validation Integrated JavaScript editor Batch and as-you-type syntax validation Syntax checker based on the Mozilla Rhino engine Validator based on JSLint Detects undesirable or ambiguous constructs considered to be bad practice JSLint errors are consider warnings. Drag and Drop snippets to Application Source File 21 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
URL Debugging/Running HTTP or File URL support Able to launch and debug an AJAX application using a URL Application doesn t have to reside in eclipse All tooling supports handling files by URL Editor Debugger Browser tooling Breakpoint Management User has to manually delete breakpoints 22 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0
More Information www.eclipse.org/webtools Downloads at: http://download.eclipse.org/webtools/downloads/ 23 WTP 2007 by Naci Dai and Eteration A.S. ; made available under the EPL v1.0