-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate, JBoss and MDB and Sessions
PostPosted: Wed Jul 28, 2004 4:39 am 
Newbie

Joined: Wed Oct 01, 2003 8:56 am
Posts: 6
Hi All

I am busy developing an application that will be used to interact with a mobile phone. I need to keep track of the state of each interaction with the phone, determining what the response to the mobile phone will be depending on the state of the interaction.

I am thinking of using MDB and Hibernate. I would also be using JBoss clustering running on 2 seperate machines.

What I would like to know, and would appreciate any help with is as follows:


The issue I am having with using MDB is with the session life cycle and wanting to use hibernate caching. How do I do it, and how does the clustering effect my solution? Also I would need to access the cache across the MDB container.

I can see from http://www.hibernate.org/168.html that I could either detached objects or disconnect the JDBC connection and then reconnect when needed. If I use option 2, when I reconnect would I be using connection pooling, as specfied by jboss.

Any pointers would be appreciated.

Thanks in advance
Jeff Singer


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.