// Serialize it to JSON object
FrameworkBean bean = new FrameworkBean(framework, getResourceBundle());
JSONObject json = bean.extract();
// "Move" it across network in text form
String string = json.toJSONString();
// Retrieved transferred object
JSONObject retrievedJson = (JSONObject) JSONValue.parse(string);
FrameworkBean retrievedBean = new FrameworkBean();
retrievedBean.restore(retrievedJson);