Hi all

I am looking for a design solution for a particular problem. Pl help.

Problem :

    The User has two attributes - login_id, password, and
    enabled_flag. The User information is stored in database table U.

    The Group is a named collection of users. The same user can not
    belong to more than one group. The Group information is stored in
    the database table G.

    The information regarding which user belongs to which group is
    stored in table U_G.

    The client should be able to :-

      * Add new user
      * Change user password
      * Disable user. This operation should fail if the user is part
        of any group.
      * Delete user
      * Get list of enabled users
      * Get list of disabled users
      * Add/delete groups
      * Add and remove users of a group
      * Get list of groups

Question :

    How will you model this problem using EJBs? What session beans will
    you use, what entity beans will you use etc.

Thanks in advance.
--
shiv
[EMAIL PROTECTED]



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.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".

Reply via email to