Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can i write business logic methods in entitybean?

Answer Posted / madan

Entity beans are used to communicate directly with database, here we have setter and getter, each getter is represented with specific id., for example

@Column(name="id")
public String name()
{
return id;
}

this way..

the business logic is maintained Databasefile.java, which contains logics for the communication

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between find and select methods in ejb?

1051


What do you mean by ejb?

1034


How does ejb work in java?

1048


Define SessionContext ?

1126


What is mdb?

1148


Can remove() be a Stateless Session bean?

1130


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

1027


TX operation funtion executed by?

2755


What is the difference between message driven beans and stateless session beans?

1028


What is entity bean in ejb?

1180


What is a ejb container?

1012


Explain what is an EJB Context?

1108


Why is ftp stateful?

1092


What are the types of enterprise bean?

1042


What is meant by ejb?

1000