Find Jobs
Hire Freelancers

Test Project - J2ee

$8-15 USD / hour

Zavřený
Zveřejněno před více než 10 roky

$8-15 USD / hour

For this problem you must use Java’s semaphore class. Your implementation for this problem must only use the semaphore methods to control the concurrency of your solution (IE. acquire and release). Consider a small take-out food place called Burrito Brothers. This very popular establishment offers a VERY-TASTY burrito (assume the burrito ingredients are infinite.) There are three servers that own a private beef area, a cheese area, and a tortilla area (IE. Each server has their own ingredients in an infinite supply). Additionally there are three shared counter locations, a shared cash register and a shared waiting area that can accommodate up to 15 customers. By law the shop has a maximum customer capacity of 15. A customer cannot enter the shop if it is filled to capacity. If the there is room a customer will gain access to the shop. Each customer will enter the shop with an order of one to 20 burritos. As soon as a server is free, the customer that has the shortest order is served next. A server is either servicing a customer or waiting. Each server will make (at most) three burritos at time for a given customer. Once a server has obtained all ingredients, a burrito can be made. When a customer’s entire order is finished, the customer pays a cashier and leaves the shop. Since there is only one cash register, only one patron may pay at a time. However, in the event that a customer’s entire order has not been filled by the server at the completion of the current counter visit the customer must reenter the waiting area. The waiting area is organized by the shortest order next. Implement a solution to this problem as a Java application using the Java semaphore class for synchronization. Do not turn in you final application as a package or jar. Your zip file must expand into a single directory and your application must compile at the command prompt using javac *.java. Output must include the arrival of each customer and each state transition: leaving full shop, entering shop with an order of m burritos, customer standing, getting service from server n, paying, and leaving. Each customer is represented by a corresponding thread and each server in your implementation is also represented by a unique Java thread. All customers and servers exist within a single application. The finished assignment must include the following (submitted to WebCT as a ZIP file that extracts to a single level directory for this problem and does not include your files as a package or jar): A detailed design document fully describing your work The Java Burrito Brothers Implementation o The Java Source Code o Class files o The system must compile using the command: javac *.java. The system must run using the command: java Burrito. o Output from a run of your application.
IČ projektu: 5423107

O projektu

9 nabídky
Vzdálený projekt
Aktivní před 10 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
9 freelanceři nabízejí v průměru $10 USD/hodinu za tuto práci
Avatar uživatele
Hi there, I can implement this for you today itself. I would however take some time to do the documentation. Please PM me to discuss further. Cheers.
$8 USD v 10 dnech
5,0 (8 recenze)
4,0
4,0
Avatar uživatele
I have a Computer Engineering degree from Carnegie Mellon. While using semaphores has been mostly replaced by synchronize in Java, it's a very common concept in C which is how I learned it. And the problem you have was a standard problem in advanced programming classes when I went to school.
$12 USD v 6 dnech
5,0 (8 recenze)
4,0
4,0
Avatar uživatele
Hello, I am interested in working on the project. We have total 11 years of experience in IT industry. Risbud Software Consultancy is 4 years old now. And have completed many projects in Java, J2EE, C++, jsp. Currently we are working on school management software. We develop projects with great quality. Please give the opportunity to us. I am sure you will not repent. Thanks Minal
$10 USD v 15 dnech
5,0 (3 recenze)
1,8
1,8
Avatar uživatele
Hello, I have read your job in detail; I would like to do your project, as I am very good in - Java, - JSP, - Spring, - Hibernate, - J2EE, I am available to start the project. My availability is 15+ hours a week. Few of my work in my organization is as follow Project: BC Curriculum Management Project From 11th Sept 2013 to 1st Nov Environment: GWT,Kuali Rice Framework,KFS Project: CSBS From 15th Aug 2012 to 10h Sept 2013, 1st Nov to till Date Environment: Kuali Rice Framework,KFS, MySQL Project: Scope From 1st Jan 2012 to 15th Aug 2012 Environment: JSF, Rich Faces, Spring, Hibernate, PostgreSQL, iReport Project: Village Survey From 15th July 2011 to 1st Feb 2012 Environment: JSP, Javascript, Spring MVC, Hibernate, PostgreSQL , iReport, JFreeChart Project: P-HMMS(Web) From DEC-2010 to FEB 2012 Environment: JSF, Rich Faces, Spring, Hibernate, PostgreSQL I look forward for your consideration.
$8 USD v 2 dnech
5,0 (2 recenze)
0,6
0,6
Avatar uživatele
Hi..i can do this semaphor controll over the java app..i am experienced java developer to do this task we can discuss more Thank you
$8 USD v 3 dnech
0,0 (0 recenze)
0,0
0,0
Avatar uživatele
A proposal has not yet been provided
$8 USD v 7 dnech
0,0 (0 recenze)
0,0
0,0
Avatar uživatele
I'm coding java applications since more than 15 years now, so I'm sure I can solve this problem without any problem, it looks like a classical school exam problem
$10 USD v 1 dni
0,0 (0 recenze)
0,0
0,0
Avatar uživatele
A proposal has not yet been provided
$10 USD v 2 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z INDIA
India
0,0
0
Členem od úno 11, 2014

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.