esiste l'ObjectInputStream e ha i read con ogni tipo di dato