[serving static content] The argument I heard was that Java apps were not able to cope as well with badly behaved clients (dropped connections etc). Apache httpd probably is more efficient than Tomcat etc at serving static content. However modern cheap hardware can almost always shove out more than most connections can cope with. If you want to manipulate, control access etc to your static content and your app is in Java I would be tempted to stay with pure Java. You also have less to worry about which bit of your platform is causing trouble. Tomcat also has a native plugin that you might want to investigate... I would guess that careful tuning of what you serve (compression, cache management) will buy you a lot.
beam wrote: > > Hello everybody! > I've used wicket, spring jdbc and tomcat in my last project. > Now, we want to start a web project, some kind of social network. And > we'll go to use wicket as a web framework, hibernate for persistence and > spring for DI. So, this project must be deployed on a cluster. I've > decided to use Open Terracotta for this kind of cluster. But I don't know > which app. server(JBoss) or servlet container(Tomcat?) to use. This is a > first question. Second, as far as I know, tomcat or any app. server like > JBoss isn't a very good solution to deliver static content(e.g. images, > video or even *.css files), so I decide to use Apache Web Server or Nginx > as a Frontend, and terrcotta cluster with Tomcats(or JBoss) for dynamic > backend. But, I don't have enough experience to do this :) So, I need an > advise, how to do this, maybe one of you, java-guru, can help me? > > And third, I want to use C-JDBC(Sequoia) to cluster mysql database - is it > a good solution for DB clustering, or better to use mysql 5.1 with native > cluster support? > > Thank you very much for any kind of answers, and sorry for my bad english > :) > -- View this message in context: http://www.nabble.com/Wicket-%2B-Hibernate-%2B-Spring-%2B-Terracotta-%2B-Tomcat-%2B-Apache-tf4528720.html#a12922975 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
