Execute opennebula application with tomcat server

I create an application in eclipse IDE. This application allocate VM using opennebula java API

How can i execute this application with tomcat server?