Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Travis Zimmerman:
Thanks for the quick response, I didn't expect there to be one so quickly. it is a holiday! What are you doing paying attention to these forums?
I was not planning to use the CMR capabilities, it seemed like something a little too complicated to get into on my first go at this. What performance enhancements do they provide? Maybe I should read more into them to find this out for myself.
I read your article on the session facade, it was great by the way. The question I came across was in the factory. If you can not guarantee a singleton, how are you able to cache home references in the object? I was thinking about doing something similar, but more generic in that given the jndi name it would return the base EJBHome interface, that would then be cast to the appropriate type. The reason for this is that the session bean will interact with several entity beans. Instead of setting the value object in the factory, I was going to pass each local interface, in turn, to the value object to set it's state. But, the again I will be passing the value object back to the web tier, so maybe that isn't such a great idea.
Thanks again for the help,
Z
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
My son is playing in his playroom and my wife is asleep. The cinnamon rolls I just made are in the oven and I've already checked my email and read the morning paper, so what else am I supposed to do?