Basically how many classes are required to be written when writing any of EJB's?
Which are the classes?
: Are you talking about Bean Managed Persistence and Container managed Persistence by any chance? is yes read:
: There are two methods of designing your entity beans BMP and CMP,
: when You are using BMP You need to handle all the Database connections ,retrieval queries etc.
: But in case of CMP all you need to do is leave this upto the container to do it( so ur ejbLoad() , ejbStore() methods are left blank), wat u need to do is just take care of all this when you are Deploying the EJB.