Hi All,
I have a query.
I am inserting records using Bean, I have to check for unique value in the
database, if the user is tring to insert a redundant data, I need to tell
him about this, how do I accomplish this and what are the different ways to
do this?
Thanks in advance
Srikanth Mukka
-----Original Message-----
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 10:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Bean Vs Classes ???
Until you get to Enterprise Java Beans, a bean is nothing other then a
class where you have a set*() function ( and get*() for retrieving the
value ) for every variable a user ( or you ) could care about.
This makes the class ("bean") much easier to reuse, because it can be
configured to meet individual needs.
Anywhere you can make a class, you can make a bean. Just put those
set/get functions in and I reccomend you put the suffix "*Bean" on the
end of your class name.
Steve
Angel Belda wrote:
>
> Can anybody tell me (in a nutshell), the beneficts of use a Bean
> Class where I can create a 'Normal' Class.
>
> Am I not able to do the same with two tools ?
>
> Thank you
>
> Angel Belda
> [EMAIL PROTECTED]
>
>
===========================================================================
> 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
--
Steve's Home Page:
http://www.geocities.com/beforewisdom/
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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://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