views:

32

answers:

0

Hello,

I have a small question, I'm trying to build and application that run's on Tomcat 6.0.28. My application is a JNLP that has a swing frame. The deployment works fine, was able to delopy the JNLP in Tomcat and to access it after that from a browser. The JFrame show's up when I execute the JAR. But the problem is that I have a MySql database and I need to access that database to retrieve data from it. I'm using Hibernate annotation as an ORM but the problem is that this doesn't work if I run the app from the browser. Only the JFrame shows up but no data is retrieved. So my question is how do I get this to work, I mean do I need to set up in Tomcat or in the JNLP a realm for the database or something like that?

Thanks!