How to close Vaadin Application via external POST/GET

Hello,

I have to make available one or more Vaadin application that must be terminated externally.
The Vaadin applications are placed in

or

Hello,

Quick update. After some effort I realized that the POST/GET I performed
via the Java URL, and executed«s in the server side, does not have the
original session cookie. To solve this we must send the POST/GET from
the browser using the same session cookie.

That can be done using:

  1. The Vaadin Javasript API:
    http://demo.vaadin.com/sampler#JSApi
  2. Javascropt to send the POST/GET :
    http://www.javascriptkit.com/dhtmltutors/ajaxgetpost.shtml

I can now press a button and POST a close request.
The
Application
need only
close()
.