Yes I just looked and indeed on page 13 as you pointed out Monson-Haefel
says "In fact, other than sharing the name "JavaBeans", theese two
componenet models are completely unrelated. A lot of literature has
referred to EJB as an extension of the original JavaBeans, but this is a
misrepresentation. Other than the shared name, and the fact that they are
both Java component models, the two APIs serve very different purposes."
I'm guessing the "other literature" he is referring to is the Enterprise in
a Nutshell book from his own publisher <grin>. Thank all of you who
responded very much, that clears things up. It was all a matter of RTFM,
provided you were looking at the right M.
Many thanks,
Ken
----- Original Message -----
From: "Tom Jansto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 12:43 PM
Subject: Re: Difference/Similarity between EJB and Java Beans
> ken, from O'reilly's "Enterprise Javabeans" (isbn 1-56592-869-5) page 13
> seems to contradict
> what is in the other o'reilly reference you are calling out.
>
> i can't type good enough to reproduce the 3 paragraphs that call out the
> differences, but Lee's
> response seems to be dead on. i'll try to summarize the 3 paragraphs
here.
> the JavaBean is client side is a component model client side, while EJB is
a
> server-side
> component model. "JavaBeans are intended for intraprocess components,
while
> EJB is for
> interprocess components." javabeans aren't intended to be distributed,
but
> to solve gui
> (client side) problems. another way to look at it, javabeans can
represent
> visual
> objects, (buttons and the like), while EJB is used to represent business
> objects
> (ala the shopping cart examples that are seemingly the defacto standard
for
> examples
> in ejb applications.
>
> hope this helps...
> tom
>
> tom jansto
> [EMAIL PROTECTED]
>
> "For by grace are ye saved through faith, and that not of yourselves; It
is
> the gift of God, not of works, lest any man should boast."
> Ephesians 2:8-9
>
>
> -----Original Message-----
> From: Ken Klose [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 04, 2000 11:11 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Difference/Similarity between EJB and Java Beans
>
>
> Well I got off my duff and RTFM and found I wasn't imagining having seen
it
> somewhere. This is from Java Enterprise in a Nutshell 1st ed.
> (1-56592-483-5) page 174:
>
> "So, you mak ask, how are EJB components different from regular
distributed
> objects built using RMI or local (nondistributed) components defined using
> the JavaBeans component model? Well, they aren't, really. An EJB
component
> is an RMI object, in the sense that it's exported as a remote object using
> RMI. And an EJB component is also a JavaBeans component, since it has
> properties that can be introspected, and it uses the JavaBeans conventions
> for defining accessor methods for its properties."
>
> Of course that isn't necessarily gospel. I haven't had the time (or
> caffeine) to read the EJB spec yet, so I'm hoping that someone who has,
(or
> has similar experience) will pipe up with a definitive link or reference
to
> something. Frankly, I think if would be a big deal to be able to think of
> an EJB along the lines of a regular JavaBean.
>
> Thanks,
> Ken
>
> ----- Original Message -----
> From: "Lee Turner" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 04, 2000 11:54 AM
> Subject: Re: Difference/Similarity between EJB and Java Beans
>
>
> > This is not correct as far as I know. Apart from the name they share
very
> > little. As already said, JavaBeans are client side visual or none
visual
> > in-process components, where as Enterprise JavaBeans are server side out
> of
> > process components
> >
> > As far as I know the JavaBean spec and the EJB spec are two very
different
> > things
> >
> > Lee
> >
> > > -----Original Message-----
> > > From: Ken Klose [SMTP:[EMAIL PROTECTED]]
> > > Sent: Tuesday, July 04, 2000 4:12 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Difference/Similirity between EJB and Java Beans
> > >
> > > My understanding (I believe from reading O'Reilly's Java Enterprise in
a
> > > Nutshell book) is that EJBs are in fact Javabeans and conform to the
> > > Javabeans spec. Does anyone know definitively either way?
> > >
> > > Thanks,
> > > Ken
> > >
> > > ----- Original Message -----
> > > From: "Saurabh Khare" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, July 04, 2000 6:04 AM
> > > Subject: Re: Difference/Similirity between EJB and Java Beans
> > >
> > >
> > > > Your best bet is to lay ur hands on a book like *Enterprise
JavaBeans*
> > > by
> > > > Richard Monsol-Haefel.. that goes thru EJBs from a beginner's
> > > perspective
> > > > and is well equipped with examples at various stages!
> > > >
> > > > In breif, apart from the name similarity, there is no other
similarity
> > > > between Java Beans and EJBs. EJBs are server-side components and
Java
> > > Beans
> > > > typically a client side phenomenon.
> > > >
> > > > Have fun Sanjay!
> > > >
> > > >
> > > > Saurabh Khare
> > > > IBM UK Laboratories
> > > > Hursley Park
> > > > Winchester
> > > > Phone(direct): +44 (0) 1962 815405
> > > > email: [EMAIL PROTECTED]
> > > > Ext 245405, Room A4129.
> > > >
> > > >
> > > > Sanjay Kumar <[EMAIL PROTECTED]> on 07/04/2000 10:37:36 AM
> > > >
> > > > Please respond to A mailing list for Enterprise JavaBeans
development
> > > > <[EMAIL PROTECTED]>
> > > >
> > > > To: [EMAIL PROTECTED]
> > > > cc: (bcc: Saurabh Khare/UK/IBM)
> > > > Subject: Difference/Similirity between EJB and Java Beans
> > > >
> > > >
> > > >
> > > >
> > > > Hello Friends,
> > > > I am very new to this subject. Please explain me th
> > > Difference/Similirity
> > > > between EJB and Java Beans
> > > >
> > > > Cheers,
> > > > Sanjay Kumar,
> > > > Software Consultant,
> > > > Addcon India Pvt Ltd.
> > > > New Delhi.
> > > >
> > > > Emails : [EMAIL PROTECTED]
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> ==========================================================================
> > > =
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
> > > body
> > > > of the message "signoff EJB-INTEREST". For general help, send email
> to
> > > > [EMAIL PROTECTED] and include in the body of the message "help".
> > > >
> > > >
> > >
> ==========================================================================
> > > =
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
> > > body
> > > > of the message "signoff EJB-INTEREST". For general help, send email
> to
> > > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> > >
> ==========================================================================
> > > =
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > > body
> > > of the message "signoff EJB-INTEREST". For general help, send email
to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> >
> >
>
===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff EJB-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".