[nobug]: Updating ModuleCore API. Committed for MDE.
diff --git a/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EJBClientComponentCreationOperation.java b/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EJBClientComponentCreationOperation.java
index a7f59c7..e2101b2 100644
--- a/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EJBClientComponentCreationOperation.java
+++ b/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EJBClientComponentCreationOperation.java
@@ -170,9 +170,9 @@
 			moduleCore = ModuleCore.getModuleCoreForRead(ejbProject);
 			WorkbenchComponent ejbwc = moduleCore.findWorkbenchModuleByDeployName(ejbComponentDeployName);
 			ejbwc = moduleCore.findWorkbenchModuleByDeployName(ejbComponentDeployName);
-			IVirtualContainer component = ModuleCore.create( ejbProject, ejbwc.getName());
+			IVirtualContainer component = ModuleCore.createContainer( ejbProject, ejbwc.getName());
 			IVirtualFile vf = component.getFile( new Path("/META-INF/MANIFEST.MF"));
-			manifestmf = vf.getRealFile();
+			manifestmf = vf.getUnderlyingFile();
 		}finally {
 		       if (null != moduleCore) {
 	            moduleCore.dispose();
diff --git a/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EjbComponentCreationOperation.java b/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EjbComponentCreationOperation.java
index 76857f3..9c07e0b 100644
--- a/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EjbComponentCreationOperation.java
+++ b/plugins/org.eclipse.jst.j2ee.ejb/ejbarchive/org/eclipse/jst/j2ee/internal/ejb/archiveoperations/EjbComponentCreationOperation.java
@@ -47,8 +47,8 @@
      * @see org.eclipse.jst.j2ee.application.operations.J2EEComponentCreationOperation#createAndLinkJ2EEComponents()
      */
     protected void createAndLinkJ2EEComponents() throws CoreException {
-        IVirtualContainer component = ModuleCore.create(getProject(), getModuleDeployName());
-        component.commit();
+        IVirtualContainer component = ModuleCore.createContainer(getProject(), getModuleDeployName());
+        component.create(0, null);
 		//create and link ejbModule Source Folder
 		IVirtualFolder ejbModule = component.getFolder(new Path("/")); //$NON-NLS-1$		
 		ejbModule.createLink(new Path("/" + getModuleName() + "/ejbModule"), 0, null);