Thanks for answer!
But I still don't know could I put JNDI properties in web.xml?
Could you give me some example?
That would be great.
Thanks.
Denis Kranjcec
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Harley Rana
Sent: Wednesday, May 30, 2001 2:05 AM
To: Orion-Interest
Subject: RE: configuration of web tier (JNDI)
Hey Denis, its not to hard.
You would package both the seperate tiers files into seperate .ear files,
then in a servlet you would access a ejb by creating a properties file with
your JNDI settings and setting the url to the machine hosting the ejb tier
( for now would be localhost, but could be anything ), create the
InitalContext with the properties, and you can then access the bean on the
ejb tier from the web tier.
Its all about setting the IntialContex with the url of the right machine.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Denis Kranjcec
Sent: Monday, May 28, 2001 7:14 AM
To: Orion-Interest
Subject: configuration of web tier (JNDI)
Hi everyone!
I'm new user of Orion and I have one problem.
I want to separate web tier and ejb tier. Both tiers will be running in the
same server for now, but later they will be on different Orion servers.
How can I specify that my web tier make jndi lookup to ejb tier, where is
JNDI server...?
We have two applications and both have Login bean so I must be able to
specify application where my web tier should make lookup.
Configuration should be same as that tiers are on different servers.
I have read Orion documentation, but there isn't examples, and I'm not able
to figure it out how to configure it.
Thanks in advance,
Denis Kranjcec