Hello. I have a stateless session facade wrapping an entity bean. What I want to do is query the database in the session facade to obtain the entity's primary key (using a couple of other fields on the current UI as search criteria). Since all the CMP connectivity junk is already configured in web.xml, I was wondering if the session bean could leverage that info? All I can find so far are entity beans using CMP. I know there is no persistence on a session bean, so CMP wouldn't really make sense on the surface, but it doesn't feel right to be coding
jdbc into the session facade either. Nor does it not sit well to create another entity for a simple query. Welp, Thank you very much for reading this...I'm going to keep researching.
[ March 18, 2005: Message edited by: Tom Griffith ]