[Net4j] [message #118108] |
Sun, 13 April 2008 10:34  |
Eclipse User |
|
|
|
Hi Eike,
after trying around with the echo example (which helps me a lot) many new
questions comming up to me.
I found some documentation on http://net4j.berlios.de/. Is this
documentation still valid? Especially that Net4J runs in a Merlin
Container? I could not found a referenced third party jar.
The EchoServer is based on the TCP Plugin. Which services does the TCP
Plugin provides here.
My planned server should work with a protocoll designed like echo Protocoll.
So I could do it like in the example. On the other side I have two older
legacy protocolls I would like to serve. These clients are implemented in
Perl and in C.
So I think I have to implement these protocolls on a lower level in Net4J
than the echo protocoll. Is it possible to mix these different behavior at
the same time in one server?
Thank you in advance
Torsten Link
|
|
|
Re: [Net4j] [message #118212 is a reply to message #118108] |
Mon, 14 April 2008 03:29  |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Torsten Link schrieb:
> Hi Eike,
>
> after trying around with the echo example (which helps me a lot) many new
> questions comming up to me.
>
> I found some documentation on http://net4j.berlios.de/. Is this
> documentation still valid? Especially that Net4J runs in a Merlin
> Container? I could not found a referenced third party jar.
>
No, the documentation at Berlios is not valid anymore.
And current Net4j is not based on the Merlin Container.
> The EchoServer is based on the TCP Plugin. Which services does the TCP
> Plugin provides here.
>
The TCP plugin implements the tcp transport protocol:
- TCPConnector
- TCPAcceptor
- TCPSelector
> My planned server should work with a protocoll designed like echo Protocoll.
> So I could do it like in the example. On the other side I have two older
> legacy protocolls I would like to serve. These clients are implemented in
> Perl and in C.
> So I think I have to implement these protocolls on a lower level in Net4J
> than the echo protocoll. Is it possible to mix these different behavior at
> the same time in one server?
>
It is possible to install multiple application protocols (plus multiple
transport protocols) at both sides client and server.
You can even drive multiple protocols through a single transport
connector, each through its own IChannel, i.e. you can call
openChannel() multiple times on IConnector.
But I don't think that you can serve non-Net4j clients with a Net4j
SignalProtocol on the server side.
Cheers
/Eike
>
>
> Thank you in advance
>
>
> Torsten Link
>
|
|
|
Re: [Net4j] [message #616272 is a reply to message #118108] |
Mon, 14 April 2008 03:29  |
Eclipse User |
|
|
|
Torsten Link schrieb:
> Hi Eike,
>
> after trying around with the echo example (which helps me a lot) many new
> questions comming up to me.
>
> I found some documentation on http://net4j.berlios.de/ Is this
> documentation still valid? Especially that Net4J runs in a Merlin
> Container? I could not found a referenced third party jar.
>
No, the documentation at Berlios is not valid anymore.
And current Net4j is not based on the Merlin Container.
> The EchoServer is based on the TCP Plugin. Which services does the TCP
> Plugin provides here.
>
The TCP plugin implements the tcp transport protocol:
- TCPConnector
- TCPAcceptor
- TCPSelector
> My planned server should work with a protocoll designed like echo Protocoll.
> So I could do it like in the example. On the other side I have two older
> legacy protocolls I would like to serve. These clients are implemented in
> Perl and in C.
> So I think I have to implement these protocolls on a lower level in Net4J
> than the echo protocoll. Is it possible to mix these different behavior at
> the same time in one server?
>
It is possible to install multiple application protocols (plus multiple
transport protocols) at both sides client and server.
You can even drive multiple protocols through a single transport
connector, each through its own IChannel, i.e. you can call
openChannel() multiple times on IConnector.
But I don't think that you can serve non-Net4j clients with a Net4j
SignalProtocol on the server side.
Cheers
/Eike
>
>
> Thank you in advance
>
>
> Torsten Link
>
|
|
|
Powered by
FUDForum. Page generated in 0.03784 seconds