Store ref to java object in session or not?
Hi,
In my app I have a java back end layer. It has a java Delegate with a number of methods that I access frequentlly through out my coldfusion components. I was thinking of creating this java object once and storing it in session so I could reuse it.
I'm just wondering if the trade off on having to use cflock around every call to it is worth storing it in session or would I be better off just creating a nw instance of the java object every time I need it?
Thanks in advance
![]()
