views:

26

answers:

0

What's the difference between building a stand-alone application based on Hibernate and a web service (JBoss) based on Hibernate? I'm refering at the creation of the SessionFactory, Configuration and Sessions. What special concerns should I take care when building a web service with Hibernate persistence?

I would really appreciate a basic example on how to build a web service under JBoss and using Hibernate.

Thanks!