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 enterprise bean?

973


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2454


What are stateless applications?

1059


What is ejb in java with example?

965


What are ejb containers?

1007


What is ejb and its properties?

963


What does statelessness mean?

1007


What is stateful session bean?

1045


Is ejbCreate() method mandatory while defining a Session Bean?

1058


List some key actors in persistence api.

1066


What optimization could I use if the ejb container is the only point of write access to the database?

998


Define Initial Context?

1003


Is udp stateless?

985


What is stateless session?

986


What is ptp model?

986