Java EE Application Client + Hibernate.
Good afternoon everybody,
I'm in a bit of trouble here. I need to develop a Java EE 6 Enterprise Application consisting of only one Enterprise Application Client. My problem is that the Application Client needs Hibernate to have access to some information on a local database. I noticed that if I import the Hibernate libraries, the application client won't deploy on my application server (I'm using Glassfish V3, btw). But if I remove the Hibernate libraries (and comment the lines of code that try to access the database), my application deploys perfectly fine.
So my question is: can you use Hibernate with an Enterprise Application Cliente to access a database (as if it were a plain Java SE app)??? Or is the use of Hibernate limited only to Java EE Web Applications?
Thank you in advance.
PS: I do not want to develop a Enterprise Web Application, like I said, I need an Enterprise Application Client to be able to use Hibernate.