[jboss-user] [EJB/JBoss] - How to share a blob object in session beans
john_woo@canada.com
do-not-reply at jboss.com
Sun Sep 2 09:34:46 EDT 2007
Hi,
I'm wondering how to make a blob object (3-10M) shared in some session beans.
The requirement is that, that object should be created only once, at the first request (retrieve from somewhere, expensive in terms of connectivity).
Thus one thing come in mind is to declare it as static, but this doesn't sound right.
So, question will be:
1. what is the way to hold this object?
2. how to prevent multi access but not slow down respond?
Thanks
John
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080296#4080296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080296
More information about the jboss-user
mailing list