most important thing is that in java beans one ca set scope of the bean ie session,request or application which is not possible with Java class
bye Biji Harees Amsoft India Ltd Bangalore -----Original Message----- From: Zachary Roberts [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:09 PM To: [EMAIL PROTECTED] Subject: Re: JavaBean Vs Java Class Sentthoor- The only thing I can think of is that the JavaBean gives you access to the automatic <jsp:setProperty> and <jsp:getProperty> tags if you need them. Zac >>> [EMAIL PROTECTED] 06/05/02 03:17AM >>> Hi Guys, I need to write a static method in a class to do a specific task. I can simple import the class at the top and use the method in my JSP. However I am wondering is there any difference in using a class as a JavaBean rather than simply importing it and using it... Senthoor =========================================================================== 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
