Red5 Media Server delivers a powerful video streaming and multi-user solution to the Adobe Flash Player and other exciting client technologies. Based on Java and some of the most powerful open source frameworks, Red5 stands as a solid solution for business of all sizes including the enterprise.
Red5 includes support for the latest multi-user APIs including NetConnection, NetStream and SharedObjects while providing a powerful RTMP / Servlet implementation. In addition to support for the RTMP protocol, the application server has an embedded Tomcat Servlet container for JEE Web Applications.
Red5 Media Server is truly open and extensible platform that can be used in Video Conferences, Multi-User Gaming and Enterprise Application Software.
Application development draws additional benefits from the Spring Framework and Scope based event driven services.
Please refer this to understand the Hibernate environment in Spring. You can configure hibernate as the same way discussed. In this case Red 5 is your "Spring Container". Use red5-web.xml under WEB-INF folder to configure spring's beans.
Red 5 creates a scope bean. Red 5 access scope by receiving reference from pre-defined instance via bean reference -