Thanks for you swift reply! We are already using Spring MVC for the REST communication under tomcat. For RMI we already use spring remoting, but we need to start a separate process for the RMI server, to listen on the RMI port (1099). We do that by running the following main method, which was inspired by http://snehaprashant.blogspot.nl/2009/05/rmi-using-spring.html :
Code:
public static void main(String[] args) {
new ClassPathXmlApplicationContext("classpath:/META-INF/application-context.xml");
}
What we are looking for is a single application that handles both the REST part and the RMI part. Can we do this with one of the aforementioned servers (eclipse Virgo, dm server or tc server)?