I am building a scalable Server Side App in Java but I need to know the "Do's and the Dont's".
The app needs clients to connect to the server via TCP Sockets, I heard lot of good things about Apache MINA so I thought I'd give it a try and build around this. I would also need the app to communicate to a Database and send suitable data to the clients either on request or push.
I would me managing my own home server so even that would be under my control.
I have some doubts about the following:
- Does a Server side need to have a GUI, to report status, connectivity and exceptions. If so how do I implement this, should I use Swing?
- MINA is handling the connectivity but how do I handle the database(MySQL)?
- How could I test this app for scalability, how can I simulate client connections to the server.
- Is there any framework that can do all of the above or do I have to handle each aspect.