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
(3) |
2
(9) |
3
(1) |
4
(3) |
|
5
|
6
(3) |
7
(2) |
8
(3) |
9
(2) |
10
(1) |
11
|
|
12
(1) |
13
(9) |
14
(6) |
15
(7) |
16
(8) |
17
|
18
|
|
19
|
20
(2) |
21
(2) |
22
(5) |
23
|
24
(6) |
25
(2) |
|
26
|
27
(3) |
28
|
29
(1) |
30
(4) |
31
(2) |
|
|
From: <php...@li...> - 2007-08-14 22:26:03
|
I'm stuck and looking for anybody with ideas. I have a multi-dimensional
PHP array that I want to pass into a Java method that expects a HashMap. So
far, so good. I found that I could not pass the array in directly, but I
could pass the php array into a HashMap constructor and then pass that:
// simplified php code to illustrate the problem
$phpArray = array(
"foo" => "bar",
"baz" => array("x", "y", "z")
);
$hm = new Java("java.util.HashMap", $phpArray);
$myObj->myMethod($hm);
So far, so good. The problem is that the Java code expects one of the
members of the HashMap to be of type String[]:
// simplified java code to illustrate the problem
// hash is the passed-in HashMap<String, Object>
String[] stringArray;
stringArray = (String[])hash.get("baz");
This fails with a ClassCastException because when the HashMap was created,
the inner array became a HashMap, not an array, and the HashMap cannot be
cast to a String[]. I know if you pass an indexed php array as an argument
to a Java method that expects an array, it will be cast appropriately, but
in this case, the bridge does not have that information available to it, and
apparently defaults to a HashMap for the inner array.
Is there any way that I can make this work without digging into the Java
source? I've tried multiple methods of "tricking" the bridge into giving me
a Java String[], but it always outsmarts me and makes it a php array().
Michael.
|
|
From: <php...@li...> - 2007-08-14 18:04:29
|
Hi,
> I have a question, what is ABI-incompatible headers ?
basically the ABI and its declared API must match. Example: extern void cdecl GetCursor(); will
not work when the ABI expects a different calling convention.
The PHP library carries a tag which is checked when a module is loaded to avoid these problems.
Regards,
Jost Boekemeier
__________________________________
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-14 17:54:35
|
Hi,
> is it possible to get the FOP converted into php only code?
assuming that the fop library doesn't depend on external libraries and that it can be compiled
into native code (using gcc4), yes, this should be possible. -- Even if gcc is not able to compile
the jar file into a native fop.so library, it should still be able to interpret the jar file using
the byte code interpreter built into libgcj.
Which error message do you get?
Regards,
Jost Boekemeier
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail
|
|
From: <php...@li...> - 2007-08-14 16:22:12
|
Hi, is it possible to get the FOP converted into php only code? In a german magazine is described with >java -jar JavaBridge.jar --convert /usr/share/php5/pear fop.jar I tried it with 0.93 and 0.20 of fop but nothing worked and i always got an error. I want to use FO for generating PDF-files on a webserver without Java VM. Kind regards Mark Buss |
|
From: <php...@li...> - 2007-08-14 11:16:44
|
Now , I used C source 3.2.1 can run well with php5.2.3 and Zend = optimize, but C source 4.1.8 cannot. =20 I have a question, what is ABI-incompatible headers ? =20 I=E2=80=99m never heard it. =20 Thanks a lot. =20 =20 Regards, Keins Ruite . aBBISh =20 =20 =20 Hi, =20 > But I let the php-java-bridge add to existing php.ini the=20 > php-java-bridge runs failed, =20 this problem comes up once in a while. And support requests like these = where the reason why we don't recommend to use the C implementation[1]. = -- Compiling C code isn't for everyone; the gcc optimizer may be broken = (gcc 3.3.x), or users may confuse the php.ini used by apache with the = php.ini used by the PHP-cli, other users install ABI-incompatible = headers for a system PHP installation, compile against them and wonder = why the module doesn't load or crash. =20 Isn't it possible to use the pure PHP implementation instead? =20 =20 > it seems cannot load the java.so lib file and start apache httpd=20 > don???t dump any errors =20 Well, AFAIK there is no php 5.2.3 for Suse Linux available. So I guess = you have compiled PHP 5.2.3 yourself. Are you sure that you have = compiled against the 5.2.3 ABI? Or do you have compiled against the ABI = that came with your Suse Linux operating system? =20 Do you load the java.so from the php ini file used by apache? =20 =20 In any case, if you can't or don't know how to compile C code, please = use the pure PHP implementation instead. Or please open a problem = report, please use http://sourceforge.net/tracker/?group_id=3D117793 = <http://sourceforge.net/tracker/?group_id=3D117793&atid=3D679233> = &atid=3D679233. =20 =20 Regards, Jost Boekemeier =20 =20 =20 Jetzt Mails schnell in einem Vorschaufenster ?berfliegen. Dies und = viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail =20 =20 |
|
From: <php...@li...> - 2007-08-14 07:50:16
|
Hi,
> the php_java.dll (which I think is what Jost means by the C-based
> extension module ... is this correct?) or alternately the "pure PHP
The php_java.dll or java.so (Unix) is the Java.inc, compiled to native code, yes.
> PHP/Java Bridge classes" which I can't identify in code.
It will be created as java/Java.inc, if you run the test.sh or test.bat.
> correctly identified the C-based extension? Where do the pure PHP
> PHP/Java Bridge classes reside, and are they PHP classes or Java Classes?
Usually in the back end (in META-INF of JavaBridge.jar) or in the PHP include path.
[http front-end, j2ee back-end]
> That an attempt to access a Java session from a PHP script residing
> entirely in the Apache home directory (invisible to servlet) works quite
> well so long as the critical include directly references the servlet, e.g.
> 1. Neither the C nor pure PHP extensions are needed any longer on the
> Apache/PHP side?
If you want to allocate a session from the J2EE back end, you need to call java_session(). The
function is exported from Java.inc.
> I'm aware that the Java side is doing PHP work using its internal PHP
> interpreter
At the moment there is no Java-based PHP interpreter. *IF* we want to make use of
just in time compilation of PHP opcode, we *may* implement a translator. But there are
no immediate plans to write PHP in pure Java, yet.
> 3. I'm missing a basic understanding?
Well, the bridge is just an XML-based network protocol, which translates PHP/Java calls
into XML and then passes them to the back-end.
[running PHP as a FastCGI sub-process of the J2EE server]
> script that accesses a Java session, using the URI
> JavaBridge/myScript.php is very slow, e.g. 5seconds where JSP is about 1
On modern operating systems this shoudn't be much slower than JSP. However, there are
some older OS, which use Nagle's algorithm even for the local interface. This insane
setting can't be switched off in PHP, so we can't do anything to speed up round-trips
on this OS (BSD).
[running PHP within Apache]
> second, but that running the same PHP script directly in Apache, even
> though it still references a java session (but only for a single call I
In both cases it needs a round-trip through the back-end, so I don't know where
the delay comes from.
> improved efficiency of the PHP/Apache collaboration and threading ...
Not really. In most cases J2EE/FastCGI is as fast (or even faster) than Apache/PHP.
> does that make sense? Would adding the C or Pure PHP classes affect
> these kinds of performance issues?
No. -- Well, yes, if you don't have an PHP opcode cache. But this is true for any PHP code.
Regards,
Jost Boekemeier
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail
|