?
Solved

Can Java Servlets be completely replaced by PHP Scripting?

Posted on 2004-09-27
5
Medium Priority
?
244 Views
Last Modified: 2010-04-06
Hi,
I am planning to develop a Single Sign On solution for my Institution which will be based on PHP. i wanted to know if it is possible to replace Java Servlets with PHP Scripting when developing such a solution as most of the SSO solutions available on the Web are based on Java Servlets/J2EE/JSP. Can php do all that Servlets can do? What are the advantages over the other?

Example of Java SSO solution http://www.josso.org
PS: The SSO solution will intergrate (authenticate & authorize) different intranet web applications only and not desktop application.
Thanks.
0
Comment
Question by:e_talis
  • 3
5 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 1000 total points
ID: 12158998
As far as I know, you *may* hit certain problems...  When you write code with Java Servlets, you can access the entire J2EE class libraries.  With PHP, you cannot...

Here are some things I found on the web...

http://www.loudthinking.com/arc/000057.html
http://www.phpbuilder.com/lists/php3-list/199908/0075.php
http://www.sitepoint.com/forums/showthread.php?t=183394
http://www.sitepoint.com/forums/showthread.php?t=150955&page=1&pp=25

Don't forget that each of those site probably has a readership from a different side of things, so may well be biased

(I am a Java developer, so you can guess which side my bias probably exists) ;-)

Tim
0
 
LVL 18

Expert Comment

by:arantius
ID: 12182543
Yes.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 12182750
>  Yes.

Really?  All of it?
0
 

Author Comment

by:e_talis
ID: 12191387
Most sites say that Java is good for business web apps because one can easily integrate with already existing systems.
I am still not sure which path to take but most SSOs have been done in Java ... maybe I should head that way.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 12296695
why the C grade?  Seems a little low...  If I really helped that little, maybe you should have asked for this question to be deleted...
 
From the help pages:  http://www.experts-exchange.com/help.jsp#hi73
---------------
# C: Because Experts' reliability are often judged by their grading records, many Experts would like the opportunity to clarify if you have questions about their solutions. If you have given the Expert(s) ample time to respond to your clarification posts and you have responded to each of their posts providing requested information; or if the answers, after clarification, lack finality or do not completely address the issue presented, then a "C" grade is an option. You also have the option here of just asking Community Support to delete the question.
---------------

Anyway...good luck with it...

Tim
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question