added a JavaBean template, mostly for a demo