2005 javaone sm conference | session ts-7909 introduction to the eclipse web tools platform project...
Post on 19-Dec-2015
217 Views
Preview:
TRANSCRIPT
2005 JavaOneSM Conference | Session TS-7909
Introduction to the EclipseWeb Tools Platform Project
Dr. Tim Wagner
WTP PMC co-leadBEA Systems Sr. Manager
www.eclipse.org/webtoolsTS-7909
2005 JavaOneSM Conference | Session TS-7909 | 2wwww.eclipse.org/webtools
Deliver vendor-neutral tools and frameworks for Web applications on the Eclipse platform.
Open Standards + Open SourceEclipse WebTools Project
2005 JavaOneSM Conference | Session TS-7909 | 3wwww.eclipse.org/webtools
Agenda
Eclipse BackgroundWTP OverviewWeb Standard Tools (WST) FeaturesJava Standard Tools (JST) FeaturesFuture Plans
2005 JavaOneSM Conference | Session TS-7909 | 4wwww.eclipse.org/webtools
BEA’s Eclipse Involvement
• Strategic Developer and board member 2/2005• Co-leading WTP project management committee• WTP contributors• JDT project to add 1.5 apt/mirror support• AspectWerks / AspectJ merge• LDT technology project proposed• JRockit profiling and memory leak detection• Involvement with Pollinate (tools for Beehive)
2005 JavaOneSM Conference | Session TS-7909 | 5wwww.eclipse.org/webtools
Large (and Growing) Ecosystem
2005 JavaOneSM Conference | Session TS-7909 | 6wwww.eclipse.org/webtools
Depth and Breadth
• 95 corporate members• Over 800 third-party plugins (over 500 on
SourceForge)• Over 30 million downloads in 2004 alone• 41 mirrors in 22 countries• 6 top-level projects; 18 technology projects + 6
new proposals
2005 JavaOneSM Conference | Session TS-7909 | 7wwww.eclipse.org/webtools
Delivery Model
User
Workshop
WTP
Platform
Ubiquity
Shared Costs
“Plumbing”
Value-add
Proprietary
Customer-centric
2005 JavaOneSM Conference | Session TS-7909 | 8wwww.eclipse.org/webtools
Agenda
Eclipse BackgroundWTP OverviewWST FeaturesJST FeaturesFuture Plans
2005 JavaOneSM Conference | Session TS-7909 | 9wwww.eclipse.org/webtools
Major WTP Themes (0.7 Release)
• Extend Eclipse into the domain of J2EE Web Application Development
• Define servers, runtimes, and modules• Provide platform API and suitable models for tool
developers• Provide core tools for application developers
• High quality tools in their own right, plus exemplars for tool developers
• Collection of high-fidelity editing services for Web and J2EE-related languages
2005 JavaOneSM Conference | Session TS-7909 | 10wwww.eclipse.org/webtools
Contributing Organizations
• BEA
• Eteration
• Exadel
• IBM
• Inoopract
• JBoss
• ObjectWeb
• SAS
• Thales
• Turkcell
• University of Karlsruhe
2005 JavaOneSM Conference | Session TS-7909 | 11wwww.eclipse.org/webtools
Commercial Product Adopters• IBM – Rational Application Developer• BEA – WebLogic Workshop• Eteration – Lomboz• Genuitec – myEclipse• Innoopract – Yoxos• Exadel – Exadel Studio• JBoss – JBoss IDE• SAP – NetWeaver Studio• Others to be announced…
2005 JavaOneSM Conference | Session TS-7909 | 12wwww.eclipse.org/webtools
Project Charter
Language
Stan
dard?
Server Tools
HTMLJSP
EJB
PHP Hibernate
JCPOASIS, W3C, …
2005 JavaOneSM Conference | Session TS-7909 | 13wwww.eclipse.org/webtools
WTP Architecture
Platform
FrameworksEMF GEF
Projects/Resources
JEM
WTP
JDT
JST
WST
Apache
Xerces
Axis
CommonJ2EECore
Advanced
ServerRuntime
JSP
AdvancedWeb
resourcesWeb
Services
Debugging
BasisXML
RDBSQL
WebProjects
ServerRuntime
EJB Java WS
ProjectsModules
Servlets
Annotations
CommonNavigator Views Validation Command
Internet
2005 JavaOneSM Conference | Session TS-7909 | 14wwww.eclipse.org/webtools
Agenda
Eclipse BackgroundWTP OverviewWST Features
• Structured Source Editor (SSE) framework• HTML, CSS, ECMAScript editors• XML, DTD, XSD, WSDL editors• Internet tools• Basic server tools and framework• Web service tools and framework
JST FeaturesFuture Plans
2005 JavaOneSM Conference | Session TS-7909 | 15wwww.eclipse.org/webtools
Structured Source Editor Framework
• Multi-language editing support• Extends basic Eclipse text editor…
• Partitions documents into language regions• Associates editing services to each language
• Goal: create editors with “JDT-like” features• Syntax highlighting• As-you-type validation/checking• Outline view• Property view• Content assist
2005 JavaOneSM Conference | Session TS-7909 | 16wwww.eclipse.org/webtools
Structured Source Editor Framework
• Light weight Framework for content based editing• Easily embedded in other (multi-page) editors• Easy to extend outline view, properties view, source
validation for “mark up” languages, content assist• Extensible: based on contentType and nested
contentType
• Model Text and DOM APIs• Fault tolerant, incremental parsing• Careful tracking of exact source locations• Translation from one source representation to another• Notification to keep models “in synch”
2005 JavaOneSM Conference | Session TS-7909 | 17wwww.eclipse.org/webtools
HTML Editing
• Wizards for file creation• Delimiter completion• As-you-type checking• Property editing
2005 JavaOneSM Conference | Session TS-7909 | 18wwww.eclipse.org/webtools
CSS Editing
• Content assist • Outline view• Bracket matching• Property view• Structured selection
2005 JavaOneSM Conference | Session TS-7909 | 19wwww.eclipse.org/webtools
ECMAScript Editing
• Syntax highlighting• Content assist• Delimiter highlighting• Outline view
2005 JavaOneSM Conference | Session TS-7909 | 20wwww.eclipse.org/webtools
XML Editing
• Syntax highlighting• Content assist• Schema catalog• Outline view
2005 JavaOneSM Conference | Session TS-7909 | 21wwww.eclipse.org/webtools
XML Editing
• Property editor• Delimiter
highlighting• Presentation
preferences• “Hover” help• Smart insert
(closing delimiter, e.g.)
2005 JavaOneSM Conference | Session TS-7909 | 22wwww.eclipse.org/webtools
XML Editing
• Flexible content type association
• Find-occurrences
• Powerful document (re)formatting
2005 JavaOneSM Conference | Session TS-7909 | 23wwww.eclipse.org/webtools
XML Framework Provides Extensibility
• Catalog control• Highly-recovering parser• DOM content model• Outline view configuration• Content assist extensions• Validation framework (manual and automatic)• Multipage editors (e.g. adding a preview)
2005 JavaOneSM Conference | Session TS-7909 | 24wwww.eclipse.org/webtools
XSD Editing
• Graphical and source views
2005 JavaOneSM Conference | Session TS-7909 | 25wwww.eclipse.org/webtools
Internet Tools
• Built-in browser and caching support• Moved to platform in 3.1
• TCP/IP monitor• Proxy settings reflected in Eclipse preferences
2005 JavaOneSM Conference | Session TS-7909 | 26wwww.eclipse.org/webtools
Basic Server Framework
• Models types of servers, installed server runtimes, deployable units (modules)
• Language- and deployment-neutral
• Provides extensible, vendor-neutral framework for implementing new server types
2005 JavaOneSM Conference | Session TS-7909 | 27wwww.eclipse.org/webtools
Server View
• Actions: start, stop, deploy, debug, add/remove modules
• View: current server status, module deployment
2005 JavaOneSM Conference | Session TS-7909 | 28wwww.eclipse.org/webtools
Server Framework (Provisional) APIs
• Server Providers• Add support for additional servers• Tomcat, JBoss, Geronimo, …
• Module Providers• Add additional module types and “Run on Server” support• J2EE Tools
• Client App Providers• Provide clients for “Run on Server” operation• Web browser
• Client Users• Use API to configure and launch servers, check runtime target• Web Services, DD editors
2005 JavaOneSM Conference | Session TS-7909 | 29wwww.eclipse.org/webtools
WSDL Editor
• Graphical and source editing modes• GEF/EMF-based• Integrated XSD editor
2005 JavaOneSM Conference | Session TS-7909 | 30wwww.eclipse.org/webtools
Web Services Explorer
• Integrated Web application
• UDDI publish and query
• Dynamically execute WSDL
2005 JavaOneSM Conference | Session TS-7909 | 31wwww.eclipse.org/webtools
Web Services Tools and Framework
• Preferences• WS-I test tools
• Validate WSDL and SOAP for WS-I compliance
• Extension points for• Discovery• Develop / Assemble / Deploy / Install / Run• Test• Publish
2005 JavaOneSM Conference | Session TS-7909 | 32wwww.eclipse.org/webtools
Agenda
Eclipse BackgroundWTP OverviewWST FeaturesJST Features
• J2EE tools and platform• Flexible project model• Server integration• Servlet tools• JSP editing• Java-based Web Services
Future Plans
2005 JavaOneSM Conference | Session TS-7909 | 33wwww.eclipse.org/webtools
JST Features – Extend JDT, WSTWTP
JDT
JST
WST
CommonJ2EECore
Advanced
ServerRuntime
JSP
AdvancedWeb
resourcesWeb
Services
BasisXML
RDBSQL
WebProjects
ServerRuntime
EJB Java WS
ProjectsModules
Servlets
Annotations
CommonNavigator Views Validation Command
Internet
2005 JavaOneSM Conference | Session TS-7909 | 34wwww.eclipse.org/webtools
J2EE Tools
• New J2EE perspective and project explorer• Support for new project types (EAR, EJB)• Ability to create J2EE module structures and
artifacts within projects• Import/export J2EE deployable
archives• Validate J2EE artifacts to ensure
compliance with the specification
2005 JavaOneSM Conference | Session TS-7909 | 35wwww.eclipse.org/webtools
J2EE Framework
• Natures and builders• J2EE views and navigators• Models (based on EMF)• Support for WAR, EAR, other archive formats• Models and source editors for deployment
descriptors• Server and deployment model
2005 JavaOneSM Conference | Session TS-7909 | 36wwww.eclipse.org/webtools
Flexible Project Model
• Arbitrary development-time directory structures
• Supports multiple modules/project
• Support for WAR, EJB-JAR, EAR, ...
2005 JavaOneSM Conference | Session TS-7909 | 37wwww.eclipse.org/webtools
Server Integration: Generic
• No coding: XML-based server definition• Definition divided into two parts
• Runtime definition (start, stop, publisher, classpath)• Properties (per-server values)
• Properties can by provided using flexible server tooling UI
• ANT build file-based publisher available• Generic server definitions for JBoss 3.2.3,
JONaS, WebLogic 8.1, WebLogic 9.0
2005 JavaOneSM Conference | Session TS-7909 | 38wwww.eclipse.org/webtools
Server Integration: Custom
• Coding required…• Powerful API for
adding new server types• Build• Assembly• Publish/[re]Deploy• Run/Debug• Monitor/Configure
• Tomcat, Geronimo support included
2005 JavaOneSM Conference | Session TS-7909 | 39wwww.eclipse.org/webtools
Servlets – Wizards and “Run As...”
2005 JavaOneSM Conference | Session TS-7909 | 40wwww.eclipse.org/webtools
JSP Editing
• Content assist• As-you-type checking• Custom tag support• Refactoring participation• JSP 2.0 EL support
2005 JavaOneSM Conference | Session TS-7909 | 41wwww.eclipse.org/webtools
JSP Debugging (JSR 045)
* only available with JSR45 compliant servers, e.g. Tomcat >=5
2005 JavaOneSM Conference | Session TS-7909 | 42wwww.eclipse.org/webtools
Web Service Wizards
• Top-down (start from WSDL)
• Bottom-up (start from Java)
• Extension points for codegen, deploy, test, ...
2005 JavaOneSM Conference | Session TS-7909 | 43wwww.eclipse.org/webtools
Java Web Services
• Extends basic Web Service wizard• Supports start-from-Java case• JAX-RPC codegen, support for Apache Axis• JSR 109 deployment• Servlet- or EJB-based
2005 JavaOneSM Conference | Session TS-7909 | 44wwww.eclipse.org/webtools
Other JST Features
• JavaDoc-based annotation infrastructure• Extensible facility to define tagsets (EJBs, Web
Services, etc.)• Code assist in Java Editors• Use builders for code generation
• EJB• EJB project type• Session and MBean wizards• EMF models• Editing support (pop-up actions)• Support for JavaDoc-based development
2005 JavaOneSM Conference | Session TS-7909 | 45wwww.eclipse.org/webtools
Agenda
Eclipse BackgroundWTP OverviewWST FeaturesJST FeaturesFuture Plans
2005 JavaOneSM Conference | Session TS-7909 | 46wwww.eclipse.org/webtools
Release Timeline
JUN JUL AUG SEP OCT NOV DEC JAN FEB MAR APR JUN
WTP 0.7
3.1
WTP 1.0
WTP 1.5
3.2
2005 JavaOneSM Conference | Session TS-7909 | 47wwww.eclipse.org/webtools
1.0 Release (December)
• Complete flexible project model and enhancements to server functionality modeling
• Capture platform point release (3.1.1)• Extend documentation coverage• Hardening: bug fixes, performance• APIs (based on community feedback)
2005 JavaOneSM Conference | Session TS-7909 | 48wwww.eclipse.org/webtools
1.5 Release (Summer ’06)
• Support J2SE 1.5 (especially annotations)• Leverage new apt component in JDT
• Support J2EE 1.5• JSR 181, e.g.
• Rev other standards/supported versions• Soap 1.2, WSDL 2.0 • New WS-I profiles • WS Security • Axis 2.0
• Additional server types in distribution• Architectural harmonization with other projects• New features: JSR 88, WS-*, …
2005 JavaOneSM Conference | Session TS-7909 | 49wwww.eclipse.org/webtools
For More Information
• See demos at Eclipse or BEA booths today• www.eclipse.org/webtools
• Download M5 milestone next week!• Tutorials and documentation• Planning and requirements gathering (1.0, 1.5)• Community information• Newsgroups, mailing lists, developer support
• Attend EclipseWorld2005 in NYC this August• Upcoming apt preview from BEA• Vendor announcements post-0.7 ship
2005 JavaOneSM Conference | Session TS-7909 | 50
Q&A
2005 JavaOneSM Conference | Session TS-7909
Introduction to theWeb Tools Platform Project
Dr. Tim Wagner
WTP PMC co-leadBEA Systems Sr. Manager
www.eclipse.org/webtoolsTS-7909
2005 JavaOneSM Conference | Session TS-7909 | 52wwww.eclipse.org/webtools
Build Model
• Target: one directory per project per server type• No longer nested in workspace• “bin” directory back under user control
• Structure builder publisher step• No longer part of build step• Publishing can now do server-specific work
• Optional archive generation• Could be added to a custom publish step
• Project export still available (manual)
2005 JavaOneSM Conference | Session TS-7909 | 53wwww.eclipse.org/webtools
WTP Requirements Process
• Requirements group• Chaired by Jochen Krause, Innoopract (PMC member)• Participation by major WTP developers and consumers
• IBM, BEA, Oracle, Genuitec, JBoss• Bi-weekly telecons open to communityDelivers WTP requirements
document to PMC for each major release, summarizing themes, major goals, supported platforms
• Reviews incoming requirements for clarity, scope (c.f. charter), alignment with themes, target release, and priority
• Proposes release numbering and interaction with prerequisite releases
• wtp-requirements@ mailing list created to solicit community requirements
• Requirements tracked via Bugzilla
2005 JavaOneSM Conference | Session TS-7909 | 54wwww.eclipse.org/webtools
Architectural Harmonization
• RDB tools in WTP moving to new DTP project• Database server explorer• SQL scrapbook• Output view• RDB and SQL models
• 3.2 Platform alignment• Flexible project model (resource layer)• Operations, undo/redo, tabbed view, extensible
navigator• Other projects
• Validation framework, TCP/IP monitor (TPTP)
top related