Contact:   Tel: 2726  -  New Media Systems, 1st Floor South, Queens Walk



To be more specific, a java bean is just a java object that implement
java.io.Serializable interface and uses get/set to expose its properties. Just
that simple. It's 100% pure java and should not have any problem running on all
the JVM available therse days (after JDK 1.1).

Using beans together with servlet is simply a matter of creating an instance of
the bean and then invokde its method just like with any other java objects.
However, because it is not part of your servlet code, it can be loaded at
different time and can have different life span from that of your servlet.

EJB is more complicated and I am sure it will be  off-topic in this list. Their
are dedicated mailing list for EJBs.



Charles





Catherine Jung <[EMAIL PROTECTED]> on 11/06/2000 11:48:08 AM

To:        [EMAIL PROTECTED]
cc:         (bcc: Charles Chen/YellowPages)
From:      Catherine Jung <[EMAIL PROTECTED]>, 6 November
           2000, 11:48 a.m.

Re: Single Thread Model.. [Scanned by Yellow Pages PostMaster]


Where can I find some more information on using Servlets and beans
together in this way? I've not come across the idea in the literature I've
read on Servlets EJB or standard JavaBeans...

Which API are they supporting? Standard JavaBeans?

Sorry to seem dense - I'm just trying to nail down quite what is meant by
Bean in this case, as it seems rather handy when used with servlets.

> A java bean is really just an java object that impletemts a specific API. It
> does not require a specific "container" to support it.


Thanks very much,


Catherine

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to