This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scalability of Java

 
Marie Mazerolle
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pardon my ignorance, but why is Java more scalable than PHP?
Thanks,
Marie
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marie Mazerolle
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick and clear reply, Thomas!
Marie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic