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
|
2
(1) |
3
(1) |
|
4
|
5
(3) |
6
(6) |
7
(6) |
8
(10) |
9
(6) |
10
|
|
11
(5) |
12
(5) |
13
(1) |
14
|
15
(2) |
16
(2) |
17
(4) |
|
18
(3) |
19
(3) |
20
(7) |
21
(5) |
22
(7) |
23
(1) |
24
(4) |
|
25
|
26
(3) |
27
(2) |
28
(1) |
29
|
30
|
31
|
|
From: <php...@li...> - 2009-01-27 17:45:36
|
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
|
|
From: <php...@li...> - 2009-01-27 07:36:17
|
On Jan 21, 2009, at 9:05 AM, php-java-bridge-
us...@li... wrote:
> Hi Jon,
>
> the main problem with version 3.2.1 is the hook into the Zend
> evaluator (the java.so or php_java.dll). Because the PHP low-level
> API changes constantly, it is impossible to maintain version 3.2.1
> or below (PHP/Java Bridge 3.2.1 will no longer work with PHP 5.3 or
> PHP 6).
I do remember needing to recompile the phpJava bridge whenever I
upgraded my PHP version. 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?
>
>> From Java's point of view a php-cgi (fast cgi executable) is a
>> requirement. Otherwise you won't be able to run PHP interactively.
>> As far as I know the interactive JSR 223 script engine is the only
>> way to start a REPL. -- The php cli can be started with the -a
>> flag, which emulates an interactive PHP session, but this doesn't
>> really work well in practice:
>
Are you speaking from the point of view of someone who is trying to
access PHP from Java -or- call Java libraries from PHP? I need to do
the latter, call Java .jar files from PHP. My applications are pure
PHP web-based applications but I need to be able to make calls
through a 3rd party java library (provided by a vendor of mine) from
my PHP applications (all interactive Web sites) that processes credit
card transactions.
It seemed easy with the old 3.2.1 version of the bridge since all I
did was compile the bridge as a PHP extension and then make simple
calls from within my PHP. Here is a stripped down (but nearly
complete) example of the main script I use that communicates with our
vendors merchant processing platform via their Java API called from
our PHP web application:
java_require(3rd party jar files...);
$props = new Java("java.util.Properties");
$props->put("someval","sourcedir");
etc...
$request = new Java("java.util.HashMap");
..fill $request with all calling variables...
try {
$reply_class = new JavaClass("com.vendor.ws.client.Client");
$my_reply = new JavaClass("java.util.HashMap");
$my_reply = $reply_class->runTransaction($request , $props);
$vendor_reply = java_values($my_reply); //--- bust reply values
back into PHP readable array
} catch (java_exception $err) {
handle errors
}
Is it possible to do the same thing with the latest release similar
to this. Also if there is not a way for me to create the same
javaBridge PHP extension as in the old 3.2.1 version, is the pure PHP
implementation still available?
Thanks again for the great assistance.
Also if there are any other OS X users out there, feel free to jump
in with any suggestions/help you may have for me.
Jon Koerber
> $ php -a
> php > foo();
> crash
>
>
> Of cause there are other PHP implementations, some are written in
> pure Java. But none of them is 100% compatible with the PHP script
> engine from php.net, which renders these implementations useless.
>
>
> 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
|