Lukket

java exercise

The purpose of the exercise: to build a site that allows you to enter the chat room and send messages.

Topics: Servlets (ServletContext, Dispatcher), Seats and / or Cookies, Ajax / JSON

The site does not use a database.

A user registers his name, clicks a button and enters Chat.

Total sign-in page:

• Form contains text input for user name input.

• A button to enter the chat room

(User name).

CHATROOM page includes:

• Title Title: Welcome <Username> when <Username> contains the username

• A form with text input and a button to send a chat message

• Exit button from chat

• Chat: Content of all sent messages (sender name and message to each)

Avoid sending empty messages (including spaces only).

This page is automatically updated every 30 seconds without loading the page again. You must use Ajax and implement a Servlet that returns the chat content in JSON format. In addition, the page will automatically switch to the login page, if the user is no longer logged in. This can happen when the user opens two pages and logs off.

There are no exact instructions on the number of pages but in general the user must be allowed to browse between pages by buttons or links of the site itself and not based on the buttons of the browser (for example the error page requires a button to continue surfing).

Must be exercised:

• Login to chat

• Exit chat

• sending a massege

• Receiving the client chat and updating the page (Ajax / JS + JSON servlet)

• Input validation

Part of the purpose of the exercise is to divide the code into servlets. There are no instructions on the servlet number, but you are required to implement at least 2 servlets, for example, for login / exit, and for the chat itself.

additional requirements:

Avoid writing long HTML / css / js code within Java / Servlet. It should be used in include of external html files (this is also much more convenient and readable).

You can use [login to view URL] () to divide roles between servlets: for example, it is common to define a servlet whose function is to pass requests to different servlets. Of course, you can store information in session cookies, servlet context. Note that there may be problems of synchronized sections if you use the servlet context.

When a user logs in to chat, check that they already have their name on the Sign In page. If the user is not recognized (or exported), they will be sent directly to the login and will not be able to see the chat page.

Evner: HTML, Java, Javascript, MySQL, PHP

Se mere: java exercise bid class, simple java exercise, give project java exercise, java programming exercises for experienced, java practice projects, java coding practice for beginners, java tutorial, java exercises pdf, java programming exercises book, java programming problems and solutions pdf, java programming assignments, small java exercise solution asterisks, java exercise project, java exercise solution, best java exercise, java exercise without job, big java exercise solutions, asterisks java exercise, big java exercise, java exercise boundedbuffer semaphore

Om arbejdsgiveren:
( 0 bedømmelser ) Ramat Gan, Israel

Projekt ID: #19476849

9 freelancere byder i gennemsnit $88 på dette job

utkarshkatiyar19

Hi I'm an expert in java programming. I'm sure that I can easily do this project. We can have a about it. Thanks..

$120 USD in 3 dage
(296 bedømmelser)
7.2
developersperhr

I Will Design,Redesign, Modify, Redraw,Edit Logo Or Any Graphic I Will Meet Your Graphic Design Needs I will create a graphic or illustration for you! Landing Page Link:- [login to view URL] Flere

$20 USD in 7 dage
(50 bedømmelser)
5.8
rp07364

Hello there, Hope you are doing good...!!! As per your requirement I am very much suitable for your job. Please invite me for a further chat and we will discuss on our project. I have 5 years of experience in Flere

$25 USD på 1 dag
(10 bedømmelser)
4.3
valiksoin

Dear , ** I am software developer. I'm very interested in your project. I worked too many jobs, before in other company. Now my freelancer account is beginner but I have enough experience. [My Skill] Game - html5 ga Flere

$20 USD in 7 dage
(8 bedømmelser)
3.3
yekaterinabescka

Hello. I am ready to complete your project. My works [login to view URL] [login to view URL] http://ekaterinabeskaravainaya.web-developer24.r Flere

$450 USD in 7 dage
(1 bedømmelse)
2.6
tudorpirau

Hello, I have great experience with Java and Javascript. I am sure I can do this project for you. Regards, Tudor.

$77 USD in 4 dage
(2 bedømmelser)
2.3
evonsystems7

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do th Flere

$20 USD in 7 dage
(3 bedømmelser)
0.0
dhauphady14

I am expert in Java language and I have done several projects to companies in my county and delivered on time

$25 USD på 1 dag
(0 bedømmelser)
0.0
alisasoli20

Sir I have great epxerience of developing java applications. I had been working on java for 2 years. I had done a lot of job on java servlets also. sir you can check my work on github [login to view URL] Flere

$35 USD in 3 dage
(0 bedømmelser)
0.0