From: <php...@li...> - 2006-10-13 17:49:18
|
Thanks for your reply. I now have successfully called an EJB3 Stateless Session Bean using this fantastic bridge in Jboss 4.0.4.GA (ejb3 install). I am however, having a little problem with logging - as soon as my EAR with a modified WAR (i removed all the files not necessary for my deployment) is deployed my console locks up. I have managed to connect to the log4j output using Chainsaw so I know things are still working. Has anyone else had similar problems? Found any solutions - I think it's probably a property I haven't passed over when starting Jboss for a port or something... Paul php...@li... wrote: 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users --------------------------------- All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine |