SCJA

SCJP

XML Mstr Bsc

OCA

ISTQB CTAL


en

fr

de

Bookmark

Home

Servlet

Links

Links

Map



My first Java applet         Java Get Powered


*  Mozilla Firefox 3.6.4 / XP: OK, Internet Explorer 8 / XP: OK, Apple Safari 5 / XP: OK, Opera 10.54 / XP: OK, Google Chrome 5.0.375.86 / XP: OK


Illustration of the dining philosophers problem [1]



Your browser does not support the <applet> tag.


[Use this link to get a free download of the latest version of the Java Runtime Environment (JRE): http://java.com/en/download/index.jsp]


Video demonstration







Comparison of different solutions



Solution

Deadlock prevention

Equal distribution

Screenshot

None

No

Yes

No solution

Resource hierarchy

Yes

No

Resource hierarchy

Chandy / Misra [1]

Yes

Yes

Chandy / Misra



Helpful links



     ***  [Java]  Programmer en Java, Claude Delannoy, Eyrolles.  fr
     **  [Java]  Java SE Overview: Java SE at a Glance.
     *  [Java]  Code Conventions for the Java Programming Language: official Java Code Conventions.
     *  [Java]  Eclipse IDE for Java Developers: a free and open source integrated development environment.
     *  [Java]  ProGuard: a free Java class file shrinker, optimizer, obfuscator, and preverifier.
     *  [Java]  JUnit: a free unit testing framework for Java.
     *  [UML]  ArgoUML: a free UML design tool.
     *  [XML]  XML Copy Editor: a free XML editor.
     *  [XML]  EditiX Lite: another free XML editor.
           [media files]  Wikipedia, Wikimedia Commons: public domain media files.
           [UNIX]  Cygwin: a free UNIX emulator for Windows.
           [HTML]  HTML Tidy: a free and open source program for checking and generating clean XHTML/HTML.
           [HTML]  HTML Validator: a free service that checks HTML pages for conformance to W3C standards.
           [HTML]  Link Checker: a free service that checks links.
           [HTML]  Web Page Analyzer from Website Optimization: a free service that analyzes the load time of a webpage.
           [HTML]  Site24x7: another free service that analyzes the load time of a webpage.
           [HTML]  Browsershots: a free service that shows how a webpage is displayed in different browsers.
           [HTML]  Cross-Browser: another free service that shows how a webpage is displayed in different browsers.
           [HTML]  Notepad++: a free text editor.
           [FTP]  FileZilla: a free FTP client.


ArgoUML
Class diagram with ArgoUML


ArgoUML
Statechart diagram with ArgoUML



References



     1. “Dining philosophers problem”, Wikipedia




This page was last modified on 27 June 2010.
Copyright (c) 2009-2010  O. Narat.  All rights reserved.


My statistics


Valid XHTML 1.0 Transitional Valid CSS                 spampoison      Fight Spam! Click Here!