i am new bie to Jboss 7.
Earlier i have worked with jboss 4.x/5.x
We use to have connections probelm with our applications.So we use to flush them programaticaly using the following code
MBeanServer server = MBeanServerLocator.locateJBoss();server.invoke(new ObjectName("jboss.jca:name=DefaultDS,service=ManagedConnectionPool"), "flush",  as Object,  as String);
Please some one suggest me in doing the similar kind of job in JBoss 7.1
Can some body please help me in resolving this issue...
Thanks in Advance
Retrieving data ...