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 bean-managed persistence?
What do you mean by in-memory replication?
Explain the concept of local interfaces?
What are the design principles for ejb?
Which services are provided to ejb components by the ejb container?
What are the callback annotations for entity bean?
Name the acid properties of a transaction.
How ejb invocation happens?
Are entity beans allowed to create() methods?
What do you mean by bean managed transaction?
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?
What is the procedure of ejb container to handle exceptions?
What is @autowired required false?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What is a local interface?