I am trying to figure out how this will work out:
- client-server communication via NIO/BIO
- Server-server communication (replication, membership etc) via JGroups (replication of data can be a pain?)
What are your suggestion, pros/cons of using such an architecture, why go for jgroups, any alternatives?
Should I go with native NIO or use some libraries like Mina or Netty?
Update
- No REST, it's not a web server. I am building a dynamo like distributed database.
- activeMQ is like JMS I think, where I will have single point of failure. JGroups solves that issue, right?