1 / 37

What's New in Eclipse Web Tools 3.1

Explore the latest features and enhancements in Eclipse Web Tools Platform 3.1, including structured source editing for XML, XSD, and WSDL, internet and server tools, and extensions for web development and J2EE standards.

fkara
Download Presentation

What's New in Eclipse Web Tools 3.1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. outline • what is new in the eclipse platform 3.1 • what is new in the eclipse webtools platform 1.0

  3. 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

  4. 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

  5. project scope JCP – J2EE de jure W3C, OASIS,.. WST HTML, XML, CSS,JS, WSDL, SOAP, UDDI JST Servlet, JSP, EJB, JAX-RPC, JAXP, JDBC Java Web JSF Web JDO PHP Struts Hibernate CGI Spring Flash Cocoon de facto

  6. web tools platform architecture * from EclipseCon 05 – Ryman / Dai Webtools Platform

  7. on the way to 1.0 Eclipse 3.1 2005 Q3 Q4 Q1 Q2 Kickoff 1.0 M1 M1 M2 M3 M2 M4 M5 M3 M7 M6 M4 M5 JAX

  8. outline • what is new in the eclipse webtools platform 1.0 • structured source editing • XML, XSD, WSDL • internet • server tools • j2ee • web service tools

  9. 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

  10. content types

  11. source editing features • syntax highlighting • outline view • delimiter highlighting • content assist (except DTD)

  12. html • „as you type“ validation • structured selection • block comment • toggle comment

  13. css, javascript • content assist • outline view • bracket matching css only • property view • structured selection

  14. css, javascript in action

  15. outline • what is new in the eclipse webtools platform 1.0 • structured source editing • XML, XSD, WSDL • internet • server tools • j2ee • web service tools

  16. 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

  17. xml in action

  18. xml design editor

  19. xsd

  20. outline • what is new in the eclipse webtools platform 1.0 • structured source editing • XML, XSD, WSDL • internet • server tools • j2ee • web service tools

  21. internet • internal browser moved to base eclipse M6 • internet cache • internet proxy • internet monitor

  22. outline • what is new in the eclipse webtools platform 1.0 • structured source editing • XML, XSD, WSDL • internet • server tools • j2ee • web service tools

  23. 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

  24. 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

  25. server support in action

  26. outline • what is new in the eclipse webtools platform 1.0 • structured source editing • XML, XSD, WSDL • internet • server tools • j2ee • web service tools

  27. 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

  28. flexible project • allows arbitrary development time directory structures • support for war, ejb-jar, ear, application-client, connector

  29. servlets

  30. jsp • content assist for • html • jsp • embedded java • embedded javascript • validate as you type • custom tag support • refactoring participation • semantic highlighting

  31. jsp debugging* * only available with JSR45 compliant servers, e.g. Tomcat >=5

  32. outline • what is new in the eclipse webtools platform 1.0 • structured source editing • XML, XSD, WSDL • internet • server tools • j2ee • web service tools

  33. wsdl

  34. 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

  35. 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

  36. 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

  37. 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/

More Related