Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Next, we will write code to implement the functionalities for the user management module
which allows the administrators or managers to manage all the users of the website's back-end
Note that the users here are not the registered users of the website
they are the person who are responsible for managing the website's information in the back-end
the visitors come to the website are called customers
and we will implement the functionalities for customer management later in this course
here's our task list in this section:
Code UserDAO and unit tests
implement list users feature
implement create user feature
implement edit user feature
and implement delete user feature
This use case diagram represents the actions that a manager or administrator can do to manage users in the system
you see
list all users
create a user
delete a user and edit user
and this is the design of the user management module in our application
the Users List Page
As you can see, there's a hyperlink: Create New User
to create a new user here
all users in our application are listed on this page
in the table that looks like this
you see
The column names: index, ID, email, full name and action
and each row in the table displays information for a particular user
and there are action edit and delete for each user
Our goal in this section is to write code to implement all these functionalities:
list users, create user, edit user and delete user
and this is the design of the table users in the database
the user management module manages data in this table
Note that this table stands alone - it doesn't have any relationships with other tables
And this class diagram gives you an overview of Java classes which we will code in the user management module
on the server side:
First, we need to update the DAO classes
especially the UserDAO class which implements all database-related functionalities to manage users
then for each operation: create, list, edit, delete - we create a Java servlet - you see here
CreateUserServlet, ListUserServlet, EditUserServlet, UpdateUserServlet, DeleteUserServlet
to handle requests come from the clients
and the Servlet calls the UserService which in turn, calls the UserDAO
The UserService class encapsulates business functionalities for managing users
a business function may not access to the database
whereas the UserDAO class implements only database-related functionalities
The User class here is simply a domain model class represents a user in the system
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.