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
What is enterprise bean?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What are stateless applications?
What is ejb in java with example?
What are ejb containers?
What is ejb and its properties?
What does statelessness mean?
What is stateful session bean?
Is ejbCreate() method mandatory while defining a Session Bean?
List some key actors in persistence api.
What optimization could I use if the ejb container is the only point of write access to the database?
Define Initial Context?
Is udp stateless?
What is stateless session?
What is ptp model?