The Artima Developer Community
Sponsored Link

Java Answers Forum
JSP Recommendation

1 reply on 1 page. Most recent reply: Feb 6, 2006 11:33 PM by Jeroen Wenting

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Sam S

Posts: 1
Nickname: cpscsam
Registered: Feb, 2006

JSP Recommendation Posted: Jan 31, 2006 11:55 PM
Reply to this message Reply
Advertisement
I am taking an introduction to OOA/D, and this perhaps is one of the most useful courses I will be taking. I discussed PHP, ASP and JSP with my professor and what I was getting is that PHP is not scalable. I saw an example of this when a student took a popular PHP BBS and after creating 1900 forums on it, one for each subject in the university, whenever some demands the page multiple times (e.g. refresh 5 times) it crashes and returns that it cannot access the database.

I noticed that Artima uses JSP for their forums, is the source publicly available? This sounds like an interesting project for me to get a feel of a non-trivial project.

My question is, is PHP or Python a bad choice? And if done in Java I would have to use it with Apache Tomcat?

How well would a java forum support heavy load or is that restricted to the number of active threads (e.g. 50) set by Apache? Could anyone estimate the number of users and forums it could support?

I am sorry to be asking so many questions, but I have a limited amount of experience, anything anyone can tell me will be helpful.


Jeroen Wenting

Posts: 88
Nickname: jwenting
Registered: Mar, 2004

Re: JSP Recommendation Posted: Feb 6, 2006 11:33 PM
Reply to this message Reply
PHP invites poor coding style and is mainly used by hobbyists and inexperienced people. That means that in general it will likely not be as well tested nor be designed as well nor be designed with high load in mind (as your experience shows).

There are several freely available Java based forum systems available as well as several commercial offerings.
To give an indication of scalability, Sun and Novell (among others) use JSP based forum software for their user communities.
These forums support tens of thousands of users at least, on the Sun user community there are generally several thousand people connected at any time and several hundred distinct posting categories/forums for them to read and post in.

Flat View: This topic has 1 reply on 1 page
Topic: How to use Array to get every character from Stack.pop() Previous Topic   Next Topic Topic: Java beginner

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use