developing InstanceShareBean.java