• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

caching in ejb's

 
rekha Ssharma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello ranchers,
I,m using proxy pattern to integrate the business tier with the external EIS.
I,m thinking to use SLSB as proxy and its business interface as subject and real subject is Eis. Eis is accessed through web services
The SLSB will have all the code which is needed to connect and send messages to the EIS.
I think the work of Remote proxy is fine.

For caching the SLSB is stateless i cannot cache data in its states. SFSB can hold states but they are for one client.

I want to know about application level caching of data so that once the static data come into system it is cached and every user will use it.

Thanks,
 
shekar hari
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"I want to know about application level caching of data so that once the static data come into system it is cached and every user will use it. "
I think you can use EJB 3.1 singleton beans or use singleton pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic