0

How to create a java code to serve a file on a network?

Create a java program which can serve files on a network and that file can be downloaded from a another program on the same network.

13th May 2017, 5:53 AM
Vivek singh
2 Réponses
+ 3
use sockets : read the files in bytes and then serve it in network using sockets.
13th May 2017, 6:06 AM
MR Programmer
MR Programmer - avatar
+ 3
Or use a web server framework as Spark ( http://sparkjava.com ) or Spring ( https://spring.io ).
13th May 2017, 7:13 AM
visph
visph - avatar