code: @Override
  	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
  	{
  		Window window = new Window();
  		window.add(new Text("Hello world!"));
  		
  		Reflector<Component> reflector = new HtmlComponentReflector();
  		response.setContentType(reflector.getContentType());
  		
  		try
  		{
  			reflector.reflect(window, response.getWriter());
  		}
  		catch (ReflectorException exception)
  		{
  			throw new ServletException("Error writing component", exception);
  		}
  	}
docs: ----------------------------------------------------------------------------------------------------------------