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

Name the attributes of javax.ejb.stateful.

1111


What is the default transaction attribute for an ejb?

971


What is bean-managed persistence?

1059


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

1012


Enlist the CallBack methods of Session Bean?

1041


What is ejb container?

1156


Does spring use ejb?

973


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

1002


What is dependency injection in ejb?

1033


What is jar, war, and ear?

1148


What are the key features of the ejb technology?

1073


Which is the only method defined in the javax.ejb.handle interface?

1085


How to import ejb project in eclipse?

1056


Where is ejb used?

948


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?

1106