resin支持php了, 散分200

iasky 2006-09-26 08:02:46
Quercus: PHP in Java

Quercus is Caucho Technology's fast, open-source, 100% Java implementation of the PHP language

Introduction to Quercus

Quercus is Caucho Technology's fast, open-source, 100% Java implementation of the PHP language. Quercus is a featur

What is Quercus
Quercus implements PHP 5 and is internationalization/localization (i18n/l10n) aware. Quercus natively supports Unicode and the new Unicode syntax of the up-and-coming PHP 6. Quercus implements a growing list of PHP extensions (i.e. APC, iconv, GD, gettext, JSON, MySQL, Oracle, PDF, Postgres, etc.) Many popular PHP applications will run as well as, if not better, than the standard PHP interpreter straight out of the box. The growing list of PHP software certified running on Quercus includes DokuWiki, Drupal, Gallery2, Joomla, Mambo, Mantis, MediaWiki, Phorum, phpBB, phpMyAdmin, PHP-Nuke, Wordpress, and XOOPS.

Resin with Quercus
Quercus is much more than just yet another PHP engine. Quercus is the first to tightly integrate the web server with a PHP engine. Quercus runs on top of Caucho Technology's Resin Application Server. As a result, PHP applications can automatically and immediately take advantage of Resin's advanced features like connection pooling, distributed sessions, load balancing, and proxy caching.

A New Java/PHP Architecture
Quercus is pioneering a new mixed Java/PHP approach to web applications and services. On Quercus, Java and PHP is tightly integrated with each other - PHP applications can choose to use Java libraries and technologies like JMS, EJB, SOA frameworks, Hibernate, and Spring. This revolutionary capability is made possible because 1) PHP code is interpreted/compiled into Java and 2) Quercus and its libraries are written entirely in Java. This enables PHP applications and Java libraries to talk directly with one another at the program level. To faciliate this new Java/PHP architecture, Quercus provides an API and interface to expose Java libraries to PHP.

Benefits of Quercus
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 simply faster, easier to develop, more capable, more secure, and more scalable than any other PHP solution.

Performance - simply faster
Quercus outperforms straight mod_php by about 4x for MediaWiki and Drupal.
PHP developers can use Java tools like profilers to get in-depth information about the PHP program performance.
Development - fast, safe, and easy
PHP extensions written in Java are fast, safe, and 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 and are freed to concentrate on solving the objectives at hand.
Capability - powerful Java technologies at the developer's fingertips
Quercus has the best of both worlds: PHP and Java. PHP applications can take advantage of Java technologies like JMS, EJB, SOA frameworks, Hibernate, and Spring.
Security - no more pesky C memory bugs
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.
Scalability - PHP for the masses, literally
Thanks to Resin, PHP applications can beautifully scale to as many servers as desired.
PHP applications can now enjoy connection pooling, distributed sessions, fail-safe load balancing, and proxy caching. These benefits require no change in the PHP code.
Quercus gives both Java and PHP developers a fast, safe, and powerful alternative to the standard PHP intepreter. Developers ambitious enough to use PHP in combination with Java will benefit the most from what Quercus has to offer.

Getting Started with Quercus
Quercus is officially part of 3.1.0. Please go through the Hello World tutorial to get a simple PHP page up and running on Quercus.

Overview

Overview, status, and discussions on Quercus, Caucho's Java implementation of the PHP language.


Resin Funs

Quercus provides a number of Resin-specific function to integrate with JNDI, JMS, JMX, and provide extra debugging.


Tutorials
Hello World
Java Modules
JSON
PDO

--------------------------------------------------------------------------------

...全文
805 23 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
23 条回复
切换为时间正序
请发表友善的回复…
发表回复
kenesyu 2006-09-28
  • 打赏
  • 举报
回复
学习
xqi8 2006-09-28
  • 打赏
  • 举报
回复
good
specialjuly 2006-09-28
  • 打赏
  • 举报
回复
mark
颓废的老猫 2006-09-28
  • 打赏
  • 举报
回复
接分~
mhjl 2006-09-27
  • 打赏
  • 举报
回复
jf
iasky 2006-09-27
  • 打赏
  • 举报
回复
up
caotian2000 2006-09-27
  • 打赏
  • 举报
回复
学习中....
freelyl 2006-09-27
  • 打赏
  • 举报
回复
更新CLASS的时候一样和TOMCAT一样慢的吧.....如果是这样,永远也比不上.NET开发网页快。
ashchen 2006-09-27
  • 打赏
  • 举报
回复
resin跟tomcat是一个类型的,都是容器,搞java和jsp的比较清楚
也自带http服务,配置比tomcat方便
如果支持php当然是好事情!调用java的强大功能,嘿嘿,前途不错
zeroleonhart 2006-09-27
  • 打赏
  • 举报
回复
resin

-------------------------
Is this a tool to make IIS support java ???
anshenghao 2006-09-27
  • 打赏
  • 举报
回复
学习一下~~~
poiu_poiu 2006-09-27
  • 打赏
  • 举报
回复
jf
mingxuan3000 2006-09-27
  • 打赏
  • 举报
回复
学习
wwx840723 2006-09-27
  • 打赏
  • 举报
回复
学习中~
virgolong 2006-09-26
  • 打赏
  • 举报
回复
裤衩万岁
ibeta 2006-09-26
  • 打赏
  • 举报
回复
新人来接分
netflier 2006-09-26
  • 打赏
  • 举报
回复
好象现在看不懂 帮加加人气
aday 2006-09-26
  • 打赏
  • 举报
回复
不搞java很久了,resin都要快被遗忘了
papaxiong 2006-09-26
  • 打赏
  • 举报
回复
resin??不懂是什么来得
wuyz124 2006-09-26
  • 打赏
  • 举报
回复
不知道resin。
lz解释一下啊,照顾一下我们这些小三角
加载更多回复(2)

21,893

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧