I would like to design a web based application. Required functionality includes sending messages from my system to the remote system. In addition, my EJB system will also respond to messages from the remote system. 

Which type of enterprise beans should I use? Should I use stateless session beans, message driven bean, or both?