eclipse: what’s new in 3.1 (excerpt covering web tools) Erich Gamma IBM Research – OTI Labs Eclipse Project Management Committee erich_gamma@ch.ibm.com Jochen Krause Innoopract Informationssysteme Web Tools Project Management Committee jkrause@innoopract.com © 2005 IBM Corporation, Innoopract GmbH outline what is new in the eclipse platform 3.1 what is new in the eclipse webtools platform 1.0 © 2005 IBM Corporation, Innoopract GmbH what is webtools? tools & platform for web development tools to make web artifacts first class citizens of the eclipse ide a platform for tool developers web standard tools (WST) XML, DTD, Schema, HTML, JavaScript, CSS Internet Browser, Web Services, (SQL) j2ee standard tools (JST) Servlets, JSPs, EJBs Server Support (run, debug) Java Web Services © 2005 IBM Corporation, Innoopract GmbH looking back first anouncement of a web tools project almost 2 years ago scope not clearly defined no resources available project was “drifting” along without much happening but a couple of changes in leadership eclipsecon 2004 was starting point for project reboot ObjectWeb took initial leadership, IBM contributed code and resources, companies like eteration, Innoopract and others are contributing real project start in july 2004 BEA took co-lead with ObjectWeb in febuary 05 © 2005 IBM Corporation, Innoopract GmbH project scope W3C, OASIS,.. de jure WST HTML, XML, CSS, JS, WSDL, SOAP, UDDI JCP – J2EE JST Servlet, JSP, EJB, JAX-RPC, JAXP, JDBC JSF Web JDO PHP Struts CGI Spring Flash de facto © 2005 IBM Corporation, Innoopract GmbH Hibernate Cocoon Java Web web tools platform architecture JST EJB J2EE Core Annotations Projects Modules Java WS Servlets Web resources JDT XML Web Projects Navigator Views Advanced Server Runtime Common JSP Web Services WTP RDB SQL Server Runtime WST Advanced Apache Internet Basis Xerces Validation Command Common Axis Frameworks EMF GEF JEM WSVT Tools Platform Projects/Resources Debugging * from EclipseCon 05 – Ryman / Dai Webtools Platform © 2005 IBM Corporation, Innoopract GmbH on the way to 1.0 Eclipse 3.1 Q3 Kickoff Q4 M1 M1 M2 M3 M2 M4 2005 Q1 M5 M3M7 M6 Q2 M4 M5 JAX © 2005 IBM Corporation, Innoopract GmbH 1.0 outline what is new in the eclipse webtools platform 1.0 structured source editing XML, XSD, WSDL internet server tools j2ee web service tools © 2005 IBM Corporation, Innoopract GmbH structured source editing platform* for web tools editing capabilities differs from eclipse text editing component parts of the editor are configurable with respect to platform content type or even with respect to the document partition types within a document IStructuredDocument <-> IDocument – for documents that have the concept of a syntactically determined end source page validation (as you type) per content type / partition type structured models and model management provides a StructuredModel, appropriate to contentType, that can be shared between many clients *only provisional API available for 1.0 © 2005 IBM Corporation, Innoopract GmbH content types © 2005 IBM Corporation, Innoopract GmbH source editing features syntax highlighting outline view delimiter highlighting content assist (except DTD) © 2005 IBM Corporation, Innoopract GmbH html „as you type“ validation structured selection block comment toggle comment © 2005 IBM Corporation, Innoopract GmbH css, javascript content assist outline view bracket matching css only property view structured selection © 2005 IBM Corporation, Innoopract GmbH css, javascript in action © 2005 IBM Corporation, Innoopract GmbH outline what is new in the eclipse webtools platform 1.0 structured source editing XML, XSD, WSDL internet server tools j2ee web service tools © 2005 IBM Corporation, Innoopract GmbH xml component provides (provisional) api xml catalog dom parser that works with „ill formed“ text content model easy to extend*: provide your own outline view extend content assist support open on, spell checking, character pair matching validation multipage editors (e.g. adding a preview) * Do, 8:30 EC12, X10 Erstellung eigener XML-Editoren mit Eclipse Web Tools © 2005 IBM Corporation, Innoopract GmbH xml in action © 2005 IBM Corporation, Innoopract GmbH xml design editor © 2005 IBM Corporation, Innoopract GmbH xsd © 2005 IBM Corporation, Innoopract GmbH outline what is new in the eclipse webtools platform 1.0 structured source editing XML, XSD, WSDL internet server tools j2ee web service tools © 2005 IBM Corporation, Innoopract GmbH internet internal browser moved to base eclipse M6 internet cache internet proxy internet monitor © 2005 IBM Corporation, Innoopract GmbH outline what is new in the eclipse webtools platform 1.0 structured source editing XML, XSD, WSDL internet server tools j2ee web service tools © 2005 IBM Corporation, Innoopract GmbH extending run / debug to servers contributes to eclipse debug component introduces runtime, server, module provides extensible framework for creating server integration server view – start, stop, deploy, debug, add/remove modules debug j2ee servers that are JSR45 compatible generic j2ee server support (server definition by xml) built in support for tomcat 3, 4, 5 © 2005 IBM Corporation, Innoopract GmbH generic server support xml based meta information validated against an XSD definition devided in two parts runtime definition (start, stop, publisher, classpath) properties (values are provided per server) properties can by provided using flexible server tooling UI ANT build file based publisher is available part of the core package generic server definitions for jboss 3.2.3, jonas, weblogic 8.1 © 2005 IBM Corporation, Innoopract GmbH server support in action © 2005 IBM Corporation, Innoopract GmbH outline what is new in the eclipse webtools platform 1.0 structured source editing XML, XSD, WSDL internet server tools j2ee web service tools © 2005 IBM Corporation, Innoopract GmbH j2ee adds perspective for j2ee development create j2ee module structures and artifacts within projects import j2ee deployable archives (not in M4) export development modules into a deployable j2ee archive (not in M4) validate j2ee artifacts to ensure compliance with the specification annotation support (currently xdoclet) provide navigable EMF model representations of the j2ee artifact and deployment descriptors within the Project Explorer © 2005 IBM Corporation, Innoopract GmbH flexible project allows arbitrary development time directory structures support for war, ejb-jar, ear, application-client, connector © 2005 IBM Corporation, Innoopract GmbH servlets © 2005 IBM Corporation, Innoopract GmbH jsp content assist for html jsp embedded java embedded javascript validate as you type custom tag support refactoring participation semantic highlighting © 2005 IBM Corporation, Innoopract GmbH jsp debugging* * only available with JSR45 compliant servers, e.g. Tomcat >=5 © 2005 IBM Corporation, Innoopract GmbH outline what is new in the eclipse webtools platform 1.0 structured source editing XML, XSD, WSDL internet server tools j2ee web service tools © 2005 IBM Corporation, Innoopract GmbH wsdl © 2005 IBM Corporation, Innoopract GmbH web service tools WSDL editor graphical and source modes integrated XSD editor web service explorer query and publish to UDDI dynamically execute WSDL web service wizard wizards for top down (WSDL) and bottom up (java class) ws creation extension points for code gen, deploy, test, etc. WS-I test tools validate WSDL and SOAP for WS-I compliance © 2005 IBM Corporation, Innoopract GmbH the matrix … reloaded Refactoring Quick Fix Quick Assist Red sea Structured Selection In place Outline Find Occurrences Unused warnings Open Declaration Web Style Links Hovering Delimiter Highlighting Delimiter Insertion Code Assist Folding Auto Indent Formatting Java Editor XML JSP © 2005 IBM Corporation, Innoopract GmbH conclusions Erich download M7… Jochen not yet perfect, but a great step forward download webtools and the compatible milestone – wtp M4 – eclipse M6 if you are a tool producer your feedback on apis is welcome © 2005 IBM Corporation, Innoopract GmbH references eclipse – http://eclipse.org eclipse community – http://eclipse.org/community eclipse plug-in central - http://www.eclipseplugincentral.com eclipsepowered - http://www.eclipsepowered.org planet eclipse http://planeteclipse.org/planet/ eclipse RCP – http://eclipse.org/rcp webtools – http://eclipse.org/webtools webtools tutorials http://eclipse.org/webtools/community/community.html webtools backport to 3.0.2 - http://yoxos.com/ © 2005 IBM Corporation, Innoopract GmbH