This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I'm planning to develop a client-server application and host it on Tomcat 3.3 There will be a maximum of about 100 clients connected to the server at the same time. Does Tomcat support this number of clients at the same time? If not what server can I use to implement my project? Thanks in advance. Ahmed.
"connected" is a dangerous term. Since HTTP is a transactional protocol, you won't be consuming large amounts of network resources unless you have big data transfers and/or lots of concurrent activity, where the network bandwidth and CPU are likely to be the limiting factor. Of course, one type of "connection" is the server-side session information, which may be anything from nothing to huge (well, try to avoid huge), depending on your design. It's always best to keep this light, in which case 100 of them isn't likely to be a problem. There are no hard-coded limits in Tomcat for most of this, except for things like maximum simultaneous connections (NOT session connections - we're talking actual in-progress HTTP requests), sizes of resource pools, and such, which are used mostly for tuning. Whether 100 users is a burden depends on your server and the way the app is written. It's not a bad idea to set up some benchmarks and stress tests.
An IDE is no substitute for an Intelligent Developer.