Hi everybody, this is the first time I do a question and I ask this as I'm projecting my own architecture. What I've in mind is to do an integration between Stateful/Stateless EJB3 Session Beans + Hibernate, but considering scalability as an important issue. Thus, my thought is to concentrate the Hibernate ORM layer at some host and, considering a growing workload, to scale onto a load balancing approach.
As I understand, this approach is transparently managed with EJB 3 Entity Beans through JNDI lookup based on clustering capabilities within Glassfish, but, question here is I desire to take advantage onto the Hibernate capabilities that I consider can benefit my project.
So, what I want to know is:
a) What I have to care when writing my code for to get Hibernate remote calls, and if so, for to get Hibernate load balancing?
b) May it be possible to embed any Hibernate clustered application withing Glassfish, or is it mandatory to migrate specifically the Hibernate ORM layer into JBoss for to get specific Hibernate load-balancing support?
c) If b) is that JBoss is mandatory for Hibernate load-balancing, Did I have to deal with any specific configuration/bridge between Glassfish (EJB3 Stateful/Stateless layer) and JBoss (Hibernate)?, else, May it be solved within a JNDI clustering strategy?
I'm not expert in this approach so I can have faults in my appreciation, because that, I ask you for to get a better comprehension.
Thanks so much in advance.
|