java beans are a specification that make porting your code to differnt
applications easier, also reusing your code is easier, you can write a java
bean tp solve a reacurring problem, rather than writing a new class
everytime the problem comes up, you do the same with classes, but then your
code would not be compliant with other code that follows the java beans
spec, if this is not an issue, than you don't need beans
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Singh, Jasbinder
Sent: Thursday, January 18, 2001 2:04 PM
To: [EMAIL PROTECTED]
Subject: Why use Java beans ?
Hi,
Could someone please explain the following to me:
What is the advantage of using JavaBeans with servlets and JSPs when the
same
result could be obtained by common classes ?
This might be a basic question, but any elaboration would be greatly
appreciated.
Thanks
JS
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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