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) |
2
(5) |
3
(1) |
4
|
5
|
|
6
|
7
|
8
|
9
|
10
(6) |
11
(5) |
12
|
|
13
(1) |
14
(5) |
15
(2) |
16
(4) |
17
(3) |
18
(2) |
19
(2) |
|
20
|
21
(6) |
22
(9) |
23
(6) |
24
(6) |
25
(6) |
26
(5) |
|
27
(2) |
28
(2) |
29
(3) |
30
(1) |
|
|
|
|
From: <php...@li...> - 2010-06-21 18:17:32
|
Hi! Have any open thread about use of Joomla in php/java bridge at Tomcat? I have problems, the request not end, and I make ajust for show on log and all is ok, with code, but strings on command "echo JResponse::toString()" not show nothing in instaltion/index.php Thanks. Carlos Delfino |
|
From: <php...@li...> - 2010-06-21 17:58:53
|
Hi! My Name is Carlos Delfino, and I word with Java and PHP. My experience with java is 8 years old, and with PHP more over 12 years. For now I working with a integration with php and java, and find php/java bridge a greate project. Thanks to developers and sponsors for this work. I think in develop a system with java and use joomla like a front end, for integrate the goods functions from cms with my application in java. I have a street store for IT services, and consulting. thanks. Carlos Delfino. |
|
From: <php...@li...> - 2010-06-21 13:22:06
|
Thanks for your help - lots of details and yet I'm still baffled :-(
The examples on the JavaBridge site don't seem to cover (what I thought to be) the simple case of a servlet accessing/executing a PHP script. To clarify:
Within my Java servlet, if I want to call a PHP script test.php (say in the same directory as the servlet or at the very least on the same box as the servlet) then I first need to acquire a PHP engine. Assuming I have JavaBridge also deployed to the same servlet container as my servlet then this
ScriptEngine scriptEngine = EngineFactory.getInvocablePhpScriptEngine( this, getServletContext(), httpServletRequest, httpServletResponse, new URI( "http://127.0.0.1:8080/JavaBridge/java/JavaProxy.php" ) );
should give me the script engine? Or is this actually pointing to JavaProxy.php as my script that will be executed?
How then do I use a FileReader to point to my test.php and then call a function (say f) within test.php?
Thanks again,
Bernard.
_________________________________________________________________
New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au
http://clk.atdmt.com/NMN/go/206222968/direct/01/
|
|
From: <php...@li...> - 2010-06-21 08:16:15
|
> From the examples, to reference the PHP script I should use something like:ScriptEngine > scriptEngine = new ScriptEngineManager().getEngineByName( "php-invocable" ); Not exactly. For a servlet environment it is: php.java.script.servlet.EngineFactory.getInvocablePhpScriptEngine() The difference is that the ScriptEngineManager has no information about the servlet environment, so you cannot use the servlet context from a script allocated from the ScriptEngineManager. The JSR 223 script spec isn't very well designed. Implementations have to use their own workarounds. To quote Per Bothner: "Embarrassingly, I was a not-very-active member of the JSR-223 expert group. It would have been better if we could have thought a little more about scripting staticly-typed languages, but we didn't have time", see http://per.bothner.com/blog/2009/JavaFX-scripting-changes/ > scriptEngine.eval( new URLReader( "http://localhost/test.php" ); > This does not make sense to me I wasn't part of the JSR 223 expert group, so I don't know why they require you to pass a specific Reader, instead of a file or URL/URI. The URLReader is an adapter, it packages up the URI location so that it can be passed through the JSR 223 API. > as my PHP script is not browseable The java_call_with_continuation() makes it invocable from the remote continuation. It calls java_context()->call(this), so that Java can call that.cont.call(this.cont). If you open a local script via: reader = new java.io.FileReader(FILE); eng.eval(reader); the implementation hides the above "magic". > I'd prefer not to access my script via a new request to Tomcat It doesn't open a URLConnection back to tomcat. PHP uses a persistent connection to a ContextRunner: Client requests JSP. JSP creates ScriptEngine. ScriptEngine opens URLConnection to Apache/PHP. PHP script calls java method java_context() which invokes the bridge machinery in the back end (a java thread is spawned) and ->call() transfers the control from the PHP- to the current Java continuation, which may call procedures from the PHP continuation or transfer control back. I fail to understand your difficulties. If you mean the FileReader utility from EngineFactory; it is there to allow you to create a "one shot" reader for a given reader without having to look at the file system. The PHP file is created with the .class file during JSP compilation, so that PHP can take advantage of its internal cache/compilation mechanism (PHP compiles to opcode and caches it). > If I try to pass in a URL as a file rather than http Why don't you simply use a FileReader? Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-06-21 07:15:15
|
Hi, I have a Java servlet (myServlet) running on Tomcat (downloaded from Apache). I also have a PHP script (test.php) sitting in the same directory as the servlet. I want to call functions in the PHP script from the Java servlet. I have deployed the JavaBridge.war file, can hit and run the examples, so I'm guessing nothing is broken in so far as JavaBridge and Tomcat are concerned. >From the examples, to reference the PHP script I should use something like: ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName( "php-invocable" ); scriptEngine.eval( new URLReader( "http://localhost/test.php" ); This does not make sense to me as my PHP script is not browseable (I only have Tomcat running on port 8080). I'd prefer not to access my script via a new request to Tomcat. Isn't it possible to access the script directly via the filesystem? If I try to pass in a URL as a file rather than http, I get a class cast exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection Thanks, Bernard. _________________________________________________________________ New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au http://clk.atdmt.com/NMN/go/206222968/direct/01/ |