I am done it using below code
int mh = CodeModuleManager.getModuleHandle("Application_Name");
if( mh!=0 )
{
try
{
int retCode = CodeModuleManager.deleteModuleEx(mh, true, true);
System.out.println("///////////////////////////////"+ retCode);
System.exit(0);
}
catch( Exception e )
{
System.out.println("///////////EXCEPTION///////////"+ e);
}
}
but i still didnot get how to remove persistence object while uninstalling Application, please help me for this
Thanks & Regards