Problem is all the containers we've used up till now have had real problems
with bean managed persistance...as a result we had to avoid it. They seem
better now, but its a bit late for us. The single biggest headache I've had
developing/designing EJB's is trying to make the OO centric java (e.g.
encapsulation of data and process) work with the non-OO databases without
sacrificing too many of the advantages of the two (databases speed, Javas
flexibility).
I'm looking forward to the new message beans which are in the new EJB 2.0
spec. Would of made my current project a whole lot easier... Sending
messages/setting state of beans via JMS could be very cool - if it works :-)

sam

----- Original Message -----
From: "Luba Powell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 4:38 PM
Subject: Re: What are EJB


> << but a real mess of a database....>>
>
> You are right here.  Because of it I stopped using Entity beans all
> together...
>
>
> ----- Original Message -----
> From: "Sam Newman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 9:26 AM
> Subject: Re: What are EJB
>
>
> > The only real similarity between EJB's and normal JavaBeans is that they
> are
> > both based on component models. EJB's provide a java representation of
> some
> > data in a database - e.g. 1 EJB will equal 1 row in the table, 1 EJB
class
> > is tied to one table. XML is used to tie an EJB and its data to a
> database.
> > There is a bit of a problem with this approach, in that a typical OO
> design
> > for such a system can result in a good OO system on the surface, but a
> real
> > mess of a database....
> >
> > EJB's need a compliant EJB server, and a database. There are a few free
> > versions around - try JBoss. They work fine with Servlets/Tomcat given
> that
> > they are also part of the j2ee. I personally use Cape Connect (previosly
> > Orcas) with tomcat without too many problems (there are a couple of
class
> > loader issues in some circumstances however). Orcas actually bundles
> Tomcat
> > with it, and they pre-configure it to work with their ejb container.
> >
> > sam
> > ----- Original Message -----
> > From: "Alexandre Bouchard" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, June 17, 2001 6:07 PM
> > Subject: What are EJB
> >
> >
> > > I've got a simple question: What are Enterprise Java Beans. I mean,
> what's
> > > the difference between EJB and the beans I develop with JDK and run
with
> > > Tomcat?
> > >
> > > Thx
> > >
> >
>

Reply via email to