/* * Copyright 2005 Joe Walker * * 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 uk.ltd.getahead.dwr; import org.directwebremoting.servlet.DwrServlet; /** * This is the main servlet that handles all the requests to DWR. * <p>It is on the large side because it can't use technologies like JSPs etc * since it all needs to be deployed in a single jar file, and while it might be * possible to integrate Velocity or similar I think simplicity is more * important, and there are only 2 real pages both script heavy in this servlet * anyway.</p> * <p>There are 5 things to do, in the order that you come across them:</p> * <ul> * <li>The index test page that points at the classes</li> * <li>The class test page that lets you execute methods</li> * <li>The interface javascript that uses the engine to send requests</li> * <li>The engine javascript to form the iframe request and process replies</li> * <li>The exec 'page' that executes the method and returns data to the iframe</li> * </ul> * @deprecated Use org.directwebremoting.servlet.DwrServlet * @author Joe Walker [joe at getahead dot ltd dot uk] */ @Deprecated public class DWRServlet extends DwrServlet { }