I was wondering if anyone out there could comment on my usage of PersistenceBroker in an EJB. I currently create a single instance during ejbCreate and keep it for the duration of the bean's lifecycle. This seems like the most efficient way. Is there a danger to using this approach when transactions and distributed caches are involved? Any other potential pitfalls?
Just want to make sure I'm not asking for trouble down the road. Thanks, Michael