use java to write a high perform server