Delete SimpleXML and SimpleRPC samples

Review at http://gwt-code-reviews.appspot.com/1847804

Review by: rdayal@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11311 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/build.xml b/samples/build.xml
index 10ff74f..98f5e54 100644
--- a/samples/build.xml
+++ b/samples/build.xml
@@ -38,14 +38,6 @@
     <gwt.ant dir="showcase" />
   </target>
 
-  <target name="simplexml" description="Build xml sample">
-     <gwt.ant dir="simplexml" />
-  </target>
-
-  <target name="simplerpc" description="Build rpc sample">
-     <gwt.ant dir="simplerpc" />
-  </target>
-
   <target name="validation" description="Build validation">
     <gwt.ant dir="validation" target="source" />
   </target>
@@ -63,8 +55,6 @@
     <antcall target="mail" />
     <antcall target="mobilewebapp" />
     <antcall target="showcase" />
-    <antcall target="simplerpc" />
-    <antcall target="simplexml" />
     <antcall target="validation" />
     <!-- don't include validationtck, it is not really a sample -->
   </target>
diff --git a/samples/simplerpc/build.xml b/samples/simplerpc/build.xml
deleted file mode 100644
index 798f3cc..0000000
--- a/samples/simplerpc/build.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<project name="dynatable" default="build" basedir=".">
-  <property name="sample.root" value="simplerpc" />
-  <property name="sample.module" value="SimpleRPC" />
-  <property name="sample.path" value="src" />
-  <import file="../common.ant.xml" />
-  <!-- these are after the common.ant.xml so they have gwt.tools... -->
-  <path id="sample.extraclasspath">
-  </path>
-</project>
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/COPYING b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/COPYING
deleted file mode 100644
index d9a10c0..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/COPYING
+++ /dev/null
@@ -1,176 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/SimpleRPC.gwt.xml b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/SimpleRPC.gwt.xml
deleted file mode 100644
index deee741..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/SimpleRPC.gwt.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--                                                                        -->
-<!-- Copyright 2007 Google Inc.                                             -->
-<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
-<!-- may not use this file except in compliance with the License. You may   -->
-<!-- may obtain a copy of the License at                                    -->
-<!--                                                                        -->
-<!-- http://www.apache.org/licenses/LICENSE-2.0                             -->
-<!--                                                                        -->
-<!-- Unless required by applicable law or agreed to in writing, software    -->
-<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
-<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
-<!-- implied. License for the specific language governing permissions and   -->
-<!-- limitations under the License.                                         -->
-
-<module rename-to="simplerpc">
-	<inherits name='com.google.gwt.user.User'/>
-	<entry-point class='com.google.gwt.sample.simplerpc.client.SimpleRPC'/>
-	<servlet path='/simpleRPC' class='com.google.gwt.sample.simplerpc.server.SimpleRPCServiceImpl'/>
-</module>
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPC.java b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPC.java
deleted file mode 100644
index 90bbb53..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPC.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- * Copyright 2007 Google Inc.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.gwt.sample.simplerpc.client;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.Window;
-import com.google.gwt.user.client.rpc.AsyncCallback;
-import com.google.gwt.user.client.ui.FlexTable;
-import com.google.gwt.user.client.ui.HTML;
-import com.google.gwt.user.client.ui.Panel;
-import com.google.gwt.user.client.ui.RootPanel;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.Map.Entry;
-
-/**
- * Demonstrates a simple use of the RPC mechanism.
- */
-public class SimpleRPC implements EntryPoint {
-
-  public void onModuleLoad() {
-    final Panel root = RootPanel.get();
-
-    // Create the RPC client.
-    SimpleRPCServiceAsync simpleRPCService = createSimpleRPCServiceAsync();
-
-    // Collection of very simple RPC calls to "getString".
-    callGetString(root, simpleRPCService);
-
-    // A single simple call to "getMultipleStrings".
-    callGetMultipleStrings(root, simpleRPCService);
-  }
-
-  /**
-   * Creates a single call to <code>getMultipleStrings</code>.
-   */
-  private void callGetMultipleStrings(final Panel root,
-      SimpleRPCServiceAsync simpleRPCService) {
-    AsyncCallback<Map<Integer, String>> getMultipleStringsCallback = createGetMultipleStringsCallback(root);
-
-    // Should print a table of key value pairs.
-    List<Integer> indexes = new ArrayList<Integer>();
-    indexes.add(Integer.valueOf(0));
-    indexes.add(Integer.valueOf(2));
-    simpleRPCService.getMultipleStrings(indexes, getMultipleStringsCallback);
-  }
-
-  /**
-   * Calls <code>getString</code> three times, the first two should return
-   * valid answers, the third should give back an error. <p/> Control flow will
-   * continue after making each call. Later the 'callback' onSuccess or
-   * onFailure method will be invoked when the RPC completes. There is no order
-   * guarantee here, the three results could appear on the page in any order.
-   */
-  private void callGetString(final Panel root,
-      SimpleRPCServiceAsync simpleRPCService) {
-    // Create a callback to use.
-    AsyncCallback<String> singleGetStringCallback = createGetStringCallback(root);
-
-    // Should print 'Hello World'.
-    simpleRPCService.getString(0, singleGetStringCallback);
-
-    // Should print 'Bonjour monde'.
-    simpleRPCService.getString(1, singleGetStringCallback);
-
-    // Should print an IndexOutOfBoundsException.
-    simpleRPCService.getString(3, singleGetStringCallback);
-  }
-
-  /**
-   * Create an asynchronous callback for the <code>getMultipleStrings</code>
-   * RPC call. The same callback can be used for many RPC calls or customized
-   * for a single one.
-   */
-  private AsyncCallback<Map<Integer, String>> createGetMultipleStringsCallback(
-      final Panel root) {
-    return new AsyncCallback<Map<Integer, String>>() {
-
-      public void onFailure(Throwable caught) {
-        Window.alert("error: " + caught);
-      }
-
-      public void onSuccess(Map<Integer, String> result) {
-        FlexTable t = new FlexTable();
-        t.setBorderWidth(2);
-        t.setHTML(0, 0, "<b>Map Key</b>");
-        t.setHTML(0, 1, "<b>Map Value</b>");
-        int index = 1;
-        for (Entry<Integer, String> element : result.entrySet()) {
-          Integer key = element.getKey();
-          String value = element.getValue();
-          t.setText(index, 0, key.toString());
-          t.setText(index, 1, value);
-          ++index;
-        }
-        root.add(new HTML("<h3>Result(on success)</h3>"));
-        root.add(t);
-      }
-    };
-  }
-
-  /**
-   * Create an asynchronous callback for the <code>getString</code> RPC call.
-   * The same callback can be used for many RPC calls or customized for a single
-   * one.
-   */
-  private AsyncCallback<String> createGetStringCallback(final Panel root) {
-    return new AsyncCallback<String>() {
-      public void onFailure(Throwable caught) {
-        root.add(new HTML("<h3>Result (on failure) </h3>"));
-        root.add(new HTML("<i>" + caught.getMessage() + "</i>"));
-      }
-
-      public void onSuccess(String result) {
-        root.add(new HTML("<h3>Result (on success) </h3>" + result));
-      }
-    };
-  }
-
-  /**
-   * Returns an configured instance of the <code>SimpleRPCService</code>
-   * client proxy. <p/> Note that although you are creating the service
-   * interface proper, you cast the result to the asynchronous version of the
-   * interface. The cast is always safe because the generated proxy implements
-   * the asynchronous interface automatically.
-   */
-  private SimpleRPCServiceAsync createSimpleRPCServiceAsync() {
-    return GWT.<SimpleRPCServiceAsync> create(SimpleRPCService.class);
-  }
-}
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCException.java b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCException.java
deleted file mode 100644
index 4b646d3..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCException.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2007 Google Inc.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.gwt.sample.simplerpc.client;
-
-/**
- * Simple RPC exception.
- */
-public class SimpleRPCException extends Exception {
-
-  /**
-   * Constructor for <code>SimpleRPCException</code>. Needed to support
-   * serialization.
-   */
-  public SimpleRPCException() {
-  }
-
-  /**
-   * Constructor for <code>SimpleRPCException</code>.
-   * 
-   * @param message message for the <code>SimplePRCException</code>
-   */
-  public SimpleRPCException(String message) {
-    super(message);
-  }
-}
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCService.java b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCService.java
deleted file mode 100644
index 93e9ce7..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCService.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2007 Google Inc.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.gwt.sample.simplerpc.client;
-
-import com.google.gwt.user.client.rpc.RemoteService;
-import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * The sample service.
- */
-@RemoteServiceRelativePath("simpleRPC")
-public interface SimpleRPCService extends RemoteService {
-  /**
-   * Returns a string from the server associated with the given index.
-   * 
-   * @param index index of string
-   * @return the string associated with the given index
-   * @throws SimpleRPCException
-   */
-  String getString(int index) throws SimpleRPCException;
-
-  /**
-   * Given a list of indexes, returns a map of indexes --> string values.
-   * 
-   * @param indexes indexes to be mapped
-   * @return map of indexes --> string values
-   */
-  Map<Integer, String> getMultipleStrings(List<Integer> indexes)
-      throws SimpleRPCException;
-}
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCServiceAsync.java b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCServiceAsync.java
deleted file mode 100644
index 13dc4e3..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/client/SimpleRPCServiceAsync.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2007 Google Inc.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.gwt.sample.simplerpc.client;
-
-import com.google.gwt.user.client.rpc.AsyncCallback;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * Async class associated with SimpleRPCService.
- */
-public interface SimpleRPCServiceAsync {
-
-  /**
-   * Async version of <code>getString</code>.
-   */
-  void getString(int index, AsyncCallback<String> callback);
-
-  /**
-   * Async version of <code>getMultipleStrings</code>.
-   */
-  void getMultipleStrings(List<Integer> indexes,
-      AsyncCallback<Map<Integer, String>> callback);
-}
diff --git a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/server/SimpleRPCServiceImpl.java b/samples/simplerpc/src/com/google/gwt/sample/simplerpc/server/SimpleRPCServiceImpl.java
deleted file mode 100644
index 6885bbe..0000000
--- a/samples/simplerpc/src/com/google/gwt/sample/simplerpc/server/SimpleRPCServiceImpl.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright 2007 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.gwt.sample.simplerpc.server;
-
-import com.google.gwt.sample.simplerpc.client.SimpleRPCException;
-import com.google.gwt.sample.simplerpc.client.SimpleRPCService;
-import com.google.gwt.user.server.rpc.RemoteServiceServlet;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * The implementation of the <code>SimpleRPCService</code> code. This code
- * only runs on the server.
- */
-public class SimpleRPCServiceImpl extends RemoteServiceServlet implements
-    SimpleRPCService {
-
-  /**
-   * The server strings used to supply the information to <code>getString</code>.
-   */
-  private static final String[] SERVER_STRINGS = new String[] {
-      "Hello World", "Bonjour monde", "Hola Español"};
-
-  /**
-   * Gets a map of strings associated with the given indexes.
-   */
-  public Map<Integer, String> getMultipleStrings(List<Integer> indexes)
-      throws SimpleRPCException {
-    Map<Integer, String> accum = new HashMap<Integer, String>();
-    for (int i = 0; i < indexes.size(); i++) {
-      Integer key = indexes.get(i);
-      String value = getString(key.intValue());
-      accum.put(key, value);
-    }
-    return accum;
-  }
-
-  /**
-   * Gets a string associated with a given index. In a real world application,
-   * we would be consulting a database or some other server-side set of
-   * information. Here we are just accessing a server side array.
-   *
-   * @param index index of string
-   * @return the string associated with the given index
-   * @throws SimpleRPCException
-   */
-  public String getString(int index) throws SimpleRPCException {
-    try {
-      return SERVER_STRINGS[index];
-    } catch (RuntimeException e) {
-      throw new SimpleRPCException(e.getClass().getName() + ":"
-          + e.getMessage());
-    }
-  }
-}
diff --git a/samples/simplerpc/war/SimpleRPC.css b/samples/simplerpc/war/SimpleRPC.css
deleted file mode 100644
index 0878559..0000000
--- a/samples/simplerpc/war/SimpleRPC.css
+++ /dev/null
@@ -1,16 +0,0 @@
-body {
-	background-color: white;
-	color: black;
-	font-family: Arial, sans-serif;
-	font-size: small;
-	margin: 8px;
-	margin-top: 3px;
-}
-
-h1 {
-	color: blue;
-}
-
-h3 {
-	color:  green;
-}
\ No newline at end of file
diff --git a/samples/simplerpc/war/SimpleRPC.html b/samples/simplerpc/war/SimpleRPC.html
deleted file mode 100644
index 21e841f..0000000
--- a/samples/simplerpc/war/SimpleRPC.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--                                                                        -->
-<!-- Copyright 2008 Google Inc.                                             -->
-<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
-<!-- may not use this file except in compliance with the License. You may   -->
-<!-- may obtain a copy of the License at                                    -->
-<!--                                                                        -->
-<!-- http://www.apache.org/licenses/LICENSE-2.0                             -->
-<!--                                                                        -->
-<!-- Unless required by applicable law or agreed to in writing, software    -->
-<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
-<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
-<!-- implied. License for the specific language governing permissions and   -->
-<!-- limitations under the License.                                         -->
- 
-<html>
-  <head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <link type="text/css" rel="stylesheet" href="SimpleRPC.css">
-    <title>SimpleRPC</title>
-    <script type="text/javascript" language='javascript' src='simplerpc/simplerpc.nocache.js'></script>
-  </head>
-  <body>
-    <iframe src="javascript:''" id='__gwt_historyFrame' tabIndex='-1' style='width:0;height:0;border:0'></iframe>
-    <noscript>
-      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif">
-        Your web browser must have JavaScript enabled
-        in order for this application to display correctly.
-      </div>
-    </noscript>
-    <h1> Simple RPC</h1>
-    <p>
-      Simple example of RPC, check out the DynaTable sample if you want to see real RPC coolness. 
-    </p>
-  </body>
-</html>
diff --git a/samples/simplerpc/war/WEB-INF/classes/marker b/samples/simplerpc/war/WEB-INF/classes/marker
deleted file mode 100644
index e69de29..0000000
--- a/samples/simplerpc/war/WEB-INF/classes/marker
+++ /dev/null
diff --git a/samples/simplerpc/war/WEB-INF/web.xml b/samples/simplerpc/war/WEB-INF/web.xml
deleted file mode 100644
index 2e67ae4..0000000
--- a/samples/simplerpc/war/WEB-INF/web.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app>
-
-  <!-- Default page to serve -->
-  <welcome-file-list>
-    <welcome-file>SimpleRPC.html</welcome-file>
-  </welcome-file-list>
-
-  <!-- Servlets -->
-  <servlet>
-    <servlet-name>simpleRPC</servlet-name>
-      <servlet-class>
-      com.google.gwt.sample.simplerpc.server.SimpleRPCServiceImpl
-    </servlet-class>
-  </servlet>
-  <servlet-mapping>
-    <servlet-name>simpleRPC</servlet-name>
-    <url-pattern>/simplerpc/simpleRPC</url-pattern>
-  </servlet-mapping>
-
-</web-app>
diff --git a/samples/simplerpc/war/favicon.ico b/samples/simplerpc/war/favicon.ico
deleted file mode 100644
index d7ccc73..0000000
--- a/samples/simplerpc/war/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/samples/simplexml/build.xml b/samples/simplexml/build.xml
deleted file mode 100755
index b1ae6b0..0000000
--- a/samples/simplexml/build.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<project name="simplexml" default="build" basedir=".">
-  <property name="sample.root" value="simplexml" />
-  <property name="sample.module" value="SimpleXML" />
-  <property name="sample.path" value="src" />
-  <import file="../common.ant.xml" />
-  <!-- these are after the common.ant.xml so they have gwt.tools... -->
-  <path id="sample.extraclasspath">
-  </path>
-</project>
diff --git a/samples/simplexml/src/com/google/gwt/sample/simplexml/COPYING b/samples/simplexml/src/com/google/gwt/sample/simplexml/COPYING
deleted file mode 100644
index d9a10c0..0000000
--- a/samples/simplexml/src/com/google/gwt/sample/simplexml/COPYING
+++ /dev/null
@@ -1,176 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
diff --git a/samples/simplexml/src/com/google/gwt/sample/simplexml/SimpleXML.gwt.xml b/samples/simplexml/src/com/google/gwt/sample/simplexml/SimpleXML.gwt.xml
deleted file mode 100644
index 7d531a4..0000000
--- a/samples/simplexml/src/com/google/gwt/sample/simplexml/SimpleXML.gwt.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--                                                                        -->
-<!-- Copyright 2007 Google Inc.                                             -->
-<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
-<!-- may not use this file except in compliance with the License. You may   -->
-<!-- may obtain a copy of the License at                                    -->
-<!--                                                                        -->
-<!-- http://www.apache.org/licenses/LICENSE-2.0                             -->
-<!--                                                                        -->
-<!-- Unless required by applicable law or agreed to in writing, software    -->
-<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
-<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
-<!-- implied. License for the specific language governing permissions and   -->
-<!-- limitations under the License.                                         -->
-
-<module rename-to="simplexml">
-	<inherits name="com.google.gwt.user.User"/>
-	<inherits name ="com.google.gwt.http.HTTP"/>
-	<inherits name ="com.google.gwt.xml.XML"/>
-	<entry-point class="com.google.gwt.sample.simplexml.client.SimpleXML"/>
-</module>
diff --git a/samples/simplexml/src/com/google/gwt/sample/simplexml/client/SimpleXML.java b/samples/simplexml/src/com/google/gwt/sample/simplexml/client/SimpleXML.java
deleted file mode 100644
index e1b4a25..0000000
--- a/samples/simplexml/src/com/google/gwt/sample/simplexml/client/SimpleXML.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright 2007 Google Inc.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.gwt.sample.simplexml.client;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.http.client.Request;
-import com.google.gwt.http.client.RequestBuilder;
-import com.google.gwt.http.client.RequestCallback;
-import com.google.gwt.http.client.RequestException;
-import com.google.gwt.http.client.Response;
-import com.google.gwt.user.client.Window;
-import com.google.gwt.user.client.ui.FlexTable;
-import com.google.gwt.user.client.ui.FlowPanel;
-import com.google.gwt.user.client.ui.HTML;
-import com.google.gwt.user.client.ui.HTMLTable;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.RootPanel;
-import com.google.gwt.user.client.ui.TabPanel;
-import com.google.gwt.xml.client.Document;
-import com.google.gwt.xml.client.Element;
-import com.google.gwt.xml.client.Node;
-import com.google.gwt.xml.client.NodeList;
-import com.google.gwt.xml.client.XMLParser;
-
-/**
- * A very simple XML Example where we take a customer profile and display it on
- * a page.
- */
-public class SimpleXML implements EntryPoint {
-  private static final String XML_LABEL_STYLE = "xmlLabel";
-  private static final String USER_TABLE_LABEL_STYLE = "userTableLabel";
-  private static final String USER_TABLE_STYLE = "userTable";
-  private static final String NOTES_STYLE = "notes";
-
-  public void onModuleLoad() {
-    RequestBuilder requestBuilder = new RequestBuilder(RequestBuilder.GET,
-        "customerRecord.xml");
-
-    try {
-      requestBuilder.sendRequest(null, new RequestCallback() {
-        public void onError(Request request, Throwable exception) {
-          requestFailed(exception);
-        }
-
-        public void onResponseReceived(Request request, Response response) {
-          renderXML(response.getText());
-        }
-      });
-    } catch (RequestException ex) {
-      requestFailed(ex);
-    }
-  }
-
-  private FlexTable createOrderTable(FlowPanel xmlParsed, String label) {
-    HTML orderTableLabel = new HTML("<h2>" + label + "</h2>");
-    xmlParsed.add(orderTableLabel);
-    FlexTable orderTable = new FlexTable();
-    orderTable.setStyleName(USER_TABLE_STYLE);
-    orderTable.setBorderWidth(3);
-    orderTable.getRowFormatter().setStyleName(0, USER_TABLE_LABEL_STYLE);
-    orderTable.setText(0, 0, "Order ID");
-    orderTable.setText(0, 1, "Item");
-    orderTable.setText(0, 2, "Ordered On");
-    orderTable.setText(0, 3, "Street");
-    orderTable.setText(0, 4, "City");
-    orderTable.setText(0, 5, "State");
-    orderTable.setText(0, 6, "Zip");
-    xmlParsed.add(orderTable);
-    return orderTable;
-  }
-
-  /**
-   * Creates the xml representation of xmlText. xmlText is assumed to have been
-   * validated for structure on the server.
-   * 
-   * @param xmlText xml text
-   * @param xmlParsed panel to display customer record
-   */
-  private void customerPane(String xmlText, FlowPanel xmlParsed) {
-    Document customerDom = XMLParser.parse(xmlText);
-    Element customerElement = customerDom.getDocumentElement();
-    // Must do this if you ever use a raw node list that you expect to be
-    // all elements.
-    XMLParser.removeWhitespace(customerElement);
-
-    // Customer Name
-    String nameValue = getElementTextValue(customerElement, "name");
-    String title = "<h1>" + nameValue + "</h1>";
-    HTML titleHTML = new HTML(title);
-    xmlParsed.add(titleHTML);
-
-    // Customer Notes
-    String notesValue = getElementTextValue(customerElement, "notes");
-    Label notesText = new Label();
-    notesText.setStyleName(NOTES_STYLE);
-    notesText.setText(notesValue);
-    xmlParsed.add(notesText);
-
-    // Pending orders UI setup
-    FlexTable pendingTable = createOrderTable(xmlParsed, "Pending Orders");
-    FlexTable completedTable = createOrderTable(xmlParsed, "Completed");
-    completedTable.setText(0, 7, "Shipped by");
-
-    // Fill Orders Table
-    NodeList orders = customerElement.getElementsByTagName("order");
-    int pendingRowPos = 0;
-    int completedRowPos = 0;
-    for (int i = 0; i < orders.getLength(); i++) {
-      Element order = (Element) orders.item(i);
-      HTMLTable table;
-      int rowPos;
-      if (order.getAttribute("status").equals("pending")) {
-        table = pendingTable;
-        rowPos = ++pendingRowPos;
-      } else {
-        table = completedTable;
-        rowPos = ++completedRowPos;
-      }
-      int columnPos = 0;
-      fillInOrderTableRow(customerElement, order, table, rowPos, columnPos);
-    }
-  }
-
-  private void fillInOrderTableRow(Element customerElement, Element order,
-      HTMLTable table, int rowPos, int columnPos) {
-    // Order ID
-    String orderId = order.getAttribute("id");
-    table.setText(rowPos, columnPos++, orderId);
-
-    // Item
-    Element item = (Element) order.getElementsByTagName("item").item(0);
-    String itemUPC = item.getAttribute("upc");
-    String itemName = item.getFirstChild().getNodeValue();
-    Label itemLabel = new Label(itemUPC);
-    itemLabel.setTitle(itemName);
-    table.setWidget(rowPos, columnPos++, itemLabel);
-
-    // Ordered On
-    String orderedOnValue = getElementTextValue(customerElement, "orderedOn");
-    table.setText(rowPos, columnPos++, orderedOnValue);
-
-    // Address
-    Element address = (Element) order.getElementsByTagName("address").item(0);
-    XMLParser.removeWhitespace(address);
-    NodeList lst = address.getChildNodes();
-    for (int j = 0; j < lst.getLength(); j++) {
-      Element next = (Element) lst.item(j);
-      String addressPartText = next.getFirstChild().getNodeValue();
-      table.setText(rowPos, columnPos++, addressPartText);
-    }
-
-    // Shipped By (optional attribute)
-    NodeList shippedByList = order.getElementsByTagName("shippingInfo");
-    if (shippedByList.getLength() == 1) {
-      Element shippedBy = (Element) shippedByList.item(0);
-      // Depending upon the shipper, different attributes might be
-      // available, so XML carries the display info
-      FlexTable shippedByTable = new FlexTable();
-      shippedByTable.getRowFormatter().setStyleName(0, USER_TABLE_LABEL_STYLE);
-      shippedByTable.setBorderWidth(1);
-      NodeList shippedByParts = shippedBy.getChildNodes();
-      for (int j = 0; j < shippedByParts.getLength(); j++) {
-        Node next = shippedByParts.item(j);
-        Element elem = (Element) next;
-        shippedByTable.setText(0, j, elem.getAttribute("title"));
-        shippedByTable.setText(1, j, elem.getFirstChild().getNodeValue());
-      }
-      table.setWidget(rowPos, columnPos++, shippedByTable);
-    }
-  }
-
-  /**
-   * Utility method to return the values of elements of the form <myTag>tag
-   * value</myTag>
-   */
-  private String getElementTextValue(Element parent, String elementTag) {
-    // If the xml is not coming from a known good source, this method would
-    // have to include safety checks.
-    return parent.getElementsByTagName(elementTag).item(0).getFirstChild().getNodeValue();
-  }
-
-  private void renderXML(String xmlText) {
-    final TabPanel tab = new TabPanel();
-    final FlowPanel xmlSource = new FlowPanel();
-    final FlowPanel xmlParsed = new FlowPanel();
-    tab.add(xmlParsed, "Customer Pane");
-    tab.add(xmlSource, "XML Source");
-    tab.selectTab(0);
-    RootPanel.get().add(tab);
-    xmlPane(xmlText, xmlSource);
-    customerPane(xmlText, xmlParsed);
-  }
-
-  private void requestFailed(Throwable exception) {
-    Window.alert("Failed to send the request.  The error message was: "
-        + exception.getMessage());
-  }
-
-  /**
-   * Show the raw XML.
-   * 
-   * @param xmlText
-   * @param xmlSource
-   */
-  private void xmlPane(String xmlText, final FlowPanel xmlSource) {
-    xmlText = xmlText.replaceAll("<", "&#60;");
-    xmlText = xmlText.replaceAll(">", "&#62;");
-    Label xml = new HTML("<pre>" + xmlText + "</pre>", false);
-    xml.setStyleName(XML_LABEL_STYLE);
-    xmlSource.add(xml);
-  }
-}
diff --git a/samples/simplexml/src/com/google/gwt/sample/simplexml/public/customerRecord.xml b/samples/simplexml/src/com/google/gwt/sample/simplexml/public/customerRecord.xml
deleted file mode 100644
index 4955c52..0000000
--- a/samples/simplexml/src/com/google/gwt/sample/simplexml/public/customerRecord.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="US-ASCII"?>
-<CustomerRecord id="123">
-	<name>Karen Smith</name>
-	<notes>Karen likes to be addressed as Dr. Smith</notes>
-	<orderHistory>
-		<order id="123-1" status="completed">
-			<item upc="5 55543 44443">Set of lock picks</item>
-			<orderedOn>2/2/2004</orderedOn>
-			<shippingInfo>
-				<shippedOn title="Date">2/3/2004</shippedOn>
-				<shippedBy title="Shipped By">USPS</shippedBy>
-				<postOffice title="Post office"> Mt. Vernon Branch</postOffice>
-			</shippingInfo>
-			<address>
-				<street>34 Baker lane</street>
-				<city>Atlanta</city>
-				<state>Georgia</state>
-				<zipCode>30311</zipCode>
-			</address>
-		</order>
-
-		<order id="123-2" status="completed">
-			<item upc="3 45122 31116">Gold Shield</item>
-			<address>
-				<street>43 Butcher lane</street>
-				<city>Atlanta</city>
-				<state>Georgia</state>
-				<zipCode>30366</zipCode>
-			</address>
-			<orderedOn>2/3/2005</orderedOn>
-			<shippingInfo>
-				<shipedOn title="Date">2/5/2005</shipedOn>
-				<shippedBy title="Shipped By">UPC</shippedBy>
-				<trackingNumber title="Tracking Number">12321356546433</trackingNumber>
-				<signedFor title="Signed for">Jane Smith </signedFor>
-			</shippingInfo>
-		</order>
-		<order id="123-2" status="pending">
-			<item upc="3 45122 34566">Bronze Sword</item>
-			<address>
-				<street>43 Butcher lane</street>
-				<city>Atlanta</city>
-				<state>Georgia</state>
-				<zipCode>30366</zipCode>
-			</address>
-			<orderedOn>2/3/2006</orderedOn>
-		</order>
-	</orderHistory>
-</CustomerRecord>
diff --git a/samples/simplexml/war/SimpleXML.css b/samples/simplexml/war/SimpleXML.css
deleted file mode 100644
index aca27de..0000000
--- a/samples/simplexml/war/SimpleXML.css
+++ /dev/null
@@ -1,203 +0,0 @@
-.xmlLabel {
-  	font-family: monospace;
- }
-
-.notes{
-	font: serif;
-	color:003300;
-	font-size: larger;
-}
-
-/**Stolen from I18N*/
-h1 {
-	color: green;
-}
-
-body {
-	color: black;
-	font-family: arial, sans-serif;
-	font-size: smaller;
-	margin: 20px 20px 20px 20px;
-}
-
-code {
-	font-size: small;
-}
-
-a {
-	color: darkblue;
-}
-
-a:visited {
-	color: darkblue;
-}
-
-.detailedExplanation {
-	font-weight: lighter;
-	color: black;
-	font-family: monospace;
-}
-
-.messagesTable {
-	margin: 20px;
-	font-size: x-small;
-}
-
-.userTable {
-	margin: 20px;
-}
-
-.userTable td {
-	padding-right: 10px;
-	white-space: nowrap;
-	text-align: center;
-}
-
-.userTableLabel {
-	color: green;
-}
-
-.messagesArgumentType {
-	font: x-small;
-	color: green;
-}
-
-.gwt-BorderedPanel {
-	
-}
-
-.gwt-Button {
-	
-}
-
-.gwt-Canvas {
-	
-}
-
-.gwt-CheckBox {
-	font-size: smaller;
-}
-
-.gwt-DialogBox {
-	sborder: 8px solid #c3d9ff;
-	border: 2px outset;
-	background-color: white;
-}
-
-.gwt-DialogBox .Caption {
-	background-color: #c3d9ff;
-	padding: 3px;
-	margin: 2px;
-	font-weight: bold;
-	cursor: default;
-}
-
-.gwt-FileUpload {
-	
-}
-
-.gwt-Frame {
-	
-}
-
-.gwt-HorizontalSplitter .Bar {
-	width: 8px;
-	background-color: #c3d9ff;
-}
-
-.gwt-VerticalSplitter .Bar {
-	height: 8px;
-	background-color: #c3d9ff;
-}
-
-.gwt-HTML {
-	font-size: smaller;
-}
-
-.gwt-Hyperlink {
-	
-}
-
-.gwt-Image {
-	
-}
-
-.gwt-Label {
-
-}
-
-.gwt-ListBox {
-	
-}
-
-.gwt-MenuBar {
-	background-color: #c3d9ff;
-	border: 1px solid #87b3ff;
-	cursor: default;
-}
-
-.gwt-MenuBar .gwt-MenuItem {
-	padding: 1px 4px 1px 4px;
-	font-size: smaller;
-	cursor: default;
-}
-
-.gwt-MenuBar .gwt-MenuItem-selected {
-	background-color: #e8eef7;
-}
-
-.gwt-PasswordTextBox {
-	
-}
-
-.gwt-RadioButton {
-	font-size: smaller;
-}
-
-.gwt-TabPanel {
-	
-}
-
-.gwt-TabPanelBottom {
-	border: 1px solid #87b3ff;
-	padding: 10px
-}
-
-.gwt-TabBar {
-	background-color: #c3d9ff;
-	font-size: smaller;
-}
-
-.gwt-TabBar .gwt-TabBarFirst {
-	height: 100%;
-	border-bottom: 1px solid #87b3ff;
-	padding-left: 3px;
-}
-
-.gwt-TabBar .gwt-TabBarRest {
-	border-bottom: 1px solid #87b3ff;
-	padding-right: 3px;
-}
-
-.gwt-TabBar .gwt-TabBarItem {
-	border-top: 1px solid #87b3ff;
-	border-bottom: 1px solid #87b3ff;
-	padding: 2px;
-	cursor: pointer;
-	cursor: hand;
-	white-space: nowrap;
-	border-left: 1px solid #87b3ff;
-	border-right: 1px solid #87b3ff;
-}
-
-.gwt-TabBar .gwt-TabBarItem-selected {
-	font-weight: bold;
-	background-color: #e8eef7;
-	border-top: 1px solid #87b3ff;
-	border-left: 1px solid #87b3ff;
-	border-right: 1px solid #87b3ff;
-	border-bottom: 1px solid #e8eef7;
-	padding: 2px;
-	cursor: default;
-	white-space: nowrap;
-}
\ No newline at end of file
diff --git a/samples/simplexml/war/SimpleXML.html b/samples/simplexml/war/SimpleXML.html
deleted file mode 100644
index 7b4db17..0000000
--- a/samples/simplexml/war/SimpleXML.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--                                                                        -->
-<!-- Copyright 2008 Google Inc.                                             -->
-<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
-<!-- may not use this file except in compliance with the License. You may   -->
-<!-- may obtain a copy of the License at                                    -->
-<!--                                                                        -->
-<!-- http://www.apache.org/licenses/LICENSE-2.0                             -->
-<!--                                                                        -->
-<!-- Unless required by applicable law or agreed to in writing, software    -->
-<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
-<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
-<!-- implied. License for the specific language governing permissions and   -->
-<!-- limitations under the License.                                         -->
- 
-<html>
-  <head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <title>Simple XML Example</title>
-    <link rel="stylesheet" type="text/css" href="SimpleXML.css">
-    <script type="text/javascript" language="javascript" src="simplexml/simplexml.nocache.js"></script>
-  </head>
-  <body bgcolor="white"> 
-    <noscript>
-      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif">
-        Your web browser must have JavaScript enabled
-        in order for this application to display correctly.
-      </div>
-    </noscript>
-    <h1> Simple XML Example</h1>
-    <p>
-      Simple example of loading an XML file from the server and parsing it.
-    </p>
-  </body>
-</html>
diff --git a/samples/simplexml/war/WEB-INF/classes/marker b/samples/simplexml/war/WEB-INF/classes/marker
deleted file mode 100644
index e69de29..0000000
--- a/samples/simplexml/war/WEB-INF/classes/marker
+++ /dev/null
diff --git a/samples/simplexml/war/WEB-INF/web.xml b/samples/simplexml/war/WEB-INF/web.xml
deleted file mode 100644
index 1a1909c..0000000
--- a/samples/simplexml/war/WEB-INF/web.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app>
-
-  <!-- Default page to serve -->
-  <welcome-file-list>
-    <welcome-file>SimpleXML.html</welcome-file>
-  </welcome-file-list>
-
-</web-app>
diff --git a/samples/simplexml/war/favicon.ico b/samples/simplexml/war/favicon.ico
deleted file mode 100644
index d7ccc73..0000000
--- a/samples/simplexml/war/favicon.ico
+++ /dev/null
Binary files differ