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 an ejb container?
Can an ejb send asynchronous notifications to its clients?
Why do we use ejb?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
How does ejb invocation happens?
What is stateless session bean?
What is the difference between find and select methods in ejb?
How to import ejb project in eclipse?
What optimization could I use if the ejb container is the only point of write access to the database?
What is @autowired required false?
Which is the only method defined in the javax.ejb.handle interface?
What is mdb?
Are entity beans allowed to create() methods?
What is ejb in java?
What is ejb container in java?