Can i write business logic methods in entitybean?
Answer Posted / arun
yes you can write business in entity bean... and in entity
bean, you can call business method directly from home
interface, that is not possible in case of session bean. in
session bean you need EJBObject to intrect with bean and
bean' business method.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What is an entity and its types?
What are the benefits of ejb?
What is stateless and stateful?
How is ejb different from java beans?
Can you be deported if you are stateless?
What is the procedure of ejb container to handle exceptions?
What is @autowired required false?
What are the attributes of transaction in ejb?
Why do we use @requestmapping?
What are the advantages of ejb components?
What is software architecture of ejb?
What is ejbdoclet?
What is the difference between ejbcreate() and ejbpostcreate?
Can beans who are involved in transaction have 'passivation' process?