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
(4) |
2
|
3
(1) |
|
4
(4) |
5
(3) |
6
|
7
(2) |
8
|
9
(3) |
10
(1) |
|
11
|
12
(5) |
13
(5) |
14
(1) |
15
|
16
|
17
|
|
18
|
19
|
20
|
21
|
22
(4) |
23
(6) |
24
|
|
25
|
26
|
27
(1) |
28
(1) |
29
(4) |
30
(3) |
|
|
From: <php...@li...> - 2010-04-12 16:10:24
|
Hi, > Let me tell you that I resolved the problem Great. > using directly > JAVA because I don´t know why Javabridge can not read the JAR file. The JavaBridge doesn't read or load anything. If your jar file can be accessed by Java, it can be accessed by PHP as well. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-04-12 15:25:50
|
Hi Jost.
Let me tell you that I resolved the problem creating a WS using directly
JAVA because I don´t know why Javabridge can not read the JAR file.
A JAVA programmer help me with this problem.
Thank very much for all your answers and your time.
Regards.
Date: Fri, 9 Apr 2010 18:04:48 +0200
From: php...@li...
Subject: Re: [Php-java-bridge-users] USING JAR
To: php...@li...
Message-ID:
<s2o...@ma...>
Content-Type: text/plain; charset=UTF-8
Hi,
> Following your instructions this is the result of
> IS:
> [[o:Exception]:"java.lang.Exception: CreateInstance failed: new prepago.
> Cause: java.lang.ClassNotFoundException: prepago
please see our FAQ entry "Why do I get a ClassNotFoundException?" at:
<http://php-java-bridge.sourceforge.net/pjb/FAQ.html>
http://php-java-bridge.sourceforge.net/pjb/FAQ.html
Documentation about Java jar files can be found at
<http://en.wikipedia.org/wiki/JAR_%28file_format%29>
http://en.wikipedia.org/wiki/JAR_%28file_format%29
Regards,
Jost B?kemeier
De: Berlington Barnett [mailto:bba...@gm...]
Enviado el: domingo, 04 de abril de 2010 9:54
Para: 'php...@li...'
Asunto: RE: USING JAR
Hi Jost.
Following your instructions this is the result:
[[o:Exception]:"java.lang.Exception: CreateInstance failed: new prepago.
Cause: java.lang.ClassNotFoundException: prepago VM:
1.6.0_18@http://java.sun.com/" at: #-10
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1516) #-9
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1361) #-8 java.lang.Class.forName0(Native Method) #-7
java.lang.Class.forName(Unknown Source) #-6
php.java.bridge.Util.classForName(Util.java:1536) #-5
php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:391) #-4
php.java.bridge.Request.handleRequest(Request.java:453) #-3
php.java.bridge.Request.handleRequests(Request.java:491) #-2
php.java.bridge.http.ContextRunner.run(ContextRunner.java:140) #-1
php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 C:\Apache
Software Foundation\Tomcat 6.0\webapps\JavaBridge\java\Java.inc(223):
java_ThrowExceptionProxyFactory->getProxy(1, NULL, 'T', false) #1 C:\Apache
Software Foundation\Tomcat 6.0\webapps\JavaBridge\java\Java.inc(349):
java_Arg->getResult(false) #2 C:\Apache Software Foundation\Tomcat
6.0\webapps\JavaBridge\java\Java.inc(352):
java_Client->getWrappedResult(false) #3 C:\Apache Software Foundation\Tomcat
6.0\webapps\JavaBridge\java\Java.inc(522): java_Client->getInternalResult()
#4 C:\Apache Software Foundation\Tomcat
6.0\webapps\JavaBridge\java\Java.inc(1881):
java_Client->createObject('prepago', Array) #5 C:\Apache Software
Foundation\Tomcat 6.0\webapps\JavaBridge\prepagoice.php(24):
Java->Java('prepago') #6 {main}]
If you need the jar file, please give an email to send it you.
Thank you very much for all you help
Regards J
Hi,
> PHP Fatal error: Uncaught [...]
I was asking for the result of this code:
try {
$prepago = new java("prepago");
} catch (Exception $e) {
echo $e;
}
Anyway, the error message contains enough information this time.
> [[o:Exception]:"java.lang.Exception: CreateInstance failed: new
prepago. Cause: java.lang.ClassNotFoundException: prepago VM:
1.6.0_18@ href="http://java.sun.com/" target="_new">http://java.sun.com/"
[...]
Please see our FAQ entry "Why do I get a ClassNotFoundException?".
> The problem with the jar file is that I dont know how to open it,
You can open java archives with "winzip" on Windows. On Linux or Solaris
you can right-click on the jar and select "Open with ArchiveManager ..."
If you mean that you don't know how to use it, well, please see the API
documentation which you should have received with the library.
Assuming your class name is "foo.bar.baz.Prepago" and it contains a
public method called "something", you can call the method with:
$p = new java("foo.bar.baz.Prepago");
$p->something();
But I am sure you already know this, if you have read the PHP/Java Bridge
API documentation.
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2010-04-12 15:21:33
|
Hi,
> I think it should be easier to add PHP extensions to the PHP.
>
> In PHP/Java Bridge 5.1.2 you can add your libraries to
>
> WEB-INF/cgi/<os>-<architecture>/ext
>
> and your custom .ini files to
>
> WEB-INF/cgi/<os>-<architecture>/conf.d
>
> PHP libraries go to
>
> WEB-INF/pear
this has been implemented in PHP/Java Bridge version 6.1.2. Please
check the output from phpinfo() for details.
>From the NEWS file:
Version 6.1.2
* The "servlet engine" built into JavaBridge.jar now handles PHP/Java
Bridge protocol requests as efficient as a real servlet engine back
end;
java -jar JavaBridge.jar SERVLET_LOCAL:8080
now uses HTTP/1.1 Transfer-Encoding: chunked. Example:
telnet localhost 8080
PUT /JavaBridge/servlet.phpjavabridge HTTP/1.1
Host: localhost:8080
Transfer-Encoding: chunked
22
<H p="1" v="java.lang.String"></H>
b
<F p="E" />
0
* It is now easy to use the bridge back-end in an existing
servlet. Example code:
public class MyServlet extends HttpServlet {
...
public String hello() { return "hello from MyServlet"; }
...
protected void doPut (HttpServletRequest req, HttpServletResponse
res) throws ServletException, IOException {
IContextFactory ctx = new RemoteHttpServletContextFactory(this,
getServletContext(), req, req, res);
res.setHeader("X_JAVABRIDGE_CONTEXT", ctx.getId());
res.setHeader("Pragma", "no-cache");
res.setHeader("Cache-Control", "no-cache");
try { ctx.getBridge().handleRequests(req.getInputStream(),
res.getOutputStream()); } finally { ctx.destroy(); }
}
}
If MyServlet listens on localhost:8080/MyWebApp/MyServlet, PHP
scripts can call it:
<?php
define("JAVA_HOSTS", "localhost:8080");
define("JAVA_SERVLET", "/MyWebApp/MyServlet");
require_once("java/Java.inc");
echo java_context()->getServlet()->hello();
?>
=> http://downloads.sourceforge.net/project/php-java-bridge/Binary%20package/php-java-bridge_6.1.2-testing/php-java-bridge_6.1.2_documentation.zip?use_mirror=freefr
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2010-04-12 15:12:39
|
Hi,
you can use the JSR 223 API to invoke the PHP web container methods from Java.
>From a Java desktop application (JavaBridge.jar and php-script.jar in
the classpath) you can use:
ScriptEngineManager m = new ScriptEngineManager();
ScriptEngine e = m.getEngineByName("php-invocable");
e.eval(new URLReader(new URL("http://localhost:80/JavaProxy.php"));
System.out.println(((Invocable)e).invoke("java_get_server_name", new
Object[]{}));
...
((Closeable)e).close();
>From a Java web application (JavaBridge.jar and php-script.jar in the
WEB-INF/lib, ContextLoaderListener declaration in the WEB-INF/web.xml)
you can use:
ScriptEngine e = EngineFactory.getInvocablePhpScriptEngine(this,
application, request, response, new
URI("http://127.0.0.1:80/JavaBridge/java/JavaProxy.php"));
((Invocable)e).invokeFunction("phpinfo", new Object[]{});
...
((Closeable)e).close();
Please see the Java API documentation at
http://php-java-bridge.sourceforge.net/pjb/server/documentation/API/index.html
and the PHP method
java_call_with_current_continuation ()
for details: http://php-java-bridge.sourceforge.net/pjb/docs/php-api/index.html
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2010-04-12 14:51:20
|
Hello everyone, I would like to help with a project I'm implementing at the college where I need to integrate java and php. The system consists of a form that is the php backend and java would be the frontend. Is it possible? Well after spending hours reading and rereading the information the site could not positively identified a clear way to do it. Ps.: Excuse the bad language translated. Thankfully, Olga _________________________________________________________________ O Internet Explorer 8 te dá dicas de como navegar mais seguro. Clique para ler todas. http://www.microsoft.com/brasil/windows/internet-explorer/?WT.mc_id=1500 |