A common api of web application
yaml properties resource factory, read .yaml configration file
json result, a web responsive utility
dbUtil, a simple encapsulation for jdbc template
random, return a random instance of any class in an annotated way
Usages:
public class User{
@Random(value={"Shake", "It", "Baby"})
private String username;
}
RandomObject r = new RandomObject(User.class);
User u = (User) r.random();- expired, use java timer, annotation and reflection, expire properties of an instance