Hi, There is no additional JNDI name binding in JRun 3.x EJB Container. You have to use <ejb-name> as your EJB lookup JNDI name. JRun4 provides JRun specific deployment descriptor(jrun-ejb-jar.xml), but JRun 3.x EJB container doesn't have additional deployment descriptor to map another JNDI name for a EJB.
Thanks. Woojin Choi Macromedia JRun Support -----Original Message----- From: Sanjeevi Athreya [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 7:08 AM To: JRun-Talk Subject: JNDI Lookup Name Hi I am new to JRUN EJB Deployment. we specify a name in the ejb-jar.xml <display-name>DemolitionBeanName</display-name> <ejb-name>Demolition</ejb-name> <home>DemolitionHome</home> <remote>Demolition</remote> <ejb-class>DemolitionBean</ejb-class> while accessing this bean through a JSP page we write Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "allaire.ejipt.ContextFactory"); properties.setProperty(Context.PROVIDER_URL, "ejipt://localhost:2323"); InitialContext context = new InitialContext(properties); DemolitionHome home = (DemolitionHome)context.lookup("Demolition"); is the name specified in the Lookup same as the one soecified in the ejb-jar.xml <ejb-name>Demolition</ejb-name> or is there another place where we need to map the EJB Name and the JNDI lookup name Thanks in advance ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
