From:   Dirk L. van Krimpen
Sent:   Saturday, 24. April 2004 11:10

Dirk,

> Hope, you may give me an additional hint here.

*g* Have a look at Corba or RMI. The former is a standard, the
latter is Java's way of object communication.

> Nowadays small businesses are starting to use servers with
> connected clients instead of using separate desktops.

You want to build a "thin client" that connects to the server and
just displays the results of the operations invoked on the server?

> Right now, all examples j or j3d seem to run on a single system.

For J3d: ACK, AFAIK.
For Java: NACK. There /is/ a trail dealing with RMI in the Tutorial.
Have a look at this. It ain't too hard.

> I checked the docs and found several ways to support
> client-server applications as RMI (what you suggested) and Sockets.

Sockets are too low level for what I guess you want to so.

> Still I have the idea that these may not be the right approach.

RMI / Corba is right for you, sockets most probably aren't.

> For example, sockets are described as a communication link between two
> programs on the network. I am a little afraid that message passing or
> protocol checking for every mouse-click, mouse move, and other highly
> interactive activities may slow down the program severely.

Then you want to do something like reimplement a X(11)-Server?
X11 works like that, when you reroute the display to some remote
location.

> Couldn't be even simpler than we expect?

RMI. :-)

> I cannot check it here, but what would happen if I simply load the
> program on the server and try to reach it on the client?

Nothing.
If you are on a Unix box and set a remote display, you (apart from
a speed degradation depending on how fast your machine / network is)
won't notice anything that your app ain't running on your local
machine.

You need a Client/Server-design for your software and a mechanism to
invoke remote methods on remote objects. Exactly *this* is, what
CORBA / RMI are all about.
But that ain't got the least bit to do with J3D.
Please just have a look at the RMI trail.

Andr�

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to