Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.2.6.ga
Spring:2.0.8
Name and version of the database you are using:SqlServer2005
Java version: 1.5
Tomcat version: 5.5.25
OS: Fedora 8
We have the following scenario:
- Web Application running on tomcat and using hibernate
- Web service running on another tomcat using hibernate
- Both have the same server/hibernate configurations and using Spring to instatiate their SessionFactory
WebApp make a call to WebService that returns a complex object that contains a reference to a SessionFactory(the one built on WebService context).
The questions are:
1- What about SessionFactory serialization ?
2- Is this a good pratice passing SessionFactory cross different context on different machines ?
3- Are there some perfromance pitfall (processor or network)