Re: EJB question

2000-10-09 Thread Al Fogleson
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

RE: EJB question

2000-10-09 Thread Reddy Krishnan
: 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

Re: EJB question

2000-09-14 Thread Nick Newman
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

Re: ejb question

2000-09-06 Thread Cathleen Dull
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

Re: ejb question

2000-09-06 Thread Cathleen Dull
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

RE: ejb question

2000-09-06 Thread Rick Bos
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 > > >

Re: ejb question

2000-09-06 Thread Matt Brunner
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  

RE: EJB Question(s)

2000-04-03 Thread Kevin Duffey
>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

Re: EJB Question(s)

2000-04-03 Thread Al Fogleson
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

Re: EJB Question(s)

2000-04-03 Thread Karl Avedal
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

RE: EJB Question(s)

2000-04-02 Thread Kevin Duffey
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

RE: EJB Question(s)

2000-04-01 Thread ALLEN FOGLESON
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