PHP with Glassfish V3 and Netbean 6.5

Today I try configure and run PHP files with Glassfish V3 for both Quercus and Joomla (JavaBridge), and here is how I see.


1.  Joomla (JavaBridge) PHP
The simplest way for Joomla (JavaBridge) is just deploy the JavaBridege.war file to V3 server after unzip the php-java-bridge_5.5.5_j2ee.zip file as shown in figure below:



Then, click launch to execute the JavaBridge PHP Sample index file as shown in the figurre below





Click the 1st link to execute test PHP info file, please see the result figure below:




If you want to customize the PHP application, unwar the JavaBridge.war file, do some cleanup then war the file back. For more instruction, please visist S├ębastien Dionne's article


2. For Quercus PHP
The same procedure applies to Quercus. Download Quercus zip file, unzip the file then war it. Use Glassfish Admin GUI console to deploy the app (in my case, I named it as Quercus.war). Please see figure below




3. If you want to use Netbean 6.5 IDE to write PHP files for mutiple applications, you can visit Arun Gupta's Blog for configuration steps. EXCEPT, copy all jars files to "GLASSFISH_HOME/glassfish/lib" directory" instead of "GLASSFISH_HOME/domains/domain/lib" likes in V2.

Comments:

Good blog. Thanks Davis for sharing !

Posted by Judy on September 04, 2008 at 12:18 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

davisn

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today