Find Jobs
Hire Freelancers

java exercise

$10-30 USD

Cerrado
Publicado hace alrededor de 5 años

$10-30 USD

Pagado a la entrega
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.
ID del proyecto: 19476849

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
6 freelancers están ofertando un promedio de $122 USD por este trabajo
Avatar del usuario
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 en 3 días
4,9 (331 comentarios)
7,4
7,4
Avatar del usuario
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 en 1 día
4,8 (17 comentarios)
4,7
4,7
Avatar del usuario
Hello, I have great experience with Java and Javascript. I am sure I can do this project for you. Regards, Tudor.
$77 USD en 4 días
4,5 (2 comentarios)
2,3
2,3
Avatar del usuario
I am expert in Java language and I have done several projects to companies in my county and delivered on time
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de ISRAEL
Ramat Gan, Israel
5,0
1
Forma de pago verificada
Miembro desde nov 28, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.