True, but
I still tend to  think that with the neat way EJB envisions(spelling?) to
solve the distributed computing problem, it is here to stay for a long time.
And when there have been well defined core EJBs for most enterprises(don't
they all use similar business logic?)we should achieve OO's dream of (a high
percentage ) code reuse,and then ordinary beans should really die.

apollo

-----Original Message-----
From: Jim Preston [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 05, 2000 5:54 PM
To: [EMAIL PROTECTED]
Subject: Re: EJB and JavaBeans


I don't think it's a question of replacing. EJBs are essentially a super-set
of ordinary beans, and the latter will certainly have their place in the
scheme of things for a while to come. Besides, ordinary beans aren't really
a "thing", it's more a set of conventions that enable a Java class to be
used in certain ways, like being called from the get/setProperty tag of a
jsp. Finally, EJBs require an EJB-enabled server, so their use is more
restricted. Look at it this way: electric screwdrivers have many advantages
over the old manual kind, but you can still buy both in the stores, and
sometimes a manual one is better suited to the job at hand (no pun
intended).

--Jim Preston

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Apollo Mcowiti
> Sent: Monday, June 05, 2000 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: EJB and JavaBeans
>
>
> Thanks.
> seems then SUn will replace beans with  EJB , given the
> advantages of EJBs??
>
> -----Original Message-----
> From: Alex Strasheim [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 05, 2000 4:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: EJB and JavaBeans
>
>
> > Apart from EJB being a "biz" bean what functional differences exist
> between
> > the two?
>
> (I'm not a guru, so I could be wrong...)
>
> Normal beans are just plain old software components.  They let you
> take code out of your JSP page so your web designers won't get
> confused, and they can communicate with other JSP pages that live in
> the same JVM on your application server.
>
> EJBs are specialized components that can count on having a variety of
> services available from an EJB container.  Those services make the
> components well suited for distributed enterprise computing.  The EJB
> containers make it possible for EJBs to communicate with processes on
> other machines in a secure and orderly way.  If you wanted to do the
> same sorts of things on an MS system, you'd probably use MTS.  And if
> you wanted to make a scalable JSP system, you might need to use EJBs
> so that pages running in different JVMs can communicate with one
> another.
>
> I looked at an EJB book at the store, but the first thing it said was
> that it was a hard subject to tackle, so I decided to spend more time
> with JSP and plain old beans before I dove in to EJBs.  They do seem
> to be easier to figure out than MTS, though, although I say that as a
> person who hasn't learned either technology.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to