SV: Newbie Q: Can't find bean?

2000-11-13 Thread Klaus . Myrseth
Ahh i forgot something very important for your web application using the session/entity bean in question (web.xml)... You have to define ejb-refs for the beans you want to use, or you will not find the bean from the JSP... Here is an example of an ejb-ref you can put in the bottom of your file..

SV: Newbie Q: Can't find bean?

2000-11-13 Thread Klaus . Myrseth
Here is an example of a bean lookup method: private SomeEntityHome getSomeEntityHome()throws NamingException { Context context = new InitialContext(); SomeEntityHome home = (SomeEntityHome)PortableRemoteObject.narrow( context.lookup("java:comp/env/ejb/SomeEntity"), SomeEntityHome.c

SV: Newbie Q: Can't find bean?

2000-11-13 Thread Klaus . Myrseth
You allso have the ejb tag library. It should be on the orion site somewhere. then i think you can use ejb:useBean This one is used for JNDI lookups and so on. Good luck! Klaus -Opprinnelig melding- Fra: Sean P. McNamara [mailto:[EMAIL PROTECTED]] Sendt: 11. november 2000 18:00 Til: