Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox HTTPServletBridge vs. Eclipse Platform Core Runtime
Equinox HTTPServletBridge vs. Eclipse Platform Core Runtime [message #88958] Wed, 30 May 2007 14:16 Go to next message
Eclipse UserFriend
Originally posted by: viy.net.gmail.com

Hi all,

I'm very interested in:
is Equinox HTTPServletBridge similar to Eclipse Platform Core Runtime
regarding the way how I can list all available extensions and extension
points?

For example the link
http://wiki.eclipse.org/index.php/FAQ_How_do_I_make_my_plug- in_dynamic_aware%3F
provides the example:

public void startup() {
IExtensionRegistry reg = Platform.getExtensionRegistry();
// skipped
}

but the Platform.class (and btw Plugin.class too) is completely missed
from all plugins available in bridge.war (I guess it should be in
org.eclipse.equinox.registry.jar)

How to list all available extension from inside Equinox HTTPServletBridge?

And more general question: is information in the Eclipse plugin
development documentation applicable for Equinox too (especially for
Equinox HTTPServletBridge)?

Where can I find a complete documentation on Equinox?
Links on the page http://www.eclipse.org/equinox/documents/ aren't
sufficient.

Thanks in advance.
Re: Equinox HTTPServletBridge vs. Eclipse Platform Core Runtime [message #88988 is a reply to message #88958] Wed, 30 May 2007 18:13 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
> is Equinox HTTPServletBridge similar to Eclipse Platform Core Runtime
> regarding the way how I can list all available extensions and extension
> points?
>
> For example the link
> http://wiki.eclipse.org/index.php/FAQ_How_do_I_make_my_plug- in_dynamic_aware%3F
> provides the example:
>
> public void startup() {
> IExtensionRegistry reg = Platform.getExtensionRegistry();
> // skipped
> }
>
> but the Platform.class (and btw Plugin.class too) is completely missed
> from all plugins available in bridge.war (I guess it should be in
> org.eclipse.equinox.registry.jar)
>
> How to list all available extension from inside Equinox HTTPServletBridge?

The Platform class is in the org.eclipse.core.runtime bundle. If you wanted
to add that to your application then your approach would work.
That said, the Extension Registry is an OSGi Service so you could just look
up using a bundle context and the IExtensionRegistry class name.
Take a look in org.eclipse.equinox.http.registry for an example that uses a
ServiceTracker.

>
> And more general question: is information in the Eclipse plugin
> development documentation applicable for Equinox too (especially for
> Equinox HTTPServletBridge)?
>
> Where can I find a complete documentation on Equinox?
> Links on the page http://www.eclipse.org/equinox/documents/ aren't
> sufficient.
>
For general Equinox and Platform issues for books I'd recommend the "Eclipse
Rich Client Platform" and "The Official Eclipse 3.0 FAQs".
The OSGi specs are also an excellent resource.

For the Servletbridge, there were a couple of tutorials at eclipsecon that
may be worth a look:
http://www.eclipsecon.org/2007/index.php?page=sub/&id=36 07
http://www.eclipsecon.org/2007/index.php?page=sub/&id=37 19

We're in the final stages of the 3.3 release and I'd expect that we'll have
a chance to look at and update some of the content on the website in the
next few weeks.

-Simon
Re: Equinox HTTPServletBridge vs. Eclipse Platform Core Runtime [message #89062 is a reply to message #88988] Thu, 31 May 2007 17:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: viy.net.gmail.com

Simon Kaegi wrote:
>> is Equinox HTTPServletBridge similar to Eclipse Platform Core Runtime
>> regarding the way how I can list all available extensions and extension
>> points?
>>
>> For example the link
>> http://wiki.eclipse.org/index.php/FAQ_How_do_I_make_my_plug- in_dynamic_aware%3F
>> provides the example:
>>
>> public void startup() {
>> IExtensionRegistry reg = Platform.getExtensionRegistry();
>> // skipped
>> }
>>
>> but the Platform.class (and btw Plugin.class too) is completely missed
>> from all plugins available in bridge.war (I guess it should be in
>> org.eclipse.equinox.registry.jar)
>>
>> How to list all available extension from inside Equinox HTTPServletBridge?
>
> The Platform class is in the org.eclipse.core.runtime bundle. If you wanted
> to add that to your application then your approach would work.
> That said, the Extension Registry is an OSGi Service so you could just look
> up using a bundle context and the IExtensionRegistry class name.
> Take a look in org.eclipse.equinox.http.registry for an example that uses a
> ServiceTracker.

Thank you, Simon, it was a very useful tip for me.
Now it works, and I have a good point to start.

> For general Equinox and Platform issues for books I'd recommend the "Eclipse
> Rich Client Platform" and "The Official Eclipse 3.0 FAQs".
> The OSGi specs are also an excellent resource.

Btw, what is Infonoia's RSP (Rich Server Platform)?
Will RSP be a Eclipse product or is it just Infonoia's?
What is cons and pros to use RSP or Equinox HTTP Bridge for server side app?

> We're in the final stages of the 3.3 release and I'd expect that we'll have
> a chance to look at and update some of the content on the website in the
> next few weeks.

You meant Equinox 3.3, right?
Where is "home place" of HTTP bridge project? It's download page
http://www.eclipse.org/equinox/server/http_in_container.php looks
strange -- it contains just link to non-versioned
http://www.eclipse.org/equinox/server/downloads/bridge.war

Thanks in advance.
Re: Equinox HTTPServletBridge vs. Eclipse Platform Core Runtime [message #89118 is a reply to message #89062] Thu, 31 May 2007 20:34 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
> Btw, what is Infonoia's RSP (Rich Server Platform)?
> Will RSP be a Eclipse product or is it just Infonoia's?
> What is cons and pros to use RSP or Equinox HTTP Bridge for server side
> app?
>
RSP is a bit of a tongue in cheek poke at the RCP.
Ultimately I guess RSP is the concept that you can use all this RCP stuff on
servers too.
Infonoia was one of the earliest adopters of the Servletbridge and the RSP
article was about doing integration with Struts and motivating the ideas
around modular server components. There was a proposal put forward for an
RSP-UI project a while back however I'm not sure what the current status
is -- http://www.eclipse.org/proposals/rsp/

>> We're in the final stages of the 3.3 release and I'd expect that we'll
>> have a chance to look at and update some of the content on the website in
>> the next few weeks.
>
> You meant Equinox 3.3, right?
Yes. Eclipse and Equinox release at the same time.

> Where is "home place" of HTTP bridge project? It's download page
> http://www.eclipse.org/equinox/server/http_in_container.php looks
> strange -- it contains just link to non-versioned
> http://www.eclipse.org/equinox/server/downloads/bridge.war
>
The "home" for the server-side related stuff is at
http://www.eclipse.org/equinox/server/ . When I update the web site I might
partition it a bit however I generally want to keep this stuff all together.
For the WAR file, I generally build it as a convenience for Quickstart
usage. I generally would encourage becoming familiar with building your own
WAR file. That said, I'll probably update the WAR file on the weekend as
things (at least for Equinox) are pretty much stable and done for 3.3.

-Simon
Previous Topic:Equinox in clustered server env
Next Topic:jsp's are re-compiled after every tomcat restart?
Goto Forum:
  


Current Time: Thu Apr 25 16:21:23 GMT 2024

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

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

Back to the top