Airomem direct
Aravindo Wingeier edited this page Nov 12, 2017
·
15 revisions
This is simple plugin that makes all the persistence absolutely transparent. Just write a system as it was in the RAM - manipulate objects - and the the rest will be done behind the scene.
@Persistent
public class BankResource {
@PersistentObject
private Bank bank;
}
Yes - this is as much as You have to do in CODE. Mark a bean (like WebService ) with @Persistent annotation and point out which of the objects (like Bank) is 'the One to be stored'. Now each time somthing is done with bank object will be 'preserved'.
Go to Bank sample application to see how simple it can be.