[jboss-user] [Datasource Configuration] - Configure JBoss6 AS jax-ws Webservice with Hibernate

wrongt do-not-reply at jboss.com
Wed Jul 18 02:03:27 EDT 2012

wrongt [https://community.jboss.org/people/wrongt] created the discussion

"Configure JBoss6 AS  jax-ws Webservice with Hibernate"

To view the discussion, visit: https://community.jboss.org/message/748625#748625

Hi , I try to create a jax-ws webserver linked to this resource (http://www.packtpub.com/article/developing-applications-with-jboss-and-hibernate-1)http://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  (https://community.jboss.org/servlet/JiveServlet/showImage/2-748625-19038/%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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120718/f1815722/attachment.html 

More information about the jboss-user mailing list