I am newbie in programming and i don't answer for the question about which is main differences if we compare usual php site and small bank or bussines portal that uses servlets, jsp, jspf and etc???
Which are benefits in their features, please explain you opinion from your experence and desprove those below if they wrong!
- Portal must be realized on the three tiers model where clients --> container ---> Db servers, but php only use a two tiers model is it right?
- php have a long http responce if the client try to do hard request to db server but portal uses the app.server for it?
-so complicated for programming in the php not for java?
I think you're somewhere out in left field with most of your assumptions. Maybe there's a disconnect in nomenclature, for example you seem to use the term "portal" in a somewhat non-standard way (the "Portal" in this forum refers to http://www.coderanch.com/how-to/java/PortletFaq).
Portal must be realized on the three tiers model where clients --> container ---> Db servers, but php only use a two tiers model is it right?
Which tier do you think PHP is missing? There's no conceptual difference between a servlet container like Tomcat and a PHP container like mod_php.
php have a long http responce if the client try to do hard request to db server but portal uses the app.server for it?
It's possible to create both slow and fast apps using both technologies.
As regards PHP vs Java, that borders on being a religious debate, and both sides are going to disagree. IMO PHP is not well suited for enterprise-class backends. While it can do the same things as a Java site can do, PHP apps tend to end up with code that is not easily maintable. It's really meant for building the web frontend of apps, but not the entire app, so it lacks some of the app structuring mechanisms Java apps have.