t (i.e.
no java:comp/env/) a good tool to look at these things is Forte For Java. It
has a JNDI browser built into it.
Al
- Original Message -
> From: Nick Newman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 14, 2000 1:45 PM
> To: Orion-Interest
> Subject: Re: EJB
: EJB question
Hi Kit,
I'm not sure that I tell you for SURE why it failed, but here are a few
thoughts.
Firstly, I think that some of the code you write is unnecessary. What I
would have written is:
Context context = new InitialContext(); // No properties req
Hi Kit,
I'm not sure that I tell you for SURE why it failed, but here are a few
thoughts.
Firstly, I think that some of the code you write is unnecessary. What I
would have written is:
Context context = new InitialContext(); // No properties required
Object homeObject
Oops, I mean "java:comp/env/ejb/Cart".
Cathleen Dull wrote:
>
> Derek;
>
> Try using "java:comp/env/ejb/cart.CartBean" in the lookup.
>
> Cathy
>
> > Derek Akers wrote:
> >
> >
> > I am trying to access an ejb (stateful session) from a jsp using:
> >
> > Context initialContext = new Initi
Derek;
Try using "java:comp/env/ejb/cart.CartBean" in the lookup.
Cathy
> Derek Akers wrote:
>
>
> I am trying to access an ejb (stateful session) from a jsp using:
>
> Context initialContext = new InitialContext();
> CartHome cartHome =
>
>(CartHome)javax.rmi.PortableRemoteObject.narr
I would put this class at:
\cart\cart-ejb\cart\CartHome.class
The WEB-INF\classes directory is for servlet classes.
> -Original Message-
> From: Derek Akers [SMTP:[EMAIL PROTECTED]]
> Sent: September 6, 2000 10:38 AM
> To: Orion-Interest
> Subject: ejb question
>
>
>
The error implies that the class files are in the wrong directories in
your ejb.jar, that structure should look something like:
cart-ejb.jar/
META-INF/ejb-jar.xml
cart/
CartBean.class
CartHome.class
>Actually a lot of my concerns about RMI costs and such are coming from a
>recent interview I had which made me think of some things. Some I have
>rethought and have come to the conclusion they were not exactly
>correct. But
>then EJB is so new to both me (I've only been using the technology a few
t;
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Sunday, April 02, 2000 6:43 PM
Subject: RE: EJB Question(s)
> Ok..you've got me concerned here. I thought EJB was all the rage right
now,
> which is the big reason everyone is going to it. But, you and some others
> have been sayi
Hello Kevin,
Kevin Duffey wrote:
> Ok..you've got me concerned here. I thought EJB was all the rage right now,
> which is the big reason everyone is going to it. But, you and some others
> have been saying lately that its slow compared to other solutions.
>
I don't know who you mean by "you" bu
Ok..you've got me concerned here. I thought EJB was all the rage right now,
which is the big reason everyone is going to it. But, you and some others
have been saying lately that its slow compared to other solutions.
The question is, is it slow only because of network traffic? I mean, we have
a T
Kevin we are doing something similar to what you espouse here. We are really
getting away from EJB since it is cost heavy for us at this time. We are
using servlets under apache right now (and tomcat) to access EJB's. (I
should say *I* since I am the sole developer in our division. Typical
militar
12 matches
Mail list logo