Using the internal Tomcat to launch Web Applications [message #316675] |
Thu, 14 June 2007 11:46 |
Eclipse User |
|
|
|
Hi!
The original reason for shipping the Tomcat was to provide an
application server for the help system. However, in the meantime there
are other Eclipse projects (at least BIRT and WebTools) which make also
use of the internal application server.
They use different approaches:
1) BIRT searches for providers of the extension point
org.eclipse.help.appserver.server. Using that it will retrieve an
instance of org.eclipse.help.internal.appserver.IWebappServer
2) WebTools (WS Explorer) directly uses
org.eclipse.help.internal.appserver.start
For both approaches the plug-ins need a dependency to
org.eclipse.help.appserver and and they have to deal with its internals.
Now I am wondering if I am supposed to use the internal Tomcat in my own
projects, too. From my point of view it would make perfect sense, since
it saves both space for the installation and runtime. Even when one
instance is shared with the help system there is no interference because
every application has its own context (Although I could think of one:
overwriting the user's port preference for the help server if the user
preferred to set a port instead of using a free port).
Is there a plan to create a public API for using the internal app server
in the future?
Thanks
Markus
|
|
|
Powered by
FUDForum. Page generated in 0.03098 seconds