Tuesday, November 11, 2008

Transferring Sockets

hat you can do is put a proxy server/load balancer in front of your service. (The proxy service must match your protocol, a HTTP proxy server won't work unless you are proxying HTTP requests)
The proxy would have same the IP address and port of your current service so that the clients connect to the proxy. You can have the proxy server connect to your service passing one requests way and replies the other way. If your service dies, the proxy can create a new connection to another service, or the same service when it restarts and you might be able to hide this from the client (there will be a delay of some order)
Depending on the complexity of your protocol and whether the connection is stateful, this might be easy to do...

Hey GlassFish v3 Prelude Released

Sun GlassFish Enterprise Server v3 Prelude improves productivity with rapid deployment technology and modular architecture based on OSGi. Read the overview and download it now.


Young Developers
Programming is not just for adults anymore! The Young Developer Series teaches Java programming to anyone over 10 years of age, using a tool called Greenfoot:
Wombat Object Basics
Wombat Classes Basics