To perform a lookup you need the classes of those beans you are going to
lookup, and the jndi classes, and related superclasses. I dont know as there
are any superclasses you need but you would need the JNDI classes, and some
javax.rmi classes since you have to use PortableRemoteobject.Narrow(). You
could feasibly put all those in a jar file with the applet.
Ill give a caveat to this as I have not attempted a lookup from an applet.
We use an N-tier structure, and calling beans from an applet would be client
server. Can you possibly call a servlet from the applet and allow the
servlet to do the bean work? IMHO thats a better architecture. :)
Al
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 1:08 PM
Subject: Lookup with orion.jar
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is it possible to do a JNDI lookup from an applet or stand-alone
> client against Orion, without using files from orion.jar? Or is the
> whole 2 MB file necessary to do this?
>
> Any help will be greatly appreciated.
>
> Yours,
> Christian Tellefsen
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Privacy 6.5.8
>
> iQA/AwUBOe8cjCZr3JnfcXIbEQLgZgCfazFp9mDbmI6AS6cmmmG6nJbvNz8AoI20
> QCCIdRERk+zGcGjoNgIxaIzz
> =3B7A
> -----END PGP SIGNATURE-----
>