Hi CP, True, we can go for session beans using java classes to acces the data base. But this way U are reducing the concept of reuseability which has been the primary intention behind the design of Entity Bean . We have been saying time and again that keep entity bean for just updating the database. And use Session bean to manipulate the data before storing in the database. A concept like a Customer ( User ) can be reused through out the business system without having to redine , recode or retest the business logic and data access defined by a Customer or User bean. Also the concept of session beans is to represent "workflow" and we should not try to persist data as a step in our workflow. True U can use a java Class instead of an entity bean . But then there are lots of thing which U "java class " won't do which an entity bean can do. Bye, RK "Rajesh C.P" <[EMAIL PROTECTED]> wrote: Hi all, I have a design problem.I'm planning to avoid the entity bean from my design and trying to do all the work thru session bean.I will make the session manage things and all the persistance are done by ordinary java class.Thats without any entity beans.I came into this conclusion because I was planning to use BMP as my entity.Anybody have any suggestion for not using this kinda design.Which one willbe better in perfomance if I use BMP instead of ordinary java class with JDBC in that.Hope someome will help me in solving this problem. Thanks and regards in advance Rajesh ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
