1

I am having to use Java due to needing one backend library.

Is it still considered good practice to set up Apache as the front-facing server and have Tomcat behind it? I am spending a lot of time configuring mod_jk.

Also, what do people usually use for CMS or web-page templating in such a setup? I wanted to use Drupal, but was advised that since I'd have to set up mod_jk and jump through extra hoops configuring it, it might not be a good approach.

Could you guys please suggest some common considerations or good approaches in this sort of a situation?

Thanks, Alex

asked Apr 19, 2011 at 19:09
1
  • You might want to read about Tomcat's performance here Commented Apr 19, 2011 at 19:56

1 Answer 1

1

In the old days this was considered good practice, as TC was not as fast as httpd (especially for serving static content).

Today TC is as fast, so the reason would be rather to use httpd with mod_jk or mod_cluster (sort of a mod_jk++ with some auto-config features) for load balancing or fault tolerance.

answered Apr 19, 2011 at 19:35
2
  • Yeah I have been dealing with mod_jk but it is a pain to configure. Is mod_cluster related to mod_jk or something separate? The reason I am asking is I am trying to figure out a sound approach of managing the UI layer in my Java application. Commented Apr 19, 2011 at 19:43
  • Mod_cluster is separate to work against some of the shortcomings of mod_jk - I've added a link to my answer. Commented Apr 19, 2011 at 19:52

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.