Hello to all,
Here is our problem. We are debating whether to use Entity Beans for persistence. We are using Websphere 4.0 and EJB 1.1.
Now the problem is that we have 2 completly different clusters of App. Servers with the same application running on them. The clusters don't have any knowledge of each other. Now if we were to use CMP would that cause any data incosistencies ? or is there any other problems that could arise due to the use of Entity Beans with our current deployment structure ? Thank you.
-
Entity Beans within different clusters. Problem ?? (3 messages)
- Posted by: Max Arul
- Posted on: July 10 2003 15:28 EDT
Threaded Messages (3)
- Entity Beans within different clusters. Problem ?? by Paul Strack on July 10 2003 15:59 EDT
- Entity Beans within different clusters. Problem ?? by Max Arul on July 10 2003 16:08 EDT
- Entity Beans within different clusters. Problem ?? by Rob Misek on July 10 2003 05:53 EDT
- Entity Beans within different clusters. Problem ?? by Max Arul on July 10 2003 16:08 EDT
-
Entity Beans within different clusters. Problem ??[ Go to top ]
- Posted by: Paul Strack
- Posted on: July 10 2003 15:59 EDT
- in response to Max Arul
Do you mean two different application cluster that both talk to the same database? Entity beans won't cause you any particular difficulties, here. The EJB server is responsible for synchronizing entity data with the database, and therefore the data will be the same in both applications.
Of course, you will have some limitations on your data caching options, but those will be a problem no matter what persistence technology you use. -
Entity Beans within different clusters. Problem ??[ Go to top ]
- Posted by: Max Arul
- Posted on: July 10 2003 16:08 EDT
- in response to Paul Strack
Do you mean two different application cluster that both talk to the same database? Entity beans won't cause you any particular difficulties, here. The EJB server is responsible for synchronizing entity data with the database, and therefore the data will be the same in both applications.
>
> Of course, you will have some limitations on your data caching options, but those will be a problem no matter what persistence technology you use.
Yes do different clusters(unaware of each other) but the same application is deployed and used on both the clusters. The Entity Beans will be using the same database ?
I understand we can't use any caching but is there any other problems that could occur. If we were to use CMP we can't dictate when the data gets stored would this cause any inavlid data in the database ? would BMP work ?
And what Isolation levels on the transactions should be used (Read_Commited, etc)...Thanks -
Entity Beans within different clusters. Problem ??[ Go to top ]
- Posted by: Rob Misek
- Posted on: July 10 2003 17:53 EDT
- in response to Max Arul
Hi Max,
Even with your current environment (i.e. two separate clusters running the same application) you _can_ cache data. Using Coherence's clustered caching you can cache data across the two clusters as well as keep it in synch with the DB. Coherence supports Transactional Caching (through a J2CA Adapter) allowing the developer to access the cache within a transactional context.
Later,
Rob Misek
Tangosol, Inc.
Coherence: Cluster your Work. Work your Cluster.
Coherence Forums.