Configuring Netty with Spring IoC

DarVar picture DarVar · Feb 13, 2012 · Viewed 11.1k times · Source

Has anyone used Spring to configure Netty?

I'm looking for an example or description on how I can configure Netty with Spring.

Answer

Abe picture Abe · Feb 15, 2012

Yes, you can. Look at the following jet java game server written in Netty, the servers are all configured using spring. Take a look at the server-beans.xml, netty-handlers.xml etc in this project for reference.

For configuring Netty within a spring web-app look at the following link.
[Update] Recently I have also blogged about doing it with a java only configuration using no xml.