Yes - OC4J (= Oracle Containers For Java) is an j2ee 1.3 compliant EJB application server. The EJB is running on OC4J and I want to open a connection to it from a servlet. The reason I want to use <ejb-ref> is to remove direct references to the url (ormi://localhost...) from servlet code. br. Christian
On Tuesday 12 November 2002 12:25, Jose Antonio Martinez wrote: > do you have an application server working together > with tomcat? i think tomcat cant serve ejb itself > > --- Christian Surlykke <[EMAIL PROTECTED]> escribió: > > Hi > > > I'm trying to call an EJB running on OC4J from a > > servlet. I want to use a ejb-ref element in web.xml > > like: > > > > <ejb-ref> > > <ejb-ref-name>ejb/MyEJB</ejb-ref-name> > > <ejb-ref-type>Session</ejb-ref-type> > > <home>test.MyEJBHome</home> > > <remote>test.MyEJB</remote> > > <ejb-link>ormi://localhost:23791/ejb/MyEJB</ejb-link> > > > </ejb-ref> > > > > How do I configure Tomcat to use an > > URLContextFactory of my own making to handle the > > 'ormi:' schema ? > > > > (I vaguely suspect that it has something to do with > > <resource-ref> elements, but that seems to only > > apply to stuff bound beneath the java: schema..) > > > > Any hints would be appreciated > > > > best regards Christian Surlykke > > > > -- > > To unsubscribe, e-mail: > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > > For additional commands, e-mail: > > <mailto:tomcat-user-help@;jakarta.apache.org> > > _______________________________________________________________ > Yahoo! Messenger > Nueva versión: Webcam, voz, y mucho más ¡Gratis! > Descárgalo ya desde http://messenger.yahoo.es > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional > commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>