Dear Kuba:
 can you tell me something about the servlet session? How to use it? Or could you give 
me some resources concerning it?

Thank you very much!

ying
----- Original Message -----
From: Martin Kuba <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 10, 2000 9:48 PM
Subject: Re: php3 vs. servlets


> Scutaru Ionut wrote:
> >
> > Can anybody tell any existing advantages of servlets vs. php ? Or
> > otherwise..
>
> IMHO servlets have these advantages over PHP:
>
> 1) Java is much more better programming language than PHP
>    - strict vriable type control vs. nondeclared variables
>    - more object oriented
>    - Exceptions, easier to debug
>
> 2) you have support of all Java standard features
>    - OS and platform independence, binary compatibility
>    - JDBC connection to any database
>    - serialization
>    - threads
>
> 3) Servlets have sessions, so you can track one particular
>    user and you can save his data in his session on the server,
>    it means the HIDDEN tags are no more necessary.
>
> 4) Servlets have init() phase where you can prepare repeatedly
>    used resources. In PHP you have to build everything again and again
>    for every request.
>
> 5) Servlets (Java) have unparaleled internationalization
>    features, like character encodings translations, date formats,
>    number formats, variable localized texts
>
> I have seen PHP 3.0.12 as the latest version, so it may change,
> I have heard about something like "PHPlib" which enables sessions,
> but even PHP with session is not as good as Servlets.
>
> Martin
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    INET, a.s.                          Mgr. Martin Kuba
> Kralovopolska 139                  e-mail: [EMAIL PROTECTED]
>   601 12 Brno                      WWW: http://www.inet.cz/~makub/
>  Czech Republic                    tel: +420-5-41242414/32
> --------------------------------------------------------------------
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to