WebArtifactEdit artifactEdit = WebArtifactEdit.getWebArtifactEditForWrite(component);
WebApp webApp = (WebApp) artifactEdit.getContentModelRoot();
EList servlets = webApp.getServlets();
for (Iterator i = servlets.iterator(); i.hasNext();) {
Servlet servlet = (Servlet) i.next();
WebType webType = servlet.getWebType();
if (webType instanceof ServletType && ((ServletType) webType).getClassName().endsWith(getRemoteInterfaceName().concat("Impl"))) {
ServletMapping servletMapping = webApp.getServletMapping(servlet);
servlets.remove(servlet);
webApp.getServletMappings().remove(servletMapping);
break;