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
Name the attributes of javax.ejb.stateful.
What is the default transaction attribute for an ejb?
What is bean-managed persistence?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
Enlist the CallBack methods of Session Bean?
What is ejb container?
Does spring use ejb?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
What is dependency injection in ejb?
What is jar, war, and ear?
What are the key features of the ejb technology?
Which is the only method defined in the javax.ejb.handle interface?
How to import ejb project in eclipse?
Where is ejb used?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?