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

Reply via email to