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 bean-managed persistence?

1064


What do you mean by in-memory replication?

1070


Explain the concept of local interfaces?

954


What are the design principles for ejb?

919


Which services are provided to ejb components by the ejb container?

1140


What are the callback annotations for entity bean?

1008


Name the acid properties of a transaction.

1067


How ejb invocation happens?

1043


Are entity beans allowed to create() methods?

1055


What do you mean by bean managed transaction?

1049


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

985


What is the procedure of ejb container to handle exceptions?

985


What is @autowired required false?

1037


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

2471


What is a local interface?

1150