Hudzilla.org - the homepage of Paul Hudson
Contents > Java and COM > Bringing Java into the mix Wish List | Report Bug | About Me ]

14.2.5     The future of PHP and Java

This is NOT the latest copy of this book; click here for the latest version.

Java Specification Request 223 (JSR223), put together by representatives from Sun, Zend, Macromedia, and Oracle, details a plan to provide a solid API in Java that allows PHP programmers to dig deeper into Java when they work in tandem on a web server. If JSR223, once refined, is accepted into the Java system, it will mean that PHP developers have an easy way to connect their front-ends with existing back-end Java business logic that is currently not possible.

The advantage of this is clear - both Java and PHP actually work to complement each other remarkably well, given that both are cross-platform, both have a slant towards the web, and both are available free. Many businesses use Java for their business systems because that decision makes sense - Java excels in this role. However, these same businesses have been stuck with Java for their front-end tasks, such as serving up dynamic web pages - tasks that PHP does much better.

If Java and PHP were to be made almost interchangeable on the server level, companies could carry on using their complex Java structures behind the scenes, but layer flexible PHP code on top of it all, with that PHP having full ability to interact with the Java objects.

Sun are actively pushing this JSR, although one has to question their motives - whether or not they see this as just another way to beat down Microsoft's ASP.NET initiative is hard to say.





<< 14.2.4 Using Swing   14.3 Summary >>
Table of Contents
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.



My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!



Top-right shadow
 
Bottom-left shadow Bottom shadow

Comments from other readers
anoop - 06 Sep 2008

iouoi
iouou



Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.

If you are reporting an error in the content, please tell me directly.

Your name/email address:
Your comment:
 
Now, in order to verify that you're a real person, please answer this simple question: what is zero plus six?
The answer is:
(please write in
numbers, eg 19)


Top-right shadow
 
Bottom-left shadow Bottom shadow