<< 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