. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Tuesday, 23 January 2007

PHP and JAVA Comes Together in Quercas

 

 

In a new post over his blog, Justin Silverton, talks about Caucho’s Quercas, a Java implementation of the PHP language. It allows developers to use PHP flexibility for the web interface and Java for stability, he said. He also gives you a background about Resin— an open source application server that comprises Quercas. He talks about the benefits, performance, development and security of Quercas.

About benefits, he says, Quercus and Quercus’ PHP libraries are written entirely in Java, thereby taking the advantages of Java applications and infusing them into PHP. PHP applications running on Quercus are capable, secure, and scalable than any other PHP solution, he reports.

In terms of performance Quercus outperforms straight mod_php by about 4x for MediaWiki and Drupal. PHP developers can use Java tools like profilers to get information about the PHP program performance, Justin informs.

Regarding development he says, PHP extensions written in Java are relatively easy to develop compared to those written in C. Since Java is the library language, developers won’t need to be paranoid about third-party libraries having C-memory problems or segvs .

He also says Quercus has got the benefit of both the worlds— PHP and Java. PHP applications can take advantage of Java technologies like JMS, EJB, SOA frameworks, Hibernate, and Spring.

Justin comments on the security issues that all Quercus extensions libraries are coded in Java. Therefore, developers do not have to worry about C pointer overruns and segmentation faults from PHP extensions anymore.

He also adds that with Resin, PHP applications can scale as many servers as desired. PHP applications can also enjoy connection pooling, distributed sessions, fail-safe load balancing, and proxy caching without changing the PHP code.

 

Read the Post

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use