dev@grizzly.java.net

Re: RSS BC port unification

From: Andreas Egloff <Andreas.Egloff_at_Sun.COM>
Date: Tue, 05 Jun 2007 12:13:02 -0700

Hello Jeanfrancois, I think in this case we would like to be able to
port unification between tow components that use an embedded grizzly
instance that is separate from the grizzly instance the glassfish
appserver itself is using.

Is there a way for those two to do port unification? In this case I also
don't think we necessarily want to distinguish according to protocol,
more by the URL context information - is that supported in grizzly?

Andi

James Lorenzen wrote:
>
> My team has recently created/open sourced an RSS Binding Component to
> be used within OpenESB: https://rss-bc.dev.java.net/.
>
> One of the features supported is the ability for components to publish
> entries locally to be viewed by RSS Readers. RSS Readers use HTTP GET
> to retrieve a syndication feed. We originally hoped that we could
> reuse the HTTP BC to receive the GET and forward to the RSS BC;
> however this presented a lot of problems so we decided to embed a
> small server in the RSS BC to handle the HTTP GETs.
>
> Unfortunately what this means is that we now consume yet another port.
> For example the HTTP BC typically uses by default port 18181 and now
> the RSS BC will be using say port 18282. Ultimately we would like to
> use the same port.
>
> I have read Jean-Francois article on port unification
> <http://weblogs.java.net/blog/jfarcand/archive/2006/11/one_port_to_rul.html>
> but it’s unclear to me how the RSS and HTTP BC could use the same
> port. Programmatically what do I need to do to make this happen?
>