"Padmanabhan.K" wrote: > > I require to cache some client specific data in the > application to avoid frequent database hits. Can I use > stateful session beans for caching purposes, Yes. > ruling > out the choice of Entity beans assuming it is more > intuitive only for caching any client independent data > in Entity Beans. Am I right here? Also, I am aware > that Stateful Beans are generally used for holding > client conversational states and clearly my case is > not that. Also would like to discuss any better > alternatives for my problem. A SFSB is probably quite appropriate for your application. It is a very common design pattern that early in the life of a SFSB data is retrieved from a database, during its life the data is updated, and at the end of its life the data is written back to the database (or not, depending on the outcome of the client session). Ian McCallion Alexis Systems Limited Romsey, UK =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
