Thanks to visit codestin.com
Credit goes to github.com

Skip to content

x1y1z2/projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

projects RAR file

We import all projects to eclipse : FILE>IMPORT>EXISTING PROJECTS INTO WORKSPACE>[localization]>OK

1.DodawanieUzytkownika(adding an user)

2.ProducerAndConusmer

3.RestaurantWithHistory

4.SafeSingleton(swimming pool)

#RestaurantWithHistory To test a program we compile it and after displaying user interface we move it in place we can also see the console Next we write the amount of meals we want to order and click TAKE ORDER button Tasks for employees are placed in order - method execute() is launched every time when the meal is ready , each object has its own implementation of execute() method . Employee notifies that meal is ready by EXECUTE button and the task is removed from task list . It is possible to check the history of ordered meals by SHOWHISTORY button , History of meals is generated manually – on demand , while tasks for employees are automatically updated after every order(observer design pattern implementation) . At the bottom we can see data about ordered meals By X button we can remove History and data , this button does not affect tasks for employees #DodawanieUzytkownika(adding an user) After adding project to eclipse we set configuration database on properities approximate in your computer in file : src//main/webapp//WEB-INF/spring/appServlet/servlet-context.xml , in the place :: bean id="dataSource..." We lunch the project on the tomcat server and we write an address in Mozilla firefox :: http://localhost:8080/DodawanieUzytkownika/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published