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 does @singleton annotation do?
What is message-driven bean?
What do you mean by EJB architecture?
What do you mean by ejbdoclet?
Is it legal to have static initializer blocks in ejb?
Is microservice stateless?
Explain transaction and various methods to manage it?
What are the types of ejb?
Is it possible to share an httpsession between a jsp and ejb?
What is jar, war, and ear?
What’s new in the ejb 2.0 specification?
What is stateless ejb?
What is an entity and its types?
What is ejb and its types in java?
What is stateless and stateful?