Subsystems And Features in WTP
Subsystems And Features in WTP
WTP LogoWTP Home

The background and status of this document:

10/09/05 - this is a preliminary draft.

Version 0.2 October 9, 2005.

David Williams

Introduction and Background

The purpose of this document is help organize the large thing that WTP is, into smaller chunks that can be maintained, documented, composed into other products, etc. [Not everything described in this document has to be accomplished "all at once", but much progress can be made "under the covers", gradually, and iteratively to better partition our deliverables, builds, tests, etc. The goal, however, is to have the fundamental pattern in place by M8 and completely implemented by M9].


WTP is now over two hundred plugins, if you include the documentation and test plugins. While we've tried to reduce this number -- and still will be! -- we'll never get to a small enough number that a "list of plugins" is a very good description of WTP.


In other words, Eclipse Members who want to extend a subset of WTP would have a hard time picking out which plugins to bundle. And, even if they could, there are parts of our code and process that assume's other parts are there. For example, if someone was only going to use a subset WTP, it is not tenable for them to use our one "test package" -- they would either have to do a lot of "hand editing" or not run our tests ... or, we could structure things to make it easier for them to pick out the tests appropriate to their subset of WTP.


Plus, there's some of our deliverables, such as user documentation or "isv docs", which can not be packaged on a plugin-by-plugin bases. Even our definition of "components" is a little too fined grained for most meaningful documentation (for example, you can not talk too much about XML, without also talking about both DTD's and XML Schemas ... but our code plugins for xml, dtds, and schemas are separate. Some things, like "generate XML from DTD" logically require both XML and DTD to be present.


Hence, this document is to lay out a way to conceptualize and specify dependencies in WTP that is more helpful Eclipse Members who want to "extend" or "repackage" WTP. While we can never satisfy all needs, and some will always want to pick and choose things on a plugin by plugin bases, I think our architectural subsystems is a more meaningful level of composition -- and, basically, the only level we support. As a concrete example, if someone really wanted only the JavaScript Editor, there might be some different subset of code plugins they could extract, but we would not provide different packaging for docs, sdk, etc., than simply the WST Web Development.


There has been a concept of architectural "subsystems" in WTP for a while, with some refinements being discussed along the way. This document is to update (make current) the previously documented subsystem, and relate them to the desired end-user features and build components. You can read our current architecture document to see the previous description of sub-systems and their dependances. This document is just a refinement of that document, not a fundamental change. (and, eventually, all the information will be merged to one document).


One reason this is important to get clear on, is that it effects the way user and SDK docs are assembled. They should, basically, be able to be 'assembled" the same way as the subsystem can be.


To help keep this clearest, I'll first describe a few terms.


Architecural Subsystems. This term refers to a collection of plugins which "go together" to provide a general class of function, which, as a group, have a clear dependency relationship to other subsystems.


This is basically the level we provide our function. For example, if we were going to change some XML related function, it is easy to imagine it might effect our DTD and Schema function (and docs, and tests) but would be less likely to effect other parts of WTP.


End-User Features. This term refers to what a user can install (such as via update manager), where the dependencies on other features needs to be clear and obvious, for updates and maintenance and "co-existence" with other Eclipse projects.


Build Components. These are, one the one hand, literally units of the build, where obviously dependencies have to be correct to compile. On the other hand, these are the lowest level PDE features, by which all other features are assembled . This level is especially important to extenders and "add on" providers to WTP, since, sometimes, they may not want to pre-req ALL of WTP, but parts of it, and, typically, they do not want to assemble their own features on a plugin-by-plugin basis, but at a feature level, to ensure everything fits together, and "co-exists" with other add-on's which may share some dependencies, and not share others.


Delivered packages. These correspond to the zip files that can be downloaded from our WTP download page. I am not proposing these change (much), just the "PDE features" that define what they are. While we need further investigation, the "dependency" and "include feature" parts of a PDE feature appear to work quite well and should make the dependency and packaging clearly specifiable.

End-User Features

These are what would be available via update manager. (We do need some investigation here to make sure the right things are "visible" in update manager, without requiring all dependencies to be visible to the end-user).




Business as usual, just what you'd think, what it currently is.




Business as usual, just what you'd think, what it currently is.


Web Development (WTP 1.0 or 1.5?)


Like WST, but without Database Feature (I believe the plan is to be using DTP project in the WTP 1.5 time-frame, so I think advantageous to prepare for that in our 1.0 timeframe.)


XML Development (WTP 1.0 or 1.5?)


Components required for XML, Schema, and DTD development (editing, validation, etc). I'm listing this here as a commonly requested subsystem from user community, though am unaware of other needs [should be easy to do, however, if this proposal accepted].

Architectural Features

Common Subsystem/Feature (wst-common)

  • Common Component
    • Extensible Navigator

      internalProvisional, proposed to move to Eclipse Base 3.2

    • Tabbed Property View

      internalProvisional, proposed to move to Eclipse Base 3.2

    • Snippets View
    • Extensible URI Resolver
    • common frameworks
      • data operations - IDataModel
      • data wizards - provisional
      • environment framework
    • project facets framework
  • Validation Framework Component
  • common.componentcore

    foundation for web project component

  • Internet Proxy Settings

Web Server Subsystem/Feature (wst-server)

  • Server Component
  • Internet Component
    • Lightweight Server/Internet Monitor

Database Subsystem/Feature (wst-rdb)

  • DB/SQL - probable DTP project merge

XML Subsystem/Feature (wst-xml)

  • XML Component
  • Schema Component
  • DTD Component
  • SSE Component

Web Services Subsystem/Feature (wst-ws)

  • WS Component
  • WSDL Component.
  • WSI Component

Web Resources Subsystem/Feature (wst-web)

  • HTML Component
  • CSS Component
  • JavaScript
  • Web Project Component, HTML Web Project

JST Server Subsystem/Feature (jst-server)

  • Server Component

J2EE Web Subsystem/Feature (WAR, servlets, JSPs) (jst-web)

  • J2EE Core Web Model Component [Issue: not currently packaged this way]
  • Servlet Component/J2EEWebProject ... some API, create web component API
  • JSP Component ... some internal provisional .. need better design documents
  • WS Web Component (JAXRPC)

J2EE Enterprise Subsystem/Feature (EARs, EJBJar, EJBClientJar, RARs) (jst-enterprise)

  • J2EE Core Enterprise Model Component [Issue: not currently packaged this way]
  • EJB Component
  • WS Component
Build Components

General Pattern of the Build Components of a Subsystem.


Each subsystem follows a predictable pattern, with minor deviations here and there.


Each of the following "categories" would be one build component, for the subsystem -- for 5 per subsystem, which, yes, means 45 total build components. Luckily, they all follow a standard pattern in their make up and dependencies.

  • Model/Core plugins ( -core )
  • These represent function that has no UI dependencies at all. This is where most of the interesting API would be.

  • UI plugins and Info plugins ( -ui )
  • The "UI" portion is hopefully obvious ... anything related to the display, presentation, editors, menus, wizards, preference pages (though, note, many preferences still have a model or core aspect). In particular, any thing that pre-req's SWT (directly or indirectly) is considered "UI").

    The info-plugins consist of infopop's (dynamic help) which is tied to the UI via "IDs" but has links to the user-docs. These info plugins may have NL fragments, but those are "pure assembly", added to an install of other components, and not part of an WTP build or official deliverable.

  • User Doc plugins ( -userdocs )
  • User docs consists of the xhtml documentation that is "browsable" and searchable. They can be packaged as "just docs" for serving on the web via an "info center" or shipped with product code for offline access via the Eclipse help system. These are "just assembled" and do not need the code to build, although they are typically assembled with the code build, to ensure there is the same integration process as with other component teams.

    The point of putting them in well defined places in the architecture is to define what content goes where, so as new products bundle our subsystems, the documentation provided is appropriate. These can have NL fragments for translated versions of docs (again, pure "assembly", not part of any WTP build or deliverable.

  • JUnit Tests and Performance Tests ( -tests )
  • The JUnit tests are an important part of every build, since they (somewhat) verify the integrity of the build without complete testing "by hand".

    While performance tests are not ran at the same time as the build or other JUnit tests (because the performance tests are ran on a pristine machine) there is little cost with building and packaging them together.

    The most important thing is that someone getting only a part of WTP, should be able to get the tests relevant to that part, and those tests should still succeed without tweaking or re-packaging or changing of scripts.

  • SKD components ( -sdk )

    Source plugin, ISV Documentation, example plugins, sdk tools, if any.

Dependancies within a subsystem, between build components.

The following figure shows how the build components within one subsystem are dependant on each other, using 'wst-common' as the example. Here 'depends on' (labeled "uses" in the figure) means that plugins in one plugin, can 'require' plugins in the dependent build-component. For example, things in any common-ui component plugin can use any plugin in common-core component plugins (but not vice versa ).

  Common pattern of inter-subsystem dependencies
Dependancies between subsystems, between build components.

The following figure shows how build components are specified to be dependent on each other, using wst-xml and wst-common as examples. Note that for "plugin dependancies" the rule is that anything "on a path" would be allowable, though not always shown expllicitly in the figure. For example, a plugin in xml-ui feature could require a plugin in common-core, even though there is no direct "uses" arrow between the two ... there is an indirect one though in that xml-ui uses xml-core which uses common-core.

  Common pattern of intra-subsystem dependencies
Summary of dependancies between build-components of all subsystems.

The following shows a summary of how the components from subsystems are dependent on each other (the exact UI and core paths are not shown, but UI and core would be used in the PDE features). Also not shown are the dependancies on third-party or how product-adapter components.

  Summary pattern of WTP dependencies

Additions to the general pattern.


For some cases there are some additional build components for subsystems: third party code and product specific adapters.

  • Third Party Code ( third-party-code )
  • These deviate from the general pattern a little, since for many purposes they are summarized as "a collection of plugins", in reality, each should be a feature-plugin pair (so future updates are easier, and in principle could be made available from anywhere, such as the original third-party source!.)

    We only package and distribute non-SDK version of the third-party code.

  • Product Specific Adapters ( product-adapters )
  • While we do not ship "other products" in WTP, we do ship adapters (or "configuration definitions") for some other products ... in the Database components and the JST-Server components. We can split those out separately for purposes of builds, maintenance releases, etc., so this allows WTP extenders to decide to include or not include them, without having to create new features of the core functionality. This is important for proper "co-existence" if an end-user decided to install products from two WTP extenders ... we need to provide an easy way for only one intact version of the "core features" to be used in those cases.

    This also allows the future growth that these "product adapters" can be "hosted" by the specific product sites, instead of WTP per se.

    This does add a fair amount to complexity, though. (And will need to iterate on the exact definition and content of this build-component).

Relationship to Eclipse Capabilities

Eclipse has the ability to turn certain capabilities on or off. For example, in the base Eclipse install, you could turn off Plugin development if you were not going to use that. The purpose of this aspect of Eclipse is to simplify the interface for the user who does not need certain things.


The distinctions in this document are often highly related to "Eclipse Capabilities", but is not a substitute for the work we still need to do in that area, and this document is to solve a different set of problems.


There are two implications. One is that we will want to define some "capabilities" in WTP that correspond to our subsystems. For example, even if RDB is installed, we might still have a capability for database work, so users who are not using it, will not have to see certain menu options, etc. But there are other, more detailed kinds of capabilities that we might implement some day. A common suggestion is that some users "produce" certain components, such as web services, or EJBs, etc, but other users only "consume" them during their development. So, the "consuming" user could have a simplified experience if we had "produce and consume" capabilities where appropriate. Our "capabilities" work has yet to be designed and planned for, but the point I wanted to make here was that in some cases the same effect might be achieved by what extenders could "package" (e.g. leave out RDB if their product didn't need it), but in come cases it could not be -- we will not offer separate "PDE features" for the produce vs. consume dimension, but (hopefully) someday will offer that improved user experience through Eclipse capabilities.

Build Components)

The listed plugins are preliminary, for review. Its my current "best guess" of the right partitions, but will need careful study and review from all component teams. Eventually, these exact lists and relationships will be defined and document "in the code" (via the feature.xml files) but until then, thought this would help get a head start on reviewing some concrete proposal.



  • org.eclipse.jst.j2ee
  • org.eclipse.jst.j2ee.core
  • org.eclipse.jst.j2ee.ejb
  • org.eclipse.jst.j2ee.ejb.annotation.model
  • org.eclipse.jst.j2ee.ejb.annotations.emitter
  • org.eclipse.jst.j2ee.ejb.annotations.xdoclet
  • org.eclipse.jst.j2ee.jca
  • org.eclipse.jst.j2ee.webservice


  • org.eclipse.jst.j2ee.core.tests
  • org.eclipse.jst.j2ee.core.tests.performance
  • org.eclipse.jst.j2ee.tests
  • org.eclipse.jst.j2ee.tests.performance
  • org.eclipse.jst.validation.sample
  • org.eclipse.jst.validation.test


  • org.eclipse.jst.ejb.ui
  • org.eclipse.jst.j2ee.ejb.annotations.ui
  • org.eclipse.jst.j2ee.jca.ui
  • org.eclipse.jst.j2ee.navigator.ui
  • org.eclipse.jst.j2ee.ui
  • org.eclipse.jst.j2ee.webservice.ui
  • org.eclipse.jst.j2ee.infopop


  • org.eclipse.jst.ejb.doc.user


  • org.eclipse.jst.server.core
  • org.eclipse.jst.server.generic.core


  • org.eclipse.jst.server.generic.serverdefinitions
  • org.eclipse.jst.server.tomcat.core
  • org.eclipse.jst.server.tomcat.core.tests
  • org.eclipse.jst.server.tomcat.tests.performance
  • org.eclipse.jst.server.tomcat.ui
  • org.eclipse.jst.server.tomcat.ui.tests
  • org.eclipse.jst.server.websphere.core


  • org.eclipse.jst.server.core.tests
  • org.eclipse.jst.server.generic.tests
  • org.eclipse.jst.server.tomcat.core.tests
  • org.eclipse.jst.server.tomcat.tests.performance
  • org.eclipse.jst.server.tomcat.ui.tests
  • org.eclipse.jst.server.ui.tests


  • org.eclipse.jst.server.generic.ui
  • org.eclipse.jst.server.ui
  • org.eclipse.jst.server.ui.infopop


  • org.eclipse.jst.server.ui.doc.user


  • org.eclipse.jst.common.annotations.controller
  • org.eclipse.jst.common.annotations.core
  • org.eclipse.jst.common.frameworks
  • org.eclipse.jst.j2ee.web
  • org.eclipse.jst.jsp.core


  • org.eclipse.jst.jsp.core.tests
  • org.eclipse.jst.jsp.tests.encoding
  • org.eclipse.jst.jsp.ui.tests
  • org.eclipse.jst.jsp.ui.tests.performance
  • org.eclipse.jst.servlet.tests


  • org.eclipse.jst.common.annotations.ui
  • org.eclipse.jst.jsp.ui
  • org.eclipse.jst.servlet.ui
  • org.eclipse.jst.jsp.ui.infopop


  • org.eclipse.wst.dtd.core
  • org.eclipse.wst.sse.core
  • org.eclipse.wst.xml.core
  • org.eclipse.wst.xsd.core


  • org.eclipse.wst.xml.source


  • org.eclipse.wst.dtd.ui.tests
  • org.eclipse.wst.sse.core.tests
  • org.eclipse.wst.sse.ui.tests
  • org.eclipse.wst.sse.ui.tests.performance
  • org.eclipse.wst.xml.core.tests
  • org.eclipse.wst.xml.tests.encoding
  • org.eclipse.wst.xml.ui.tests
  • org.eclipse.wst.xml.ui.tests.performance
  • org.eclipse.wst.xml.validation.tests
  • org.eclipse.wst.xsd.tests.performance
  • org.eclipse.wst.xsd.validation.tests


  • org.apache.xerces
  • org.apache.xerces.feature


  • org.eclipse.wst.dtd.ui
  • org.eclipse.wst.sse.ui
  • org.eclipse.wst.xml.ui
  • org.eclipse.wst.xsd.ui
  • org.eclipse.wst.dtd.ui.infopop
  • org.eclipse.wst.sse.ui.infopop
  • org.eclipse.wst.xml.ui.infopop


  • org.eclipse.wst.dtdeditor.doc.user
  • org.eclipse.wst.sse.doc.user
  • org.eclipse.wst.xmleditor.doc.user
  • org.eclipse.wst.xsdeditor.doc.user


  • org.eclipse.wst.command.env
  • org.eclipse.wst.command.env.core
  • org.eclipse.wst.common.emf
  • org.eclipse.wst.common.environment
  • org.eclipse.wst.common.frameworks
  • org.eclipse.wst.common.modulecore
  • org.eclipse.wst.common.project.facet.core
  • org.eclipse.wst.common.uriresolver
  • org.eclipse.wst.internet.cache
  • org.eclipse.wst.validation


  • org.eclipse.wst.common.isvdoc
  • org.eclipse.wst.common.sdk.source


  • org.eclipse.wst.common.tests
  • org.eclipse.wst.common.tests.collector
  • org.eclipse.wst.common.tests.performance
  • org.eclipse.wst.common.tests.ui
  • org.eclipse.wst.internet.cache.tests


  • org.eclipse.wst.command.env.ui
  • org.eclipse.wst.common.frameworks.ui
  • org.eclipse.wst.common.navigator.views
  • org.eclipse.wst.common.navigator.workbench
  • org.eclipse.wst.common.project.facet.ui
  • org.eclipse.wst.common.snippets
  • org.eclipse.wst.common.ui
  • org.eclipse.wst.internet.proxy
  • org.eclipse.wst.validation.ui
  • org.eclipse.wst.common.infopop


  • org.eclipse.wst.common.user.doc


  • org.eclipse.wst.rdb.core
  • org.eclipse.wst.rdb.models.sql


  • org.eclipse.wst.rdb.derby
  • org.eclipse.wst.rdb.mysql
  • org.eclipse.wst.rdb.dbdefinition.db2.iseries
  • org.eclipse.wst.rdb.dbdefinition.db2.luw
  • org.eclipse.wst.rdb.dbdefinition.db2.zseries
  • org.eclipse.wst.rdb.dbdefinition.derby
  • org.eclipse.wst.rdb.dbdefinition.informix
  • org.eclipse.wst.rdb.dbdefinition.mysql
  • org.eclipse.wst.rdb.dbdefinition.sqlserver
  • org.eclipse.wst.rdb.dbdefinition.sybase


  • org.eclipse.wst.rdb.source
  • org.eclipse.wst.rdp.isvdoc


  • org.eclipse.wst.rdb.tests.performance


  • org.eclipse.wst.rdb.connection.ui
  • org.eclipse.wst.rdb.core.ui
  • org.eclipse.wst.rdb.derby.ui
  • org.eclipse.wst.rdb.fe.ui
  • org.eclipse.wst.rdb.fe.ui.actions
  • org.eclipse.wst.rdb.models.dbdefinition
  • org.eclipse.wst.rdb.models.sql.edit
  • org.eclipse.wst.rdb.outputview
  • org.eclipse.wst.rdb.server.extensions
  • org.eclipse.wst.rdb.server.ui
  • org.eclipse.wst.rdb.sqleditor
  • org.eclipse.wst.rdb.sqlscrapbook
  • org.eclipse.wst.rdb.connection.ui.infopop
  • org.eclipse.wst.rdb.fe.ui.infopop
  • org.eclipse.wst.rdb.outputview.infopop
  • org.eclipse.wst.rdb.server.ui.infopop
  • org.eclipse.wst.rdb.sqleditor.infopop
  • org.eclipse.wst.rdb.sqlscrapbook.infopop


  • org.eclipse.wst.datatools.connection.ui.doc.user
  • org.eclipse.wst.datatools.fe.ui.doc.user
  • org.eclipse.wst.datatools.server.ui.doc.user


  • org.eclipse.wst.internet.monitor.core
  • org.eclipse.wst.server.core


  • org.eclipse.wst.rdb.isvdoc
  • org.eclipse.wst.server.source


  • org.eclipse.wst.internet.monitor.core.tests
  • org.eclipse.wst.internet.monitor.ui.tests
  • org.eclipse.wst.server.core.tests
  • org.eclipse.wst.server.tests.performance
  • org.eclipse.wst.server.ui.tests


  • org.eclipse.wst.internet.monitor.ui
  • org.eclipse.wst.server.ui
  • org.eclipse.wst.server.ui.infopop


  • org.eclipse.wst.server.ui.doc.user


  • org.eclipse.wst.common.emfworkbench.integration
  • org.eclipse.wst.css.core
  • org.eclipse.wst.html.core
  • org.eclipse.wst.javascript.core
  • org.eclipse.wst.web


  • org.eclipse.wst.web.isv.doc
  • org.eclipse.wst.web.source


  • org.eclipse.wst.css.core.tests
  • org.eclipse.wst.css.tests.encoding
  • org.eclipse.wst.css.ui.tests
  • org.eclipse.wst.css.ui.tests.performance
  • org.eclipse.wst.html.core.tests
  • org.eclipse.wst.html.tests.encoding
  • org.eclipse.wst.html.ui.tests
  • org.eclipse.wst.html.ui.tests.performance


  • org.eclipse.wst.html.standard.dtds


  • org.eclipse.wst.css.ui
  • org.eclipse.wst.html.ui
  • org.eclipse.wst.javascript.ui
  • org.eclipse.wst.web.ui
  • org.eclipse.wst.css.ui.infopop
  • org.eclipse.wst.html.ui.infopop
  • org.eclipse.wst.javascript.ui.infopop


  • org.eclipse.wst.webtools.doc.user


  • org.eclipse.wst.wsdl
  • org.eclipse.wst.wsi


  • org.eclipse.wst.webservice.source


  • org.eclipse.wst.wsdl.tests
  • org.eclipse.wst.wsdl.tests.performance
  • org.eclipse.wst.wsdl.tests.ui
  • org.eclipse.wst.wsdl.validation.tests
  • org.eclipse.wst.wsi.tests


  • org.apache.wsil4j
  • org.uddi4j
  • org.wsdl4j
  • org.apache.wsil4j.feature
  • org.uddi4j.feature
  • org.wsdl4j.feature


  • org.eclipse.wst.wsdl.ui
  • org.eclipse.wst.wsdl.validation
  • org.eclipse.wst.wsi.ui
  • org.eclipse.wst.wsdl.ui.doc.user
  • org.eclipse.wst.wsi.ui.doc.user


  • org.eclipse.wst.wsdleditor.doc.user