EJB extends POJO
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ace_Ventura
Posted On:   Thursday, June 9, 2005 11:53 AM

If I have a stateless session bean that extends POJO can I still make use of CMT. My stateless session bean is not going to have any business logic at all. All of my business logic is going to be in POJO. For example there is an POJO [Plain Old Java Object otherwise called Simple java Object] HelloSimple.java and HelloEJB is going to extend HelloSimple. HelloEJB will not have any business logic [It just extends HelloSimple]. HelloSimple is going to have all business methods. In this case how do I actually make use of Container Managed Transaction. Please help me out in this situation. I am eagerly waiting for guru's reply.    More>>

If I have a stateless session bean that extends POJO can I still make use of CMT.

My stateless session bean is not going to have any business logic at all. All of my business logic is going to be in POJO.

For example there is an POJO [Plain Old Java Object otherwise called Simple java Object] HelloSimple.java
and HelloEJB is going to extend HelloSimple.

HelloEJB will not have any business logic [It just extends HelloSimple]. HelloSimple is going to have all business methods. In this case how do I actually make use of Container Managed Transaction.

Please help me out in this situation.
I am eagerly waiting for guru's reply.

   <<Less
About | Sitemap | Contact