JBoss Community

Configure JBoss6 AS jax-ws Webservice with Hibernate

created by wrongt in Datasource Configuration - View the full discussion

Hi , I try to create a jax-ws webserver linked to this resourcehttp://www.packtpub.com/article/developing-applications-with-jboss-and-hibernate-1

in JBoss Develop studio I create   a hibernate application and a jax-ws  web server and deployed them to EAR archive on JBoss 6 AS. Now , when I call WebServer operation who made a hibernate HQL query, each time  are mapped  collections to a tables, and response time took around 200ms.

The structure of the projects from the Package Explorer is as shown in the following snapshot: adf

https://community.jboss.org/servlet/JiveServlet/downloadImage/2-748625-19038/243-600/%D0%91%D0%B5%D0%B7+%D0%B8%D0%BC%D0%B5%D0%BD%D0%B8.png

 

Can anybody point me to right documentation source which instruct how I must proper configure database source and hibernate in webservice on JBoss6 AS.

And suggest a ways how to initialize Hibernate app as a JBOSS service and reduce considerable response time.

Thanks in advance.


Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community