hi all I want to develop a client server program to transfer data from client to server in pure java. My Requirements are : 1. Data should be transferred in packets rather than Streams 2. Only Corrupted packets should be resend from client automatically rather than complete batch/file. 3. Data to be encrypted and decrypted at client and server respectively 4. Server should support multithreading(should be able to recieve concurrent requests from different clients) Please let me know about the resources (protocols/encryption algorithm/API both for client and server)that fits well for developing application Thanks and Regards Vikas Sharma
Take a look at the Java Cryptography Extension. That has classes that handle encryption and message digests (good for checking to see if data has changed). As for a multithreaded server, the Java Tutorial chapter on Threads and the chapter on Custom Networking should help. All you have to do is split the data up into packets.