Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Net4j] newbee: Example for a simple server and client
[Net4j] newbee: Example for a simple server and client [message #117351] Tue, 08 April 2008 22:14 Go to next message
Torsten Link is currently offline Torsten LinkFriend
Messages: 51
Registered: July 2009
Member
Hi,

I am searching for an easy server and client example to start learning
the Net4j Framework.
I thought on something like an echo server.
I am not sure where to start.


All I have tried did not work.


Do you have any suggestion for me.


Thank you


Torsten
Re: [Net4j] newbee: Example for a simple server and client [message #117484 is a reply to message #117351] Wed, 09 April 2008 16:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Hi Torsten,

Have you already had a look at the slides that I prepared for my short talk at the EclipseCon?
You can find them at http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2

There are also some examples on how to implement a Net4j protocol, all of them fairly larger than an echo protocol:
- org.eclipse.net4j.buddies + org.eclipse.net4j.chat
- org.eclipse.net4j.jms
- org.eclipse.emf.cdo

I agree that a smaller example would be good to have. Please feel free to open a Bugzilla!

I guess that you'll come back with more detailed questions after you walked through the slides that I mentioned above.
If so, please give a bit of information about the environment you plan to let your client and server run in (standalone, pure OSGi, Eclipse, ...)

Cheers
/Eike



Torsten Link schrieb:
> Hi,
>
> I am searching for an easy server and client example to start learning
> the Net4j Framework.
> I thought on something like an echo server.
> I am not sure where to start.
>
>
> All I have tried did not work.
>
>
> Do you have any suggestion for me.
>
>
> Thank you
>
>
> Torsten
Re: [Net4j] newbee: Example for a simple server and client [message #117523 is a reply to message #117484] Wed, 09 April 2008 17:53 Go to previous messageGo to next message
Torsten Link is currently offline Torsten LinkFriend
Messages: 51
Registered: July 2009
Member
Hi Eike,

I already had a look at the slides but is this for a new protokoll or for an
existing one?

I also had a look at the examples and the testcode but I get a little bit
lost. These examples are to complex for me. To find a starting point is my
problem.

The server should run as 'standalone' as possible but I would like the use
the plugin funktionality so I think it will need OSGi.


Thank you


Torsten


Eike Stepper wrote:

> Hi Torsten,
>
> Have you already had a look at the slides that I prepared for my short
> talk at the EclipseCon? You can find them at
> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>
> There are also some examples on how to implement a Net4j protocol, all of
> them fairly larger than an echo protocol: - org.eclipse.net4j.buddies +
> org.eclipse.net4j.chat - org.eclipse.net4j.jms
> - org.eclipse.emf.cdo
>
> I agree that a smaller example would be good to have. Please feel free to
> open a Bugzilla!
>
> I guess that you'll come back with more detailed questions after you
> walked through the slides that I mentioned above. If so, please give a bit
> of information about the environment you plan to let your client and
> server run in (standalone, pure OSGi, Eclipse, ...)
>
> Cheers
> /Eike
>
>
>
> Torsten Link schrieb:
>> Hi,
>>
>> I am searching for an easy server and client example to start learning
>> the Net4j Framework.
>> I thought on something like an echo server.
>> I am not sure where to start.
>>
>>
>> All I have tried did not work.
>>
>>
>> Do you have any suggestion for me.
>>
>>
>> Thank you
>>
>>
>> Torsten
Re: [Net4j] newbee: Example for a simple server and client [message #117671 is a reply to message #117523] Thu, 10 April 2008 13:21 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Torsten,

I'll write and commit an additional small ECHOProtocol example this
evening and post here when you can check it out.

Cheers
/Eike



Torsten Link wrote:

> Hi Eike,

> I already had a look at the slides but is this for a new protokoll or for an
> existing one?

> I also had a look at the examples and the testcode but I get a little bit
> lost. These examples are to complex for me. To find a starting point is my
> problem.

> The server should run as 'standalone' as possible but I would like the use
> the plugin funktionality so I think it will need OSGi.


> Thank you


> Torsten


> Eike Stepper wrote:

>> Hi Torsten,
>>
>> Have you already had a look at the slides that I prepared for my short
>> talk at the EclipseCon? You can find them at
>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>
>> There are also some examples on how to implement a Net4j protocol, all of
>> them fairly larger than an echo protocol: - org.eclipse.net4j.buddies +
>> org.eclipse.net4j.chat - org.eclipse.net4j.jms
>> - org.eclipse.emf.cdo
>>
>> I agree that a smaller example would be good to have. Please feel free to
>> open a Bugzilla!
>>
>> I guess that you'll come back with more detailed questions after you
>> walked through the slides that I mentioned above. If so, please give a bit
>> of information about the environment you plan to let your client and
>> server run in (standalone, pure OSGi, Eclipse, ...)
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Torsten Link schrieb:
>>> Hi,
>>>
>>> I am searching for an easy server and client example to start learning
>>> the Net4j Framework.
>>> I thought on something like an echo server.
>>> I am not sure where to start.
>>>
>>>
>>> All I have tried did not work.
>>>
>>>
>>> Do you have any suggestion for me.
>>>
>>>
>>> Thank you
>>>
>>>
>>> Torsten


Re: [Net4j] newbee: Example for a simple server and client [message #117696 is a reply to message #117671] Thu, 10 April 2008 17:36 Go to previous messageGo to next message
Torsten Link is currently offline Torsten LinkFriend
Messages: 51
Registered: July 2009
Member
Hi Eike,


Thank you for your quick Help.


Torsten


Eike Stepper wrote:

> Hi Torsten,
>
> I'll write and commit an additional small ECHOProtocol example this
> evening and post here when you can check it out.
>
> Cheers
> /Eike
>
>
>
> Torsten Link wrote:
>
>> Hi Eike,
>
>> I already had a look at the slides but is this for a new protokoll or for
>> an existing one?
>
>> I also had a look at the examples and the testcode but I get a little bit
>> lost. These examples are to complex for me. To find a starting point is
>> my problem.
>
>> The server should run as 'standalone' as possible but I would like the
>> use the plugin funktionality so I think it will need OSGi.
>
>
>> Thank you
>
>
>> Torsten
>
>
>> Eike Stepper wrote:
>
>>> Hi Torsten,
>>>
>>> Have you already had a look at the slides that I prepared for my short
>>> talk at the EclipseCon? You can find them at
>>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>>
>>> There are also some examples on how to implement a Net4j protocol, all
>>> of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
>>> + org.eclipse.net4j.chat - org.eclipse.net4j.jms
>>> - org.eclipse.emf.cdo
>>>
>>> I agree that a smaller example would be good to have. Please feel free
>>> to open a Bugzilla!
>>>
>>> I guess that you'll come back with more detailed questions after you
>>> walked through the slides that I mentioned above. If so, please give a
>>> bit of information about the environment you plan to let your client and
>>> server run in (standalone, pure OSGi, Eclipse, ...)
>>>
>>> Cheers
>>> /Eike
>>>
>>>
>>>
>>> Torsten Link schrieb:
>>>> Hi,
>>>>
>>>> I am searching for an easy server and client example to start learning
>>>> the Net4j Framework.
>>>> I thought on something like an echo server.
>>>> I am not sure where to start.
>>>>
>>>>
>>>> All I have tried did not work.
>>>>
>>>>
>>>> Do you have any suggestion for me.
>>>>
>>>>
>>>> Thank you
>>>>
>>>>
>>>> Torsten
Re: [Net4j] newbee: Example for a simple server and client [message #117792 is a reply to message #117696] Fri, 11 April 2008 09:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Torsten Link wrote:

> Hi Eike,


> Thank you for your quick Help.
Your thanks came too early ;-(
Apologies for being late but my current customer ovewrly occupies me at
the moment.
I hope that on my flieght back tonight I'll have the time to hammer a
good/simple example...

Cheers
/Eike




> Torsten


> Eike Stepper wrote:

>> Hi Torsten,
>>
>> I'll write and commit an additional small ECHOProtocol example this
>> evening and post here when you can check it out.
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Torsten Link wrote:
>>
>>> Hi Eike,
>>
>>> I already had a look at the slides but is this for a new protokoll or for
>>> an existing one?
>>
>>> I also had a look at the examples and the testcode but I get a little bit
>>> lost. These examples are to complex for me. To find a starting point is
>>> my problem.
>>
>>> The server should run as 'standalone' as possible but I would like the
>>> use the plugin funktionality so I think it will need OSGi.
>>
>>
>>> Thank you
>>
>>
>>> Torsten
>>
>>
>>> Eike Stepper wrote:
>>
>>>> Hi Torsten,
>>>>
>>>> Have you already had a look at the slides that I prepared for my short
>>>> talk at the EclipseCon? You can find them at
>>>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>>>
>>>> There are also some examples on how to implement a Net4j protocol, all
>>>> of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
>>>> + org.eclipse.net4j.chat - org.eclipse.net4j.jms
>>>> - org.eclipse.emf.cdo
>>>>
>>>> I agree that a smaller example would be good to have. Please feel free
>>>> to open a Bugzilla!
>>>>
>>>> I guess that you'll come back with more detailed questions after you
>>>> walked through the slides that I mentioned above. If so, please give a
>>>> bit of information about the environment you plan to let your client and
>>>> server run in (standalone, pure OSGi, Eclipse, ...)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>>
>>>>
>>>> Torsten Link schrieb:
>>>>> Hi,
>>>>>
>>>>> I am searching for an easy server and client example to start learning
>>>>> the Net4j Framework.
>>>>> I thought on something like an echo server.
>>>>> I am not sure where to start.
>>>>>
>>>>>
>>>>> All I have tried did not work.
>>>>>
>>>>>
>>>>> Do you have any suggestion for me.
>>>>>
>>>>>
>>>>> Thank you
>>>>>
>>>>>
>>>>> Torsten


Re: [Net4j] newbee: Example for a simple server and client [message #117928 is a reply to message #117696] Sat, 12 April 2008 07:56 Go to previous message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------060308000102000608000000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Torsten,

You can find the ECHO protocol example in the org.eclipse.net4j.examples
plugin:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/src/o rg/eclipse/net4j/examples/echo/?root=Modeling_Project

It is designed for running the EchoServer and EchoClients standalone.
If you plan to use OSGi/Eclipse as environment you could contribute your
protocol factories via the org.eclipse.net4j.util.factories extension
point. See
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/plugi n.xml?revision=1.1&root=Modeling_Project&view=markup

If your own application is asymmetric and starts to grow you might want
to separate the respective client and server code into separate plugins
as well.

Cheers
/Eike


Torsten Link schrieb:
> Hi Eike,
>
>
> Thank you for your quick Help.
>
>
> Torsten
>
>
> Eike Stepper wrote:
>
>
>> Hi Torsten,
>>
>> I'll write and commit an additional small ECHOProtocol example this
>> evening and post here when you can check it out.
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Torsten Link wrote:
>>
>>
>>> Hi Eike,
>>>
>>> I already had a look at the slides but is this for a new protokoll or for
>>> an existing one?
>>>
>>> I also had a look at the examples and the testcode but I get a little bit
>>> lost. These examples are to complex for me. To find a starting point is
>>> my problem.
>>>
>>> The server should run as 'standalone' as possible but I would like the
>>> use the plugin funktionality so I think it will need OSGi.
>>>
>>
>>> Thank you
>>>
>>
>>> Torsten
>>>
>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Torsten,
>>>>
>>>> Have you already had a look at the slides that I prepared for my short
>>>> talk at the EclipseCon? You can find them at
>>>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>>>
>>>> There are also some examples on how to implement a Net4j protocol, all
>>>> of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
>>>> + org.eclipse.net4j.chat - org.eclipse.net4j.jms
>>>> - org.eclipse.emf.cdo
>>>>
>>>> I agree that a smaller example would be good to have. Please feel free
>>>> to open a Bugzilla!
>>>>
>>>> I guess that you'll come back with more detailed questions after you
>>>> walked through the slides that I mentioned above. If so, please give a
>>>> bit of information about the environment you plan to let your client and
>>>> server run in (standalone, pure OSGi, Eclipse, ...)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>>
>>>>
>>>> Torsten Link schrieb:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am searching for an easy server and client example to start learning
>>>>> the Net4j Framework.
>>>>> I thought on something like an echo server.
>>>>> I am not sure where to start.
>>>>>
>>>>>
>>>>> All I have tried did not work.
>>>>>
>>>>>
>>>>> Do you have any suggestion for me.
>>>>>
>>>>>
>>>>> Thank you
>>>>>
>>>>>
>>>>> Torsten
>>>>>
>
>

--------------060308000102000608000000
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Torsten,<br>
<br>
You can find the ECHO protocol example in the
org.eclipse.net4j.examples plugin:<br>
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/src/o rg/eclipse/net4j/examples/echo/?root=Modeling_Project"> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/src/o rg/eclipse/net4j/examples/echo/?root=Modeling_Project</a><br>
<br>
It is designed for running the EchoServer and EchoClients standalone.<br>
If you plan to use OSGi/Eclipse as environment you could contribute
your protocol factories via the org.eclipse.net4j.util.factories
extension point. See
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/plugi n.xml?revision=1.1&root=Modeling_Project&view=markup"> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/plugi n.xml?revision=1.1&amp;root=Modeling_Project&amp;view=markup</a><br>
<br>
If your own application is asymmetric and starts to grow you might want
to separate the respective client and server code into separate plugins
as well.<br>
<br>
Cheers<br>
/Eike<br>
<br>
<br>
Torsten Link schrieb:
<blockquote cite="mid:ftlj7a$h2v$1@build.eclipse.org" type="cite">
<pre wrap="">Hi Eike,


Thank you for your quick Help.


Torsten


Eike Stepper wrote:

</pre>
<blockquote type="cite">
<pre wrap="">Hi Torsten,

I'll write and commit an additional small ECHOProtocol example this
evening and post here when you can check it out.

Cheers
/Eike



Torsten Link wrote:

</pre>
<blockquote type="cite">
<pre wrap="">Hi Eike,
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">I already had a look at the slides but is this for a new protokoll or for
an existing one?
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">I also had a look at the examples and the testcode but I get a little bit
lost. These examples are to complex for me. To find a starting point is
my problem.
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">The server should run as 'standalone' as possible but I would like the
use the plugin funktionality so I think it will need OSGi.
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Thank you
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Torsten
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Eike Stepper wrote:
</pre>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Hi Torsten,

Have you already had a look at the slides that I prepared for my short
talk at the EclipseCon? You can find them at
<a class="moz-txt-link-freetext" href=" http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2">http://www.eclipsecon.org/2008/index.php?page=sub/&amp;id=212</a>

There are also some examples on how to implement a Net4j protocol, all
of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
+ org.eclipse.net4j.chat - org.eclipse.net4j.jms
- org.eclipse.emf.cdo

I agree that a smaller example would be good to have. Please feel free
to open a Bugzilla!

I guess that you'll come back with more detailed questions after you
walked through the slides that I mentioned above. If so, please give a
bit of information about the environment you plan to let your client and
server run in (standalone, pure OSGi, Eclipse, ...)

Cheers
/Eike



Torsten Link schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

I am searching for an easy server and client example to start learning
the Net4j Framework.
I thought on something like an echo server.
I am not sure where to start.


All I have tried did not work.


Do you have any suggestion for me.


Thank you


Torsten
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>

--------------060308000102000608000000--
Re: [Net4j] newbee: Example for a simple server and client [message #616150 is a reply to message #117351] Wed, 09 April 2008 16:49 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Torsten,

Have you already had a look at the slides that I prepared for my short talk at the EclipseCon?
You can find them at http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2

There are also some examples on how to implement a Net4j protocol, all of them fairly larger than an echo protocol:
- org.eclipse.net4j.buddies + org.eclipse.net4j.chat
- org.eclipse.net4j.jms
- org.eclipse.emf.cdo

I agree that a smaller example would be good to have. Please feel free to open a Bugzilla!

I guess that you'll come back with more detailed questions after you walked through the slides that I mentioned above.
If so, please give a bit of information about the environment you plan to let your client and server run in (standalone, pure OSGi, Eclipse, ...)

Cheers
/Eike



Torsten Link schrieb:
> Hi,
>
> I am searching for an easy server and client example to start learning
> the Net4j Framework.
> I thought on something like an echo server.
> I am not sure where to start.
>
>
> All I have tried did not work.
>
>
> Do you have any suggestion for me.
>
>
> Thank you
>
>
> Torsten


Re: [Net4j] newbee: Example for a simple server and client [message #616161 is a reply to message #117484] Wed, 09 April 2008 17:53 Go to previous message
Torsten Link is currently offline Torsten LinkFriend
Messages: 51
Registered: July 2009
Member
Hi Eike,

I already had a look at the slides but is this for a new protokoll or for an
existing one?

I also had a look at the examples and the testcode but I get a little bit
lost. These examples are to complex for me. To find a starting point is my
problem.

The server should run as 'standalone' as possible but I would like the use
the plugin funktionality so I think it will need OSGi.


Thank you


Torsten


Eike Stepper wrote:

> Hi Torsten,
>
> Have you already had a look at the slides that I prepared for my short
> talk at the EclipseCon? You can find them at
> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>
> There are also some examples on how to implement a Net4j protocol, all of
> them fairly larger than an echo protocol: - org.eclipse.net4j.buddies +
> org.eclipse.net4j.chat - org.eclipse.net4j.jms
> - org.eclipse.emf.cdo
>
> I agree that a smaller example would be good to have. Please feel free to
> open a Bugzilla!
>
> I guess that you'll come back with more detailed questions after you
> walked through the slides that I mentioned above. If so, please give a bit
> of information about the environment you plan to let your client and
> server run in (standalone, pure OSGi, Eclipse, ...)
>
> Cheers
> /Eike
>
>
>
> Torsten Link schrieb:
>> Hi,
>>
>> I am searching for an easy server and client example to start learning
>> the Net4j Framework.
>> I thought on something like an echo server.
>> I am not sure where to start.
>>
>>
>> All I have tried did not work.
>>
>>
>> Do you have any suggestion for me.
>>
>>
>> Thank you
>>
>>
>> Torsten
Re: [Net4j] newbee: Example for a simple server and client [message #616184 is a reply to message #117523] Thu, 10 April 2008 13:21 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Torsten,

I'll write and commit an additional small ECHOProtocol example this
evening and post here when you can check it out.

Cheers
/Eike



Torsten Link wrote:

> Hi Eike,

> I already had a look at the slides but is this for a new protokoll or for an
> existing one?

> I also had a look at the examples and the testcode but I get a little bit
> lost. These examples are to complex for me. To find a starting point is my
> problem.

> The server should run as 'standalone' as possible but I would like the use
> the plugin funktionality so I think it will need OSGi.


> Thank you


> Torsten


> Eike Stepper wrote:

>> Hi Torsten,
>>
>> Have you already had a look at the slides that I prepared for my short
>> talk at the EclipseCon? You can find them at
>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>
>> There are also some examples on how to implement a Net4j protocol, all of
>> them fairly larger than an echo protocol: - org.eclipse.net4j.buddies +
>> org.eclipse.net4j.chat - org.eclipse.net4j.jms
>> - org.eclipse.emf.cdo
>>
>> I agree that a smaller example would be good to have. Please feel free to
>> open a Bugzilla!
>>
>> I guess that you'll come back with more detailed questions after you
>> walked through the slides that I mentioned above. If so, please give a bit
>> of information about the environment you plan to let your client and
>> server run in (standalone, pure OSGi, Eclipse, ...)
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Torsten Link schrieb:
>>> Hi,
>>>
>>> I am searching for an easy server and client example to start learning
>>> the Net4j Framework.
>>> I thought on something like an echo server.
>>> I am not sure where to start.
>>>
>>>
>>> All I have tried did not work.
>>>
>>>
>>> Do you have any suggestion for me.
>>>
>>>
>>> Thank you
>>>
>>>
>>> Torsten


Re: [Net4j] newbee: Example for a simple server and client [message #616188 is a reply to message #117671] Thu, 10 April 2008 17:36 Go to previous message
Torsten Link is currently offline Torsten LinkFriend
Messages: 51
Registered: July 2009
Member
Hi Eike,


Thank you for your quick Help.


Torsten


Eike Stepper wrote:

> Hi Torsten,
>
> I'll write and commit an additional small ECHOProtocol example this
> evening and post here when you can check it out.
>
> Cheers
> /Eike
>
>
>
> Torsten Link wrote:
>
>> Hi Eike,
>
>> I already had a look at the slides but is this for a new protokoll or for
>> an existing one?
>
>> I also had a look at the examples and the testcode but I get a little bit
>> lost. These examples are to complex for me. To find a starting point is
>> my problem.
>
>> The server should run as 'standalone' as possible but I would like the
>> use the plugin funktionality so I think it will need OSGi.
>
>
>> Thank you
>
>
>> Torsten
>
>
>> Eike Stepper wrote:
>
>>> Hi Torsten,
>>>
>>> Have you already had a look at the slides that I prepared for my short
>>> talk at the EclipseCon? You can find them at
>>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>>
>>> There are also some examples on how to implement a Net4j protocol, all
>>> of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
>>> + org.eclipse.net4j.chat - org.eclipse.net4j.jms
>>> - org.eclipse.emf.cdo
>>>
>>> I agree that a smaller example would be good to have. Please feel free
>>> to open a Bugzilla!
>>>
>>> I guess that you'll come back with more detailed questions after you
>>> walked through the slides that I mentioned above. If so, please give a
>>> bit of information about the environment you plan to let your client and
>>> server run in (standalone, pure OSGi, Eclipse, ...)
>>>
>>> Cheers
>>> /Eike
>>>
>>>
>>>
>>> Torsten Link schrieb:
>>>> Hi,
>>>>
>>>> I am searching for an easy server and client example to start learning
>>>> the Net4j Framework.
>>>> I thought on something like an echo server.
>>>> I am not sure where to start.
>>>>
>>>>
>>>> All I have tried did not work.
>>>>
>>>>
>>>> Do you have any suggestion for me.
>>>>
>>>>
>>>> Thank you
>>>>
>>>>
>>>> Torsten
Re: [Net4j] newbee: Example for a simple server and client [message #616204 is a reply to message #117696] Fri, 11 April 2008 09:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Torsten Link wrote:

> Hi Eike,


> Thank you for your quick Help.
Your thanks came too early ;-(
Apologies for being late but my current customer ovewrly occupies me at
the moment.
I hope that on my flieght back tonight I'll have the time to hammer a
good/simple example...

Cheers
/Eike




> Torsten


> Eike Stepper wrote:

>> Hi Torsten,
>>
>> I'll write and commit an additional small ECHOProtocol example this
>> evening and post here when you can check it out.
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Torsten Link wrote:
>>
>>> Hi Eike,
>>
>>> I already had a look at the slides but is this for a new protokoll or for
>>> an existing one?
>>
>>> I also had a look at the examples and the testcode but I get a little bit
>>> lost. These examples are to complex for me. To find a starting point is
>>> my problem.
>>
>>> The server should run as 'standalone' as possible but I would like the
>>> use the plugin funktionality so I think it will need OSGi.
>>
>>
>>> Thank you
>>
>>
>>> Torsten
>>
>>
>>> Eike Stepper wrote:
>>
>>>> Hi Torsten,
>>>>
>>>> Have you already had a look at the slides that I prepared for my short
>>>> talk at the EclipseCon? You can find them at
>>>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>>>
>>>> There are also some examples on how to implement a Net4j protocol, all
>>>> of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
>>>> + org.eclipse.net4j.chat - org.eclipse.net4j.jms
>>>> - org.eclipse.emf.cdo
>>>>
>>>> I agree that a smaller example would be good to have. Please feel free
>>>> to open a Bugzilla!
>>>>
>>>> I guess that you'll come back with more detailed questions after you
>>>> walked through the slides that I mentioned above. If so, please give a
>>>> bit of information about the environment you plan to let your client and
>>>> server run in (standalone, pure OSGi, Eclipse, ...)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>>
>>>>
>>>> Torsten Link schrieb:
>>>>> Hi,
>>>>>
>>>>> I am searching for an easy server and client example to start learning
>>>>> the Net4j Framework.
>>>>> I thought on something like an echo server.
>>>>> I am not sure where to start.
>>>>>
>>>>>
>>>>> All I have tried did not work.
>>>>>
>>>>>
>>>>> Do you have any suggestion for me.
>>>>>
>>>>>
>>>>> Thank you
>>>>>
>>>>>
>>>>> Torsten


Re: [Net4j] newbee: Example for a simple server and client [message #616225 is a reply to message #117696] Sat, 12 April 2008 07:56 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060308000102000608000000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Torsten,

You can find the ECHO protocol example in the org.eclipse.net4j.examples
plugin:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/src/o rg/eclipse/net4j/examples/echo/?root=Modeling_Project

It is designed for running the EchoServer and EchoClients standalone.
If you plan to use OSGi/Eclipse as environment you could contribute your
protocol factories via the org.eclipse.net4j.util.factories extension
point. See
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/plugi n.xml?revision=1.1&root=Modeling_Project&view=markup

If your own application is asymmetric and starts to grow you might want
to separate the respective client and server code into separate plugins
as well.

Cheers
/Eike


Torsten Link schrieb:
> Hi Eike,
>
>
> Thank you for your quick Help.
>
>
> Torsten
>
>
> Eike Stepper wrote:
>
>
>> Hi Torsten,
>>
>> I'll write and commit an additional small ECHOProtocol example this
>> evening and post here when you can check it out.
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Torsten Link wrote:
>>
>>
>>> Hi Eike,
>>>
>>> I already had a look at the slides but is this for a new protokoll or for
>>> an existing one?
>>>
>>> I also had a look at the examples and the testcode but I get a little bit
>>> lost. These examples are to complex for me. To find a starting point is
>>> my problem.
>>>
>>> The server should run as 'standalone' as possible but I would like the
>>> use the plugin funktionality so I think it will need OSGi.
>>>
>>
>>> Thank you
>>>
>>
>>> Torsten
>>>
>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Torsten,
>>>>
>>>> Have you already had a look at the slides that I prepared for my short
>>>> talk at the EclipseCon? You can find them at
>>>> http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2
>>>>
>>>> There are also some examples on how to implement a Net4j protocol, all
>>>> of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
>>>> + org.eclipse.net4j.chat - org.eclipse.net4j.jms
>>>> - org.eclipse.emf.cdo
>>>>
>>>> I agree that a smaller example would be good to have. Please feel free
>>>> to open a Bugzilla!
>>>>
>>>> I guess that you'll come back with more detailed questions after you
>>>> walked through the slides that I mentioned above. If so, please give a
>>>> bit of information about the environment you plan to let your client and
>>>> server run in (standalone, pure OSGi, Eclipse, ...)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>>
>>>>
>>>> Torsten Link schrieb:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am searching for an easy server and client example to start learning
>>>>> the Net4j Framework.
>>>>> I thought on something like an echo server.
>>>>> I am not sure where to start.
>>>>>
>>>>>
>>>>> All I have tried did not work.
>>>>>
>>>>>
>>>>> Do you have any suggestion for me.
>>>>>
>>>>>
>>>>> Thank you
>>>>>
>>>>>
>>>>> Torsten
>>>>>
>
>

--------------060308000102000608000000
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Torsten,<br>
<br>
You can find the ECHO protocol example in the
org.eclipse.net4j.examples plugin:<br>
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/src/o rg/eclipse/net4j/examples/echo/?root=Modeling_Project"> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/src/o rg/eclipse/net4j/examples/echo/?root=Modeling_Project</a><br>
<br>
It is designed for running the EchoServer and EchoClients standalone.<br>
If you plan to use OSGi/Eclipse as environment you could contribute
your protocol factories via the org.eclipse.net4j.util.factories
extension point. See
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/plugi n.xml?revision=1.1&root=Modeling_Project&view=markup"> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.net4j/examples/org.eclipse.net4j.examples/plugi n.xml?revision=1.1&amp;root=Modeling_Project&amp;view=markup</a><br>
<br>
If your own application is asymmetric and starts to grow you might want
to separate the respective client and server code into separate plugins
as well.<br>
<br>
Cheers<br>
/Eike<br>
<br>
<br>
Torsten Link schrieb:
<blockquote cite="mid:ftlj7a$h2v$1@build.eclipse.org" type="cite">
<pre wrap="">Hi Eike,


Thank you for your quick Help.


Torsten


Eike Stepper wrote:

</pre>
<blockquote type="cite">
<pre wrap="">Hi Torsten,

I'll write and commit an additional small ECHOProtocol example this
evening and post here when you can check it out.

Cheers
/Eike



Torsten Link wrote:

</pre>
<blockquote type="cite">
<pre wrap="">Hi Eike,
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">I already had a look at the slides but is this for a new protokoll or for
an existing one?
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">I also had a look at the examples and the testcode but I get a little bit
lost. These examples are to complex for me. To find a starting point is
my problem.
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">The server should run as 'standalone' as possible but I would like the
use the plugin funktionality so I think it will need OSGi.
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Thank you
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Torsten
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Eike Stepper wrote:
</pre>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Hi Torsten,

Have you already had a look at the slides that I prepared for my short
talk at the EclipseCon? You can find them at
<a class="moz-txt-link-freetext" href=" http://www.eclipsecon.org/2008/index.php?page=sub/&id=21 2">http://www.eclipsecon.org/2008/index.php?page=sub/&amp;id=212</a>

There are also some examples on how to implement a Net4j protocol, all
of them fairly larger than an echo protocol: - org.eclipse.net4j.buddies
+ org.eclipse.net4j.chat - org.eclipse.net4j.jms
- org.eclipse.emf.cdo

I agree that a smaller example would be good to have. Please feel free
to open a Bugzilla!

I guess that you'll come back with more detailed questions after you
walked through the slides that I mentioned above. If so, please give a
bit of information about the environment you plan to let your client and
server run in (standalone, pure OSGi, Eclipse, ...)

Cheers
/Eike



Torsten Link schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

I am searching for an easy server and client example to start learning
the Net4j Framework.
I thought on something like an echo server.
I am not sure where to start.


All I have tried did not work.


Do you have any suggestion for me.


Thank you


Torsten
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>

--------------060308000102000608000000--


Previous Topic:[Teneo] org.eclipse.emf.teneo.libraries and commons-logging
Next Topic:[Teneo] Unload() questions
Goto Forum:
  


Current Time: Fri Mar 29 04:42:34 GMT 2024

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

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

Back to the top