appHome.remove( value );
resourceAdminHome.getResources( ).remove( appResource.getID( ) );
}
else if ( resource instanceof HostResource )
{
HostResource hostResource = (HostResource) resource;
HostHome hostHome = (HostHome) initialContext.lookup( HostHome.HOME_LOCATION );
hostHome.remove( value );
resourceAdminHome.getResources( ).remove( hostResource.getID( ) );
}
else if ( resource instanceof IntegrationserverResource )
{
IntegrationserverResource isResource = (IntegrationserverResource) resource;
IntegrationserverHome isHome =