@Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
            IOException {
        resp.setContentType("application/json"); //$NON-NLS-1$
        ServletOutputStream outputStream = resp.getOutputStream();
        PrintWriter writer = new PrintWriter(outputStream);
        Date date = new Date();
        DateFormat dateFormat = SimpleDateFormat.getDateInstance(SimpleDateFormat.SHORT);
        
        writer.println("{"); //$NON-NLS-1$
        writer.println("  \"date\" : \"" + dateFormat.format(date) + "\""); //$NON-NLS-1$ //$NON-NLS-2$
        writer.println("}"); //$NON-NLS-1$
        writer.flush();
        writer.close();
    }
@see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
tools/services/src/main/java/io/apiman/tools/services/DateTimeService.java