Tomcat and openEJB - how to do this simple config?

2009-01-21 Thread jpmad4it
Hi, I am trying to setup a JNDI database connection through an EJB in Tomcat. First of all, is this possible? If it is, I would then like to call this database connection created in the EJB from PHP. However, this post's questions relate to EJB and Tomcat, not PHP. I found that I need openEJB to

Re: Tomcat and openEJB - how to do this simple config?

2009-01-22 Thread jpmad4it
Wow! Thanks David! At last a clear explanation that allowed me to get it working! I deployed the war file that was included in the zip, and its all fine. The only thing I needed to do was to setup the mod_proxy in Apache. So instead of using http://localhost:8080/Calculator I can use http://local

Re: Tomcat and openEJB - how to do this simple config?

2009-01-23 Thread jpmad4it
Man, you are a LEGEND!. Thank you so much for this. I can't tell you how much this is appreciated. :jumping: I think it would be best if I took it step by step to tackle this database conncetion problem. I would defo do a blog post once I get this sorted out and I fully understand it! I think it

Re: Tomcat and openEJB - how to do this simple config?

2009-01-28 Thread jpmad4it
> Sorry for the delay -- we're a bit backed up at the moment :) No problem! > I see. This is a very different approach to accessing the bean than > via SOAP as shown in the other article. With SOAP you have 100% > native client. This technique uses java on the client which as a > resul

Re: Tomcat and openEJB - how to do this simple config?

2009-02-05 Thread jpmad4it
Can anyone help, I'm still struggling with this?? EDIT: I think I managed to call the Calculator web service through PHP. I used the script soap.php: http://ww3.mysite.com/Calculator?wsdl";); var_dump($client->__getTypes()); ?> When I access soap.php in the browser I get: array(4) { [0]=> st

Re: Tomcat and openEJB - how to do this simple config?

2009-02-13 Thread jpmad4it
trying to get EJB to handle the JDBC connection to IDMS..but I've learnt that I was going down the wrong route now. Kind regards Jonathan David Blevins wrote: > > > On Feb 5, 2009, at 8:38 AM, jpmad4it wrote: > >> Can anyone help, I'm still struggling with this

Re: Tomcat and openEJB - how to do this simple config?

2009-02-19 Thread jpmad4it
ndled using the bridge. Sweet! David Blevins wrote: > > > On Feb 13, 2009, at 12:12 AM, jpmad4it wrote: > >> I have had a chance to look into the EJB issue a lot more, and I think >> you're right in saying that maybe its not the best solution. >> >> B