Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Making web application based on Eclipse?
Making web application based on Eclipse? [message #247890] Tue, 01 June 2004 09:16 Go to next message
Eclipse UserFriend
Originally posted by: lintonye.tometasoftware.com

Good day!

Well, we have Rich Client Platform in version 3.0 of Eclipse. How rich the
platform could be? :)

I am just wondering if we can make a web application based on Eclipse. That
is, it's based on RCP and can have the plug-in architecture. E.g. a
Java+Tomcat system which supports plug-ins and probably other features of
Eclipse platform?

Any ideas and discussions are welcomed.

Thanks
Linton
Re: Making web application based on Eclipse? [message #248176 is a reply to message #247890] Tue, 01 June 2004 22:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

I'm not totaly familiar with the help system, but I believe this is how
it works.

PaScaL

Linton wrote:

> Good day!
>
> Well, we have Rich Client Platform in version 3.0 of Eclipse. How rich the
> platform could be? :)
>
> I am just wondering if we can make a web application based on Eclipse. That
> is, it's based on RCP and can have the plug-in architecture. E.g. a
> Java+Tomcat system which supports plug-ins and probably other features of
> Eclipse platform?
>
> Any ideas and discussions are welcomed.
>
> Thanks
> Linton
>
>
Re: Making web application based on Eclipse? [message #248304 is a reply to message #247890] Wed, 02 June 2004 06:31 Go to previous message
Eclipse UserFriend
"Linton" <lintonye@tometasoftware.com> wrote in message
news:c9hv59$is9$1@eclipse.org...
> Good day!
>
> Well, we have Rich Client Platform in version 3.0 of Eclipse. How rich
the
> platform could be? :)
>
> I am just wondering if we can make a web application based on Eclipse.
That
> is, it's based on RCP and can have the plug-in architecture. E.g. a
> Java+Tomcat system which supports plug-ins and probably other features of
> Eclipse platform?
>

Yes you can, but it's not a publicly supported use of Eclipse and therefore
will require a lot of determination to actually use. Eclipse currently
embeds the Tomcat app server in a plugin (it is used to host the help
system). You can create plugins that wrap web applications and then deploy
those application using the Eclipse-based Tomcat. Your web applications can
then take advantage of the Eclipse extension mechanism.
Warning: this uses non-public APIs.

-----------------------------------

Quick instrtructions:
Create a plugin that contains your web application (see the
org.eclipse.help.webapp plugin for an example). Create an instance of
IPlatformRunnable that will start your web application. When the
IPlatformRunnable is started deploy your web app via the
org.eclipse.help.internal.appserver.WebappManager class, like so:

WebappManager.start("rpc", "com.rpc.core.web", new Path("rpc"));

....in the statement above I have put my web application in a subdirectory
named "rpc". I am telling the WebappManager to map my application to the
"rpc" namespace in the web server, that my web application is in the
com.rpc.core.web plugins, and where my app is located within the plugin that
contains it.

Before your IPlatformRunnable shuts down do this to stop your web app:

WebappManager.stop("rpc");



ted stockwell
RPC Software
Previous Topic:Plugin version to manifest.mf
Next Topic:Re: CVS perspective - how to set up "Repository location"
Goto Forum:
  


Current Time: Sun May 11 13:30:15 EDT 2025

Powered by FUDForum. Page generated in 0.03117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top