
Closed
Posted
Paid on delivery
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.
Project ID: 19476849
6 proposals
Remote project
Active 7 yrs ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $122 USD for this job

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 days
7.4
7.4

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 web development, You will always get quality work from me. Thank you
$25 USD in 1 day
4.7
4.7

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 days
2.3
2.3

I am expert in Java language and I have done several projects to companies in my county and delivered on time
$25 USD in 1 day
0.0
0.0

Ramat Gan, Israel
Payment method verified
Member since Nov 28, 2018
$15-25 USD / hour
$250-750 USD
$30-250 USD
$30-250 USD
$8-15 USD / hour
₹1250-2500 INR / hour
£250-750 GBP
₹600-1500 INR
$250-750 USD
$250-750 USD
$250-750 USD
₹12500-37500 INR
$2-8 USD / hour
₹12500-37500 INR
₹1500-12500 INR
$10-30 USD
₹1500-12500 INR
$30-250 USD
$250-750 USD
₹12500-37500 INR
$250-750 USD
$10-30 USD
₹75000-150000 INR
$30-250 AUD