RE: Look up a EJB from a JSP?

2000-05-23 Thread Tung Bui
admin java.naming.security.credentials admin Tung -Original Message- From: Tung Bui [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 11:47 AM To: Orion-Interest Subject: RE: Look up a EJB from a JSP? Some one mentions about puttin

RE: Look up a EJB from a JSP?

2000-05-23 Thread Tung Bui
Some one mentions about putting these infos into the web.xml configuration file. I like the idea so I'm going to try it out. :) Tung -Original Message- From: Eric Richardson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 7:45 AM To: Orion-Interest Subject: Re: Look up a EJB

Re: Look up a EJB from a JSP?

2000-05-23 Thread Eric Richardson
Hi, The first two properties should be able to be put in a properties file such as jndi.properties usually on the classpath(maybe in the jre/lib directory). This can be read by the system by the "InputStream Classloader.getResouceAsStream()" method. Orion should allow for setting this for the syst

RE: Look up a EJB from a JSP?

2000-05-23 Thread Kalvar, Kirk
m: Rick Horowitz [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 22, 2000 21:04 > To: Orion-Interest > Cc: Orion-Interest > Subject: Re: Look up a EJB from a JSP? > > I am also trying to work out an overall architecture using JSP and EJB. > Although I cannot answer yo

Re: Look up a EJB from a JSP?

2000-05-22 Thread Rick Horowitz
I am also trying to work out an overall architecture using JSP and EJB. Although I cannot answer your question directly, here's what I'm thinking for my system. Perhaps others will comment on this. I'm planning to use a servlet to handle all http requests from browsers. The servlet will disp

Re: Look up a EJB from a JSP?

2000-05-22 Thread Al Fogleson
Sent: Monday, May 22, 2000 7:52 PM Subject: Look up a EJB from a JSP? > Hi, as part of my learning, I tried to implement a dynamic page as follow: > JSP<->Java Bean<->EJB<->JDBC. I got it works as intended however with a > hack. Within the my Java Bean, in order to look up

Look up a EJB from a JSP?

2000-05-22 Thread Tung Bui
Hi, as part of my learning, I tried to implement a dynamic page as follow: JSP<->Java Bean<->EJB<->JDBC. I got it works as intended however with a hack. Within the my Java Bean, in order to look up the EJB bean successfully, I have to hard code the context info as follow: Hashtable env = new H