mercredi 4 mars 2015

How to save (persist) beans on to disk so that they restored next time in Spring?

Suppose I am creating beans with method like



@Bean
MessageService mockMessageService() {
return new MessageService();
}


How can I make them persistent? Should I check storage myself? Or this has some API within Spring?


Aucun commentaire:

Enregistrer un commentaire