I read the 18.1 chapter . And I don't understand. I think the example maybe should be changed as below. @Name("chatroom") public class Chatroom { @In PojoCache pojoCache; public void join(String username) { try { Set userList = (Set) pojoCache.get("chatroom", "userList"); if (userList==null) { userList = new HashSet(); } userList.add(username); pojoCache.put("chatroom", "userList", userList); } catch (CacheException ce) { throw new RuntimeException(ce); } } }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022921#4022921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022921 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user