Professional Documents
Culture Documents
THANKS
Thanks Mr.Trung helped us over the past time to successfully complete this
project.
iii
SUMMARY
Building hotel management application, customers can book rooms, cancel rooms,
assess guest management staff.
1
CATEGORY
I. CHAPTER 1 – USE CASE SPECIFICATION……. PAGE 2
II. CHAPTER 2 – USE CASE DIAGRAM…………….PAGE 26
III. CHAPTER 3 – RELATIONSHIP DIAGRAM……………….PAGE 30
IV. CHAPTER 4 – REFERENCES……………………..PAGE 33
2
Actor Customer.
Activation conditions Enter number 2 from the keyboard at
the console
Pre-condition When the user selects the actor
customer at the first console section
when running the program
Post-conditions Cancel a successful booking
Main event flow 1. After actor is customer, the
current system of customer
function information can be
performed.
2. Enter the number 2 to excute
3. Please enter the room name you
have booked.
4. Enter the customer name.
5. Enter the phone number.
6. Check the information in the
database
7. If it is correct, the message
"Cancel the reservation
successfully" and return to 1.
8. End Use-case
Actor Receptionist
Activation conditions Enter the number 7 from the keyboard
at the console
Pre-condition When the user selects actor
Receptionist and successfully logs in
the first console section when running
the program
Post-condition Accept the reservation
Main-event flow 1. The system displays the functions
that Act Recceptionist can
perform.
2. Enter the number 7 from the
keyboard
3. The system requires entering the
booked room number
4. Date of arrival
5. Days to go
6. System to change room
information
7. Return to item 1
15
Actor Administrator
Activation conditions Enter the number 1 from the keyboard
at the console
Pre-condition When the user selects actor
Administrator and successfully logs in
the first console section when running
the program
Post-condition Change password successfully
Main-event flow 1. Function display system that can
be performed by actor
Administrator.
2. Enter the number 1 from the
keyboard
3. The system requires entering a
password
4. Confirm the password
5. Check in the database
6. If the same, update the password
again
17
Actor Administrator
Activation conditions Enter number 3 from the keyboard at
the console
Pre-conditions When the user selects actor
Administrator and successfully logs in
the first console section when running
the program
Post-condition Show room list
Main-event flow 1 Function display system that actor
Administrator can perform.
2 Enter 3 from the keyboard
19
Actor Administrator
Activation conditions Enter the number 4 from the keyboard
at the console
Pre-condition When the user selects actor
Administrator and successfully logs in
the first console section when running
the program
Post-condition Create employees
Main-event flow 8 Function display system that can
be performed by actor
Administrator.
9 Enter the number 4 from the
keyboard
10 Request to enter information
including name, position, working
day, phone number,
accommodation, salary each
month
20
Actor Administrator
Activation-condition Enter the number 5 from the keyboard
at the console
Pre-ondition When the user selects actor
Administrator and successfully logs in
the first console section when running
the program
Post-condition Delete employee
Main-event flow 1. Function display system that can
be performed by actor
Administrator.
2. Enter the number 5 from the
keyboard
3. Please enter the employee ID you
want to delete
4. Ask for admin password
5. How to access the database of
trusted news
21
IV. REFERENCES
https://coderanch.com/t/317199/java/connecting-remote-PostgreSQL
https://www.wisdomjobs.com/e-university/ejb-enterprise-javabeans-tutorial-
874/ejb-access-database-22167.html
https://www.tutorialspoint.com/ejb/ejb_access_database.htm
https://developer.jboss.org/people/fjuma/blog/2017/09/08/getting-started-with-
ejbs-and-elytron-part-1
https://www.roseindia.net/ejb/entity-bean-example.shtml
https://www.youtube.com/results?search_query=xa-datasource+jboss+EJB+
https://www.tutorialspoint.com/ejb/ejb_access_database.htm
https://www.tutorialspoint.com/ejb/ejb_entity_relationships.htm
https://www.tutorialspoint.com/ejb/ejb_jndi_bindings.htm
https://www.tutorialspoint.com/ejb/ejb_query_language.htm
https://www.progress.com/tutorials/jdbc/javabeans-and-jboss
https://ejbvn.wordpress.com/category/week-2-entity-beans-and-message-driven-
beans/day-09-using-jdbc-to-connect-to-a-database/
https://www.theserverside.com/discussions/thread/29580.html
https://www.youtube.com/results?search_query=ejb+postgressql
https://stackoverflow.com/questions/42051463/trying-to-connect-to-ejb-on-wildfly-
10-1-and-getting-session-id-hasnt-been-set
https://stackoverflow.com/questions/3587289/ejb-stateless-session-beans-and-
stateful-session-bean
http://www.java2s.com/Tutorial/Java/0415__EJB3/UseJDBCInEJB.htm
https://stackoverflow.com/questions/1482732/ejb-3-with-jdbc
https://www.youtube.com/results?search_query=JDBC+EJB+
34
https://coderanch.com/t/526464/java/schema-postgres
https://www.youtube.com/watch?v=UYUUGb1ykbQ
https://www.youtube.com/results?search_query=ejb+module+jboss+statefull
https://www.youtube.com/results?search_query=ejb+module+jboss
https://www.youtube.com/results?search_query=ejb+module+jboss
https://www.youtube.com/results?search_query=ejb+module+postgresql
https://www.youtube.com/watch?v=tco2yCjRKWU
https://www.youtube.com/watch?v=_yDSptmtC38
https://www.youtube.com/results?search_query=ejb+tutorial+with+postgresql
https://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/EJB3_Ser
vices-Session_Beans.html
https://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/EJB3_Ser
vices-Entity_Beans.html
https://www.youtube.com/watch?v=NM61Xt7SGmk
https://www.youtube.com/watch?v=76LkhwOa2Rw&t=2230s
https://www.youtube.com/results?search_query=ejb+tutorial+for+beginners
https://www.youtube.com/watch?v=jhcoCVWyQDs&list=PLGwb7xZHg-
oOIpRuAK8dgqA2lEv2s2PS5
https://issues.jboss.org/browse/JBEAP-
9355?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-
tabpanel&showAll=true
https://issues.jboss.org/browse/JBEAP-
9355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
tabpanel&showAll=true
http://tuanha96.blogspot.com/2016/10/ejb-30.html