Hi all,. I got a code snippet of EJBHomeFactory.
One of the methods is public static EJBHome lookUpHome( String jndiName, Class homeClass ) throws NamingException { return EJBHomeFactory.getFactory().lookUp( jndiName, homeClass ); } this places of the burden of remembering the jndiname of the home class we need to use. How will I abstract this deeper so that the client needs to call only the following method instead of the above one. public static EJBHome lookUpHome( Class homeClass ) throws NamingException { return EJBHomeFactory.getFactory().lookUp( homeClass ); } I am using WS4.0 with IBM DB2 and VAJ4.0. * Ramesh Kesavanarayanan * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Anger results in delusion, delusion leads to loss in memory, memory loss leads to knowledge loss, If knowledge is lost you perish
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com