I want to implement a Chat Server with Java and Netty. My question is: should I make all the work in Netty’s connection handler?
For “all the work” I mean for example: to do the login ( so with mysql connection ), eventually to send message, to log informations..
I want to implement a Chat Server with Java and Netty. My question is:
Share
I think a more robust design would be to make a system that works without Netty and then use Netty’s connection handler to go between the two. This way, if you decide to move away from Netty in the future, you can do so with minimal rewiring.