This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Scalability of Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Scalability of Java" Watch "Scalability of Java" New topic

Scalability of Java

Marie Mazerolle
Ranch Hand

Joined: Oct 01, 2002
Posts: 81
Pardon my ignorance, but why is Java more scalable than PHP?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Mainly because PHP doesn't support the separation of business logic from presentation logic. There is nothing like EJB in PHP which makes it impossible to spread your application among multiple servers. Java allows for a true distributed environment across many tiers (as many as you like) which PHP doesn't come close to supporting. Java supports an MVC environment with servlets, JSPs and EJBs all interacting across multiple servers. PHP only serves the role of JSP.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Marie Mazerolle
Ranch Hand

Joined: Oct 01, 2002
Posts: 81
Thanks for the quick and clear reply, Thomas!
subject: Scalability of Java
Similar Threads
zipping as self extracting exe
WA #2 ..... word association
c++ or Java--your suggestions please