The Eclipse Web Tools Platform

Download Report

Transcript The Eclipse Web Tools Platform

Presented by IBM developerWorks
ibm.com/developerworks/
2006 January – April
The Eclipse Web Tools Platform
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
The Web Tools Project (WTP)
 End user tools and APIs for Web and J2EE application
development
 WTP is two subprojects and one incubation project:
Web Standard Tools (WST)
J2EE Standard Tools (JST)
Java Server Faces (JSF) tools
 Supports open standards from OASIS, the W3C, JCP,
WS-I.org and others
 Includes tools for open source and commercial products
(Apache Tomcat, BEA WebLogic, IBM WebSphere)
 eclipse.org/webtools
6-2
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Project history
 Major milestones
Eclipse foundation creation review June 2004
Full-time development since October 2004
BEA joined the project leadership in February 2005
Data tools moved to a separate project (DTP) in March 2005
WTP 0.7 released July 29, 2005
WTP 1.0 released December 23, 2005
WTP 1.5 ~ July 2006
6-3
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Project themes
 API declaration where appropriate
 Simple to use – wizards, editing support
 Large-scale development
 User experience – dynamic help, graphical WSDL editor
 Responsive UI
 Seamless editing of resources
JDT-like features applied to other languages (HTML, JSP, XML…)
 Flexible project layout
 Vendor ecosystem support
6-4
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Web Standard Tools (WST)
 Basic server tools
Support for server types and server connectivity (Web, DB)
Configure, publish, start/stop, debug
 Structured Source Editor framework
 Web Language Tools
HTML source editor
CSS source editor
JavaScript source editor
6-5
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Web Standard Tools (WST)
 XML language tools
XML source editor
XSD source editor
DTD source editor
 Facets – technique and UI for modeling server features
 Web services tools
WSDL editor
Web service explorer
Web service wizard
WS-I test tools – validate WSDL and SOAP envelopes for WS-I
compliance
6-6
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Server tools
 Preferences pages to configure various server runtimes
 Supported runtimes:
IBM WebSphere
Apache Tomcat
JBoss
JOnAS
BEA WebLogic
 Highly extensible server frameworks
 Supports generic server adapters and custom server
adapters
6-7
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Server tools
6-8
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Structured source editors
 Editors for:
XML
DTDs
HTML
CSS
JavaScript
JSPs
 Includes the usual Eclipse editor features:
Syntax highlighting
Quick fix
Delimeter matching
Content assist
6-9
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
XML tools
 XML Catalog support – A
repository for DTDs, XSDs, or
any XML resource (WSDL,
XSL, etc.)
 Based on the OASIS XML
catalog standard
6-10
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Web service tools
 Graphical WSDL/XSD editor
Build WSDL and XSD files without knowing the XML syntax
underneath
Visualize Web services – their interfaces, data structures, etc.
6-11
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Web service tools
 Validation tools for XML schema, WSDL files, WS-I compliance
6-12
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Web service tools
 Wizards to create Web services
Top-down – Start with a WSDL
interface, go to code
Bottom-up – Start with code,
generate the WSDL interface
 Supports Apache Axis 1.2
6-13
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Relational database tools
 Wizard to create live
connections to database
servers over JDBC
 Supported servers:
Apache Derby / Cloudscape
DB2
Informix
MySQL
SQL Server
Oracle
Sybase
You can add your own…
6-14
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Relational database tools
 Database Explorer – View
database schemas, tables,
views, stored procedures and
user-defined functions
 Supports working in
disconnected mode
6-15
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
J2EE standard tools (JST)
 Java EE core tools
Natures and builders
Java EE views and navigators
Java EE models
 Java EE projects and modules
Flexible directory layout
Support for WAR files, EJBs, JARs, EAR files, etc.
Models and source editors for deployment descriptors
Java EE navigator view
Ability to target different servers
6-16
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
J2EE standard tools
 Servlet tools
 JSP tools
JSP editor, HTML code assist, editors for Java, JavaScript, taglibs
JSR-45 compliant debugging
 Java EE server tools – extend WST
Supports deploy, debug, project restart on Java EE runtimes
Generic server adapter
Custom (Java) server adapter for total control
 JavaDoc annotation support
Extensible facility to define tagsets
Code assist in Java editors and builders for code generation
6-17
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
J2EE standard tools
 Wizard to create J2EE modules
 Select a target server and J2EE
version
6-18
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
XDoclet support
6-19
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Standards support
 WST:
HTML 4.0.1
XHTML 1.0 / 1.1
XML Catalogs 1.0
CSS 2.0
ECMAScript 262
SQL99/SQL2003
XML 1.0
XML Schema 1.0
WSDL 1.1
SOAP 1.1
WS-I basic profile 1.1, attachment profile 1.0
6-20
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
Standards support
 JST – JCP standards
J2EE 1.2, 1.3, 1.4
Servlets
JSP
EJB
JAX-RPC
JSR 109
JSR 045
JSR 921
JDBC 2.1
6-21
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
The future
 WTP V1.5 ~ July 2006
J2EE 5.0 support
JSF support
Based on Eclipse 3.2
Stay tuned to eclipse.org/webtools for announcments, pre-release
versions
6-22
Making the most of
© 2006 IBM Corporation.
Presented by IBM developerWorks
ibm.com/developerworks/
2006 January – April
Demo time!
Deploying a Java class as a Web service
Making the most of
© 2006 IBM Corporation.