|
From: <php...@li...> - 2006-10-13 17:11:51
|
Hi,
just a quick reply, I haven't read your messages yet;
> files, I just needed to remove the line:
>
> require_once("java/Java.php");
>
> from the top of the sample pages...
We should probably encapsulate them, for example with
if(!extension_loaded('java'))
require_once("java/Java.php");
> I am, however, getting a
> javax.naming.NameNotFoundException when I try the
> document example.
It should work; I have tested the sample against the
current jboss release. There's a FAQ entry for it.
> BTW - Has anybody had any success with using this
> bridge with Spring beans (in Java) if so, how do I
> go about accessing these? Code example will be
> great.
Please see the JSF examples for more information how
to use IOC (Fowler calls it "dependency injection").
I think Spring directly supports JSF beans, so that
should be pretty easy.
Regards,
Jost Boekemeier
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
|