I’m trying to develop an application that embeds tomcat or jetty with JSF.
Is it possible to make a call from a jsf-bean to a method of the application that embeds and started tomcat?
If it isn’t possible, what would be a good way of communication between the application and the servlet container?
I haven’t found anything in the docs, google or even on stackoverflow.com! But I’m sure there is a solution.
Thanks in advance!
ActiveMQ would be a overkill for this scenario. You could simply start a RMI registry in the main application and host some remote interfaces with the APIs you need to communicate between your application and the jsf webapplication.