aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes caching in ejb's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "caching in ejb Watch "caching in ejb New topic
Author

caching in ejb's

rekha Ssharma
Greenhorn

Joined: Jul 03, 2012
Posts: 6
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

Joined: Sep 07, 2011
Posts: 36
"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.


SCEA/OCMJEA certified
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: caching in ejb's