If you mean your EJB client will be an applet, you don't need to
put things on the browser's classpath. In the applet tag you specify a
codebase and archive files, so if you have something (like
jndi.properties) that needs to go on the classpath, it can go in the
codebase directory on the web server, or in one of the JARs listed as an
archive. BTW, you'll almost certainly need to use the Java Plug-In if
your EJB client runs in the browser.
If instead the browser just reads HTML files, and those files are
generated by a servlet engine or something that handles the communication
with the EJBs, then none of this is necessary - you'll put JARs and code
and stuff where the servlet engine can see it, not the browser.
Aaron
On Fri, 27 Oct 2000, Pedro wrote:
> Thanks Scot and Rickard !
> the problem was solved !
> but i need anoder way to make this, (why the VM need this in run time?)
> my system will run on the browser
> the client (Ex :InterestClient ) will can't set the classpath in your
> browser right ?
> you can send me one example (how-to) of that ?
>
> i have other exeption
>
> Got context
> javax.naming.NameNotFoundException: interest not bound
>
>
>
> ----- Original Message -----
> From: Scot Bellamy <[EMAIL PROTECTED]>
> To: jBoss <[EMAIL PROTECTED]>
> Sent: Friday, October 27, 2000 4:35 PM
> Subject: Re: [jBoss-User] javax.naming.NoInitialContextException
>
>
> > Pedro wrote:
> >
> > > Hi
> > >
> > > when i run the InterestClient in remote machine
> > >
> > > javax.naming.NoInitialContextException: Cannot instantiate class:
> > > org.jnp.interfaces.NamingContextFactory [Root exception is
> > > java.lang.ClassNotFoundException:
> org.jnp.interfaces.NamingContextFactory]
> > >
> > > What's happening ?
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe: [EMAIL PROTECTED]
> > > To unsubscribe: [EMAIL PROTECTED]
> > > Problems?: [EMAIL PROTECTED]
> >
> > Yep, this is a familiar one.
> >
> > you need to make sure that the jnp-client.jar is in your classpath when
> > running your client. This jar file is found in the client subdirectory of
> > your jBoss installation
> >
>
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]