The initiative is an important step in further strengthening PHP adoption by enterprises. Furthermore, it paves the way for standards-based middleware products that will provide scalable integration between PHP front-end web applications and Java business logic.
The new Java Specification Request – Scripting Pages in Java Web Applications, JSR-223 – will describe how to write portable Java classes that can be invoked from a page written in any scripting language, with PHP serving as the reference scripting language implementation. It will include details on security, resources and class loader contexts.
The new specification will lead to products that enable building n-tier applications that have a web scripting front-end which utilizes Java objects. Examples of such applications include: a web-based scheduling system that accesses an enterprise-wide Java-based personal contacts system for names and e-mail addresses; or a web-based CRM system that connects to Java-based transactional systems for purchasing and transaction processing activities.