The code Alex provided should be sticky... i searched quite a lot for simple
example like this:
ALocal a = AUtil.getLocalHome().findByPrimaryKey(new APK(new Long(1),
"avoka"));
| a.setName2("NAME2");
|
| MBeanServer server = MBeanServerLocator.locateJBoss();
| ObjectName container = new
ObjectName("jboss.j2ee:service=EJB,jndiName=A");
| server.invoke(container, "flushCache", null, null);
|
| a = AUtil.getLocalHome().findByPrimaryKey(new APK(new Long(1),
"avoka"));
| log.info("a.name2: " + a.getName2());
| a.setName2("NAME3");
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976369#3976369
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976369
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user