de.uka.ipd.consensus.test
Class RatingTestServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byde.uka.ipd.consensus.test.RatingTestServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RatingTestServlet
extends javax.servlet.http.HttpServlet

Warning: This rating test creates 1 topic, 100 users and 100 ratings, so use it on a separate hibernate.connection.url (see hibernate.properties) and with a different ResourceParams-url (see context.xml).

Make sure that the servlet, its servlet-mapping and its filter-mapping are activated in web.xml.

Note: The test deactivates logging for not measuring performance penalties due to slow console ouput.

Version:
2006-06-14
Author:
Thomas Much
See Also:
Serialized Form

Constructor Summary
RatingTestServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingTestServlet

public RatingTestServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  IOException
Throws:
javax.servlet.ServletException
IOException