Provide an Api with Vaadin

Hello,

My Website has some interfaces with other services (like android App). I want to provide a simple Api to them. For example an /subscribe /unsubscribe where i get some data for different purposes.

I have some difficulties with UI, VaadinServlet and Service. How can I provide such a service like described above?

You want to have yourdomain.com to map to your Vaadin UI, but /subscribe and some other urls would be handled by another servlet?