[Advanced-java] Districuted cashe on the server -- need ideas.

Leonard e_lenny at yahoo.com
Sun Apr 27 17:39:28 2003


Goal: Cache data on the server in a clustred
environment (using WebSphere v4.0)
Want to store the key to the data in the HttpSession
but the data itself on the server (relatively large
amounts of data). The app. server uses round-robin in
directing requests to 2 or more physical machines.

I envision having a session facade and entity bean
that holds the data. The reason I would think of
entity bean is because of the clustred environment,
and IBM recommends relying on EJB clustering rather
than putting large amount of data in a session. Am I
going in the right direction? I don't need to store
this data in the database. How can I use an entity
bean as just a memory/temporary cache without writing
anything to the database? Someone mentioned BMP, but
how can I implement that?

Any other alternatives to solve this problem? 

Thanks a lot!

-Leonard.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com