Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring Netty with Spring IoC

Tags:

netty

Has anyone used Spring to configure Netty?

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

like image 986
DarVar Avatar asked Feb 13 '12 18:02

DarVar


1 Answers

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.

like image 195
Abe Avatar answered Oct 01 '22 06:10

Abe