• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Same Hibernate session, among RMI calls.?

 
Rajneesh K Rajput
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this possible to use same hibernate session over multiple RMI calls?

In my application, these RMI calls obviously involves various method invokes, using load balancer, over different servers, but all of these calls actually being used for originally in a single thread. RMI is configured using Spring.

Is there any configuration, which can help to use single hibernate session throughout all RMI calls, to avoid using separate db connections unnessarily.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic