What should the Java main method be for a standalone application (for Spring JMS) ?

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2010-03-23T04:43:15Z Indexed on 2010/03/23 4:51 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

I am interested in creating a Spring standalone application that will run and wait to receive messages from an ActiveMQ queue using Spring JMS. I have searched a lot of places and cannot find a consistent way of implementing the main method for such a standalone application. There appears to be few examples of Spring standalone applications. I have looked at Tomcat, JBoss, ActiveMQ and other examples from the around the web but I have not come to a conclusion so ...

What is the best practice for implementing a main method for a Java application (specifically Spring with JMS) ?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring