Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "WTP Servers Bridge for STP SOAS"
(→Why need to build the wtp server bridge) |
(→How it works) |
||
Line 5: | Line 5: | ||
== How it works == | == How it works == | ||
+ | === Changes === | ||
+ | *StpProfileManager | ||
+ | Instead of using ProfileManager from DTP, we delegate all profile related calls to the new StpProfileManager. | ||
+ | It will first lookup profile form DTP, then retrieve profile from wtp server delegate. The result will be combination of both. | ||
+ | *WtpServerBridge | ||
+ | It used to retrive related wtp server from ServerCore according to server type <-> connection profile ID mappings defined in the bridge extension point. | ||
+ | *IWTPServerAdater | ||
+ | Adapter interface to convert server instance to connection profile class. For each server type supported by this bridge, there | ||
+ | will be an server adapter. | ||
+ | *Tomcat server adapter | ||
+ | Predefined adapter to convert tomcat server in wtp to tomcat connection profile. | ||
+ | *wtpBridge.exsd | ||
+ | Define the mapping between wtp server type and stp connection profile id | ||
+ | |||
+ | === Extension point schema === | ||
+ | wtpBridge.exsd | ||
+ | *wtpServerType, It is server type defined in wtp. for tomcat example "org.eclipse.jst.server.tomcat.55" | ||
+ | *stpConnectionProfile, It is the related connection profile defined in stp. for tomcat example "org.eclipse.stp.soas.deploy.profile.tomcat" | ||
+ | *stpProfileCategory, connection profile category defined in stp. for example "org.eclipse.stp.soas.deploy.profile.tomcat" | ||
+ | *serverAdapterClass, the adapter class to convert wtp server to ConnectionProfile i/f, for example "org.eclipse.stp.soas.deploy.tomcat.wtp.WtpTomcatServerAdapter" | ||
+ | |||
+ | === Screenshots === | ||
+ | |||
== Using Tomcat server defined in wtp == | == Using Tomcat server defined in wtp == | ||
== How to use other server defined in wtp == | == How to use other server defined in wtp == |
Revision as of 03:37, 11 May 2007
Contents
Why need to build the wtp server bridge
One good suggestion from the lastest stp meeting (Apr24,25, dublin): Since wtp server frame work is quite popular now, it will be good if we can deploy component directly to wtp server.
Thus we build this bridge to connect between those two frameworks. It will allow developer to use wtp server as connection profile defined in stp. Thus we can deploy service to wtp server without modify current code base, which is all based on connection profile defined in DTP.
How it works
Changes
- StpProfileManager
Instead of using ProfileManager from DTP, we delegate all profile related calls to the new StpProfileManager. It will first lookup profile form DTP, then retrieve profile from wtp server delegate. The result will be combination of both.
- WtpServerBridge
It used to retrive related wtp server from ServerCore according to server type <-> connection profile ID mappings defined in the bridge extension point.
- IWTPServerAdater
Adapter interface to convert server instance to connection profile class. For each server type supported by this bridge, there will be an server adapter.
- Tomcat server adapter
Predefined adapter to convert tomcat server in wtp to tomcat connection profile.
- wtpBridge.exsd
Define the mapping between wtp server type and stp connection profile id
Extension point schema
wtpBridge.exsd
*wtpServerType, It is server type defined in wtp. for tomcat example "org.eclipse.jst.server.tomcat.55" *stpConnectionProfile, It is the related connection profile defined in stp. for tomcat example "org.eclipse.stp.soas.deploy.profile.tomcat" *stpProfileCategory, connection profile category defined in stp. for example "org.eclipse.stp.soas.deploy.profile.tomcat" *serverAdapterClass, the adapter class to convert wtp server to ConnectionProfile i/f, for example "org.eclipse.stp.soas.deploy.tomcat.wtp.WtpTomcatServerAdapter"
Screenshots
Using Tomcat server defined in wtp
How to use other server defined in wtp
More work to do?
Johnson Ma, 2007-05-11