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 does @singleton annotation do?

1025


What is message-driven bean?

1032


What do you mean by EJB architecture?

1014


What do you mean by ejbdoclet?

1072


Is it legal to have static initializer blocks in ejb?

1002


Is microservice stateless?

930


Explain transaction and various methods to manage it?

970


What are the types of ejb?

993


Is it possible to share an httpsession between a jsp and ejb?

922


What is jar, war, and ear?

1157


What’s new in the ejb 2.0 specification?

1041


What is stateless ejb?

953


What is an entity and its types?

1052


What is ejb and its types in java?

1021


What is stateless and stateful?

1074