Hi there
U r confusing urself a little over here
Beans are reusable software components mainly used to include the business
logic and other functionality that
will be repeatedly required by the servlets or JSPs
While Servlets make use of the beans for the business logic so that now the
Servlets can only contain Presentation Logic
The Business logic in Beans and Presentation in Servlets/JSP makes a good
combination
Regards
Sanjay
-----Original Message-----
From: Anthony Mak [mailto:[EMAIL PROTECTED]]
Sent: 16 November 2000 01:41
To: [EMAIL PROTECTED]
Subject: Difference between Servlet and Bean?
Dear all,
I heard it is good idea to seperate business logic out of JSP by using
Servlet or Bean.
The logical question I have now in mind is what is the difference between
Servlet and Bean? Should I implement my business logic in Bean or Servlet?
Anthony Mak
===========================================================================
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
- Difference between Servlet and Bean? Anthony Mak
- Re: Difference between Servlet and Bean? Phil Hedley
- Re: Difference between Servlet and Bean? Anthony Mak
- Re: Difference between Servlet and Bean? Sanjay Gomes
- Re: Difference between Servlet and Bean? Sanjay Gomes
- Re: Difference between Servlet and Bean? Anthony Mak
- Re: Difference between Servlet and Bean? Craig R. McClanahan
- Re: Difference between Servlet and Bean? Neoh TiHoe
- Re: Difference between Servlet and Bean? Sanjay Gomes
