Hi,
For displaying the user profile , you can user stateless session beans
which are quite fast and lightweight.
Regards
Ashwani Kalra
E-Comm Group
NIIT Ltd. India
> ----------
> From: Jerson Chua[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Tuesday, July 25, 2000 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: Servlet-EJB Design, please guide me
>
> Hello....
> I'm currently designing a web application. The admin module is assigned
> to me so there's
> this scenario where the administrator can retrieve and update a user
> profile. I'm
> planning to design it in a way where the retrieving of the user profile is
> through a data
> access object, which directly access the database and returns a value
> object that
> represents the user profile. The rationale for such design is because
> retrieving user
> profile entity bean is not efficient since it will only be used for
> displaying purposes
> only. On the other hand, for updating the user profile, the servlet will
> retrieve the
> entity bean and update it through the setter methods. My question is "Is
> this the right
> way of doing it cause I think it's kind of inconsistent" or "Should I also
> use the entity
> bean for displaying the user profile?"
>
> I got this idea where the web tier directly accesses the database in the
> Pet Store
> Example (The Catalog). But the difference is that the system doesn't
> update the catalog.
>
> Please guide me.
>
> thanks in advance...
> Jerson
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ==========================================================================
> =
> 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".
>
===========================================================================
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".