----- Original Message -----
From: "Christian Bauer" <[EMAIL PROTECTED]>
To: "dosapati" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 9:13 PM
Subject: Re: [Hibernate] clustering single class or component


> On 17 Sep (21:11), dosapati wrote:
>
> > My application has 10 components. I want to create cluster of the
instances
> > for scalability.
> > But I want to cluster one component(single class or related classes) not
the
> > whole application.
> > Can I do it with Hibernate? Is transaction taken care by Hibernate when
> > clustered?
>
> You want to cluster components of a single class to multiple databases?
> Are you sure?
>
> --
> Christian Bauer
> [EMAIL PROTECTED]

No,
I want to cluster components of a single class to single database.

Let me explain with example:
I have a class 'Employee'. And the instances of this class are clustered on
multiple servers.
If I have an instance for an employee called 'John.Smith' in the system, and
When I cluster 'Employee'
objects on multiple servers, There will be an instance for 'John.Smith' on
every server. And the
database for the employee table is 'MyDataSource'. If there is any change in
'John.Smith' object on any clustered
server, it should update the data in 'MyDataSource' database and should
immediately update
the state in other servers also.

How this can be done with Hibernate?

-
dosapati



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to