Re: EJB/CMP entity bean question
- From: Alfred <user@xxxxxxxxxxx>
- Date: Tue, 03 Jun 2008 06:27:18 +0200
Donkey Hot wrote:
Lets have an entitybean, say UserBean
class UserBean extends EntityBean
{
Long id ;
String name ;
Integer height ;
...
// and the getters and setters
}
// and the Local and Remote interfaces... and a POJO with similar
// properties..
...
An CMP Entity Bean does not have fields, but only
abstract getter/setter. Synchronization with DB
is a part of EJB Container.
Alfred
.
- Follow-Ups:
- Re: EJB/CMP entity bean question
- From: Donkey Hot
- Re: EJB/CMP entity bean question
- Prev by Date: Re: Besoin d'aide : Connexion base de donnée Options
- Next by Date: Re: Connection Pooling
- Previous by thread: Besoin d'aide : Connexion base de donnée Options
- Next by thread: Re: EJB/CMP entity bean question
- Index(es):
Relevant Pages
|