You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
(1) |
2
(2) |
3
|
4
(4) |
5
|
6
(9) |
7
(3) |
8
(1) |
9
(4) |
10
(2) |
11
|
12
(8) |
13
(1) |
14
|
15
|
16
(1) |
17
|
18
(1) |
19
(2) |
20
(2) |
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
From: <php...@li...> - 2009-02-06 18:03:40
|
Hello, Please, given that bind.c was removed, how should one configure the java.security_policy or equivalent? Regards. Andre Felipe |
From: <php...@li...> - 2009-02-06 15:02:04
|
Hello, Please, given that bind.c was removed, how should one configure the java.security_policy or equivalent? Regards. Andre Felipe |
From: <php...@li...> - 2009-02-06 12:10:37
|
Hi, [port 8080] > Caused by: java.net.BindException: Address already in use if you have a J2EE server running on port 8080, you don't need to start another one. Regards, Jost Bökemeier |
From: <php...@li...> - 2009-02-06 12:08:50
|
Hi dominik, I am not so sure if it is desireable to allow script-specific beans within a IOC framework. Programming one bean in Groovy, the next one in Python and other beans in Java might become a maintanance nightmare. However, the JSR 223 API allows one to create context-specific script engines, which can be injected into the system and invoked when needed. > For this, I'm currently refactoring some parts of the > php-java-bridge to be more losly coupled and allow the usage of Why do you need to refactor internal classes? > a) which services should be available to php You can specify the bean configuration in a separate XML file (e.g.: faces-config.xml, ...), why do you need to change the web.xml or the PHP/Java Bridge code? > b) which classes should php able to load, e.g. java.util.*, Just attach a context handle to the JSR 233 script engine instance. PHP scripts can fetch their individual context via e.g.: $ctx=java_context()->getAttribute("context"); Regards, Jost Bökemeier |
From: <php...@li...> - 2009-02-06 12:06:15
|
Hi, > Nevermind, i forgot to turn tomcat-apache off. why do you want to switch tomcat off? > However, I think to messed up with Php-Java Bridge, as I > now can't access the code (and the php-java-bridge page) > I used to see if I got the desired results or not. Any way > to undo the damage. Which damage? Just start tomcat again and your PHP/Java code will work again. Regards, Jost Bökemeier |
From: <php...@li...> - 2009-02-06 09:13:34
|
Nevermind, i forgot to turn tomcat-apache off. However, I think to messed up with Php-Java Bridge, as I now can't access the code (and the php-java-bridge page) I used to see if I got the desired results or not. Any way to undo the damage. ________________________________ From: "php...@li..." <php...@li...> To: php...@li... Sent: Friday, February 6, 2009 5:01:36 PM Subject: Re: [Php-java-bridge-users] Need Help for Linux: Connecting Php and MySQL using Php-Java Bridge Tried doing the steps, and it results into this: [root@medgrid ext]# java -Djava.ext.dirs=/usr/share/java -jar ~/php-java-bridge/JAVA.STANDALONE/JavaBridge.jar SERVLET:8080 3 "" & [1] 8710 [root@medgrid ext]# Feb 06 16:59:37 VMBridge INFO : VM : 1.5.0_07@http://java.sun.com/ Feb 06 16:59:37 VMBridge INFO : VMBridge version : 5.4.3.1 Feb 06 16:59:37 VMBridge INFO : logFile : Feb 06 16:59:37 VMBridge INFO : default logLevel : 3 Feb 06 16:59:37 VMBridge INFO : socket : SERVLET:8080 Feb 06 16:59:37 VMBridge INFO : java.ext.dirs : /usr/share/java Feb 06 16:59:37 VMBridge INFO : php.java.bridge.base: /root Feb 06 16:59:37 VMBridge INFO : thread pool size : 20 Feb 06 16:59:37 VMBridge INFO : JavaBridgeRunner started on port INET:8080 java.lang.RuntimeException: java.net.BindException: Address already in use at php.java.bridge.Standalone.init(Standalone.java:214) at php.java.bridge.Standalone.main(Standalone.java:313) Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:141) at php.java.bridge.TCPServerSocket.newServerSocket(TCPServerSocket.java:60) at php.java.bridge.TCPServerSocket.<init>(TCPServerSocket.java:79) at php.java.bridge.TCPServerSocket.create(TCPServerSocket.java:51) at php.java.bridge.Standalone.bind(Standalone.java:75) at php.java.bridge.JavaBridge.bind(JavaBridge.java:235) at php.java.bridge.JavaBridgeRunner.bind(JavaBridgeRunner.java:159) at php.java.bridge.http.HttpServer.<init>(HttpServer.java:92) at php.java.bridge.JavaBridgeRunner.<init>(JavaBridgeRunner.java:78) at php.java.bridge.JavaBridgeRunner.getRequiredStandaloneInstance(JavaBridgeRunner.java:134) at php.java.bridge.JavaBridgeRunner.main(JavaBridgeRunner.java:559) at php.java.bridge.Standalone.checkServlet(Standalone.java:237) at php.java.bridge.Standalone.init(Standalone.java:200) ... 1 more In other words, it stops there, and I have to Ctrl+C to type commands again. Is this normal? ________________________________ From: "php...@li..." <php...@li...> To: php...@li... Sent: Wednesday, February 4, 2009 6:52:14 PM Subject: Re: [Php-java-bridge-users] Need Help for Linux: Connecting Php and MySQL using Php-Java Bridge 1. Download mysql-connector-java.jar 2. Copy mysql-connector-java.jar to your java.ext.dirs (usually "/usr/java/default/lib/ext") # (or start a simple Java VM using /usr/share/java as java.ext.dirs) java -Djava.ext.dirs=/usr/share/java -jar ~/JavaBridge.jar SERVLET:8080 3 "" & 3. Use the driver as usual: ---------- mysqlTest.php ---------------- <?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); # load driver from java.ext.dirs using Class.forName(...) new java("com.mysql.jdbc.Driver"); $conn = java("java.sql.DriverManager")->getConnection("jdbc:mysql://localhost/test", "root", ""); $st = $conn->createStatement (); $st->executeUpdate ("drop table hugo"); $st->executeUpdate ("create table hugo (i int primary key, v varchar(255))"); $st->executeUpdate ("insert into hugo (i, v) values (1, 'first')"); $st->executeUpdate ("insert into hugo (i, v) values (2, 'second')"); $st->execute("select * from hugo"); $rs = $st->getResultSet (); while ((string)$rs->next ()) { echo $rs->getInt("i"); echo ", "; echo $rs->getString("v"); echo "\n"; } $rs->close(); $st->close(); $conn->close (); ?> --------------------------------------------------------- # test php -d allow_url_include=On mysqlTest.php => 1, first 2, second ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-02-06 09:01:40
|
Tried doing the steps, and it results into this: [root@medgrid ext]# java -Djava.ext.dirs=/usr/share/java -jar ~/php-java-bridge/JAVA.STANDALONE/JavaBridge.jar SERVLET:8080 3 "" & [1] 8710 [root@medgrid ext]# Feb 06 16:59:37 VMBridge INFO : VM : 1.5.0_07@http://java.sun.com/ Feb 06 16:59:37 VMBridge INFO : VMBridge version : 5.4.3.1 Feb 06 16:59:37 VMBridge INFO : logFile : Feb 06 16:59:37 VMBridge INFO : default logLevel : 3 Feb 06 16:59:37 VMBridge INFO : socket : SERVLET:8080 Feb 06 16:59:37 VMBridge INFO : java.ext.dirs : /usr/share/java Feb 06 16:59:37 VMBridge INFO : php.java.bridge.base: /root Feb 06 16:59:37 VMBridge INFO : thread pool size : 20 Feb 06 16:59:37 VMBridge INFO : JavaBridgeRunner started on port INET:8080 java.lang.RuntimeException: java.net.BindException: Address already in use at php.java.bridge.Standalone.init(Standalone.java:214) at php.java.bridge.Standalone.main(Standalone.java:313) Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:141) at php.java.bridge.TCPServerSocket.newServerSocket(TCPServerSocket.java:60) at php.java.bridge.TCPServerSocket.<init>(TCPServerSocket.java:79) at php.java.bridge.TCPServerSocket.create(TCPServerSocket.java:51) at php.java.bridge.Standalone.bind(Standalone.java:75) at php.java.bridge.JavaBridge.bind(JavaBridge.java:235) at php.java.bridge.JavaBridgeRunner.bind(JavaBridgeRunner.java:159) at php.java.bridge.http.HttpServer.<init>(HttpServer.java:92) at php.java.bridge.JavaBridgeRunner.<init>(JavaBridgeRunner.java:78) at php.java.bridge.JavaBridgeRunner.getRequiredStandaloneInstance(JavaBridgeRunner.java:134) at php.java.bridge.JavaBridgeRunner.main(JavaBridgeRunner.java:559) at php.java.bridge.Standalone.checkServlet(Standalone.java:237) at php.java.bridge.Standalone.init(Standalone.java:200) ... 1 more In other words, it stops there, and I have to Ctrl+C to type commands again. Is this normal? ________________________________ From: "php...@li..." <php...@li...> To: php...@li... Sent: Wednesday, February 4, 2009 6:52:14 PM Subject: Re: [Php-java-bridge-users] Need Help for Linux: Connecting Php and MySQL using Php-Java Bridge 1. Download mysql-connector-java.jar 2. Copy mysql-connector-java.jar to your java.ext.dirs (usually "/usr/java/default/lib/ext") # (or start a simple Java VM using /usr/share/java as java.ext.dirs) java -Djava.ext.dirs=/usr/share/java -jar ~/JavaBridge.jar SERVLET:8080 3 "" & 3. Use the driver as usual: ---------- mysqlTest.php ---------------- <?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); # load driver from java.ext.dirs using Class.forName(...) new java("com.mysql.jdbc.Driver"); $conn = java("java.sql.DriverManager")->getConnection("jdbc:mysql://localhost/test", "root", ""); $st = $conn->createStatement (); $st->executeUpdate ("drop table hugo"); $st->executeUpdate ("create table hugo (i int primary key, v varchar(255))"); $st->executeUpdate ("insert into hugo (i, v) values (1, 'first')"); $st->executeUpdate ("insert into hugo (i, v) values (2, 'second')"); $st->execute("select * from hugo"); $rs = $st->getResultSet (); while ((string)$rs->next ()) { echo $rs->getInt("i"); echo ", "; echo $rs->getString("v"); echo "\n"; } $rs->close(); $st->close(); $conn->close (); ?> --------------------------------------------------------- # test php -d allow_url_include=On mysqlTest.php => 1, first 2, second ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-02-06 01:57:22
|
Hello, I'm in the progress of creating an adapted version of the phpJavaBridge for usage with, currently a Spring Web Context. The idea behind it is: I'm moving from a complex php-website to a java powered website. While in the transition I want to code the java backend and change the php-implementation piece by piece to use the java backend. But I don't want the php-code to call whatever it wants, I just want some specified services (interfaces, classes) available to php. I want the transition as smooth as possible, so extracting interfaces/data-methods in my php code which then calls the services of the java backend. These services will then be used by the final product of the transition. For this, I'm currently refactoring some parts of the php-java-bridge to be more losly coupled and allow the usage of dependency injection frameworks (spring / guice / seam, etc. ) I want to specify in my Java-Application / servlet-configuration a) which services should be available to php b) which classes should php able to load, e.g. java.util.*, java.lang.*; com.mydomain.app.domain.* etc. My question now, as I'm planing to publish the resulting work as soon as finished a) do you want me to add it to your repository or publish it separatly b) if you want me to publish it, where & how can I submit it to the repository c) are you even interested in these changes? Or do you simply don't care, because the current code "just works"? I want to publish this code, as soon as it's finished, maybe even some middle steps before the final result. Also I'm trying to create some uml-class diagrams to understand the relationships between the classes of the php-java-bridge.. is there a place i can add them to the documentation part of the project, so to help other people work with and understand the bridge? thanks for your answers, dominik |
From: <php...@li...> - 2009-02-04 21:03:42
|
Hi, why don't you simply require a functional PHP environment? The bridge can be configured to use the system PHP installation instead of the local PHP binary within WEB-INF/cgi/. > [PHP_MySQL] > extension=php_mysql.dll > > And then copy-paste the php_mysql.dll from the dll's I don't think this will work. The php mysql.so (php_mysql.dll) have been compiled against a specific PHP version and a specific mysql version: [jostb@carlos ~]$ locate mysql.so /usr/lib/php/modules/mysql.so /usr/lib/php/modules/pdo_mysql.so [jostb@carlos ~]$ ldd /usr/lib/php/modules/mysql.so /usr/lib/php/modules/mysql.so: linux-gate.so.1 => (0x00110000) libmysqlclient.so.15 => /usr/lib/mysql/libmysqlclient.so.15 (0x0011d000) The php_mysql driver depends on the version # of the mysql client library (version 15) in this case. A different client library might cause a crash. I don't think it makes sense to ship a complete mysql installation with each PHP application. However, there are several open-source pure Java-based relational databases which can be easily packaged with your PHP/Java web application. Regards, Jost Boekemeier |
From: <php...@li...> - 2009-02-04 13:42:52
|
Kevin, >> One of the uses I currently have for Php-Java Bridge is to allow PHP to connect to mySQL. >> What I want to know is if it is an equivalent way of doing this in Red Hat Linux. There is a PDO (PHP Data Object) available for accessing mySql from PHP. The easiest way I've found is to install a LAMP (Linux Apache MySql PHP) version and it is pretty much done. I tend to use Ubuntu. Charles Shaffer Senior Analyst NTN-Bower Corporation |
From: <php...@li...> - 2009-02-04 10:52:20
|
1. Download mysql-connector-java.jar 2. Copy mysql-connector-java.jar to your java.ext.dirs (usually "/usr/java/default/lib/ext") # (or start a simple Java VM using /usr/share/java as java.ext.dirs) java -Djava.ext.dirs=/usr/share/java -jar ~/JavaBridge.jar SERVLET:8080 3 "" & 3. Use the driver as usual: ---------- mysqlTest.php ---------------- <?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); # load driver from java.ext.dirs using Class.forName(...) new java("com.mysql.jdbc.Driver"); $conn = java("java.sql.DriverManager")->getConnection("jdbc:mysql://localhost/test", "root", ""); $st = $conn->createStatement (); $st->executeUpdate ("drop table hugo"); $st->executeUpdate ("create table hugo (i int primary key, v varchar(255))"); $st->executeUpdate ("insert into hugo (i, v) values (1, 'first')"); $st->executeUpdate ("insert into hugo (i, v) values (2, 'second')"); $st->execute("select * from hugo"); $rs = $st->getResultSet (); while ((string)$rs->next ()) { echo $rs->getInt("i"); echo ", "; echo $rs->getString("v"); echo "\n"; } $rs->close(); $st->close(); $conn->close (); ?> --------------------------------------------------------- # test php -d allow_url_include=On mysqlTest.php => 1, first 2, second |
From: <php...@li...> - 2009-02-04 04:17:16
|
One of the uses I currently have for Php-Java Bridge is to allow PHP to connect to mySQL. Doing this in Windows is simple, all I have to do is add the following in the php.ini file: [PHP_MySQL] extension=php_mysql.dll And then copy-paste the php_mysql.dll from the dll's that come with the php installer into (apache-tomcat installation directory)/webapps/JavaBridge/Web.INF/cgi. What I want to know is if it is an equivalent way of doing this in Red Hat Linux. For instance, instead of say php_mysql.dll, is there a php_mysql.so file out there somewhere? Thank you in advance for your assistance -Kevin |
From: <php...@li...> - 2009-02-02 20:22:58
|
Jost, Thanks again for your dedication and amazing support for your phpJava bridge project. I will be working on this over the next couple weeks to see how I can pull this all together and get it working. I will do my best to report back (or add some pages to the Web site) on the method for running the new 5.4.3 binaries on the OS X Client and OS X Server platforms (Both Tiger 10.4 and Leopard 10.5). Cheers. Jon Koerber On Feb 2, 2009, at 10:01 AM, php-java-bridge- us...@li... wrote: > Hi, > >> Okay, so I am looking into installing/enabling a servlet >> engine under OS X Server. > > Tomcat and Jetty will work out of the box. Tomcat is a little bit > easier to handle because of its autodeploy mode. > > >> That still leaves me with one issue, how can I extract >> the files I need from the JavaBridge package without a PHP > > You don't need to extract anything, the deployment tool built into > tomcat knows how to handle .war files. It automatically extracts > all necessary files into the webapps folder, right after you have > copied the .war file into it. > > Just copy JavaBridge.war to Tomcat's "webapps" folder, wait one > second and that's it. > > > > Regards, > Jost Bökemeier > > > > > > ---------------------------------------------------------------------- > -------- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-02-02 18:03:02
|
Hi, > Okay, so I am looking into installing/enabling a servlet > engine under OS X Server. Tomcat and Jetty will work out of the box. Tomcat is a little bit easier to handle because of its autodeploy mode. > That still leaves me with one issue, how can I extract > the files I need from the JavaBridge package without a PHP You don't need to extract anything, the deployment tool built into tomcat knows how to handle .war files. It automatically extracts all necessary files into the webapps folder, right after you have copied the .war file into it. Just copy JavaBridge.war to Tomcat's "webapps" folder, wait one second and that's it. Regards, Jost Bökemeier |
From: <php...@li...> - 2009-02-01 18:57:45
|
Jost, Okay, so I am looking into installing/enabling a servlet engine under OS X Server. That still leaves me with one issue, how can I extract the files I need from the JavaBridge package without a PHP fast-cgi? Since I only have a PHP binary and the Apache php.so extension. Is there any other way to get the files I need from the bridge package? Any help appreciated. Jon On Jan 27, 2009, at 9:45 AM, php-java-bridge- us...@li... wrote: > Hi Jon, > >> [...] I assume you are saying by the >> above that I could no longer simply recompile the 3.2.1 bridge >> source >> with the latest PHP source to produce a viable bridge extension to >> PHP, is that right? > > Yes. > > >> Are you speaking from the point of view of someone who is >> trying to access PHP from Java -or- call Java libraries from PHP? > > Both still work. It's just that the java.so/php_java.dll extension > is not necessary anymore (PHP >= 1.4). > > >> It seemed easy with the old 3.2.1 version of the bridge > > It is even easier now that we've scrapped the java extension. Just > install a servlet engine or J2EE server on a computer within your > intranet and use: > > require_once("http://yourServer:8080/JavaBridge/java/Java.inc"); > > in your scripts to access it. > > If you want to start Java with each PHP script invocation, use the > JSR 223 API (Java >= 1.6): > > jrunscript -classpath JavaBridge.jar -l php testScript.php > > > >> java_require(3rd party jar files...); >> $props = new Java("java.util.Properties"); >> $props->put("someval","sourcedir"); > > Yes. Just add a java_require(".../Java.inc") to your script. > > > Regards, > Jost Boekemeier > > > > > > ---------------------------------------------------------------------- > -------- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |