A basic java based network