Find Jobs
Hire Freelancers

creating a java application that analyses data from a social network.

€8-30 EUR

Cancelled
Posted about 4 years ago

€8-30 EUR

Paid on delivery
This homework must be filed as a jar archive BEFORE April 2, 2029 on the ENT, indicating your full names. This archive must contain : — java source codes — installation documentation — user documentation The homework is to be done in groups of 2 or 3 people. You can take the initiative to complete or modify what is requested below. The objective consists in creating a java application that analyses data from a social network. Data of the social network we consider are of two types : message and comment. A message initiates a thread (of discussion), a comment comments a message or a comment. — A message is defined with the following items : — date : date of the message — idMessage : is the (unique) identifier of the message (integer) — idUser : is the (unique) identifier of the user (integer) — message : is the content of the message (string) — user : is the name of the user (string) — A comment is defined with the following items : — date : date of the comment — idCommentaire : is the (unique) identifier of the comment (integer) — idUser : is the (unique) identifier of the user (integer) — comment : is the content of the comment (string) — user : is the name of the user (string) — pidCommentaire : is the identifier of the comment this comment comments (-1 if this comment comments a message) — pidMessage : is the identifier of the message this comment comments (-1 if this comment comments a comment) The aim is to create a server that computes continuously the 3 messages that have the best value of importance. The value of importance is an integer that characterizes the importance (or the relevance, the accuracy, ...) of a thread of discussion (each new message initiates a new thread of discussion). The higher the value, the more important the message is. The value of importance of a message is computed as the sum of its score and the scores of its associated comments. A comment is associated to a message if this comment is a comment to the message or to a comment associated to this message. A score is a positive or null integer. Each message or comment has an initial score of 20, the score decreases by 1 each 30s. If the total score of a message is 0 then this message is considered inactive, even if other comments are then associated to it. Only active messages can be among the 3 best. The server is supposed to be connected to a social network and receive messages and comments from it. This will be simulated : the server reads data from a file. 1. Define classes Comment and Message. 2. Define a server that should perform the following operations : (a) A (java) thread reads from the file [login to view URL] messages and comments and computes continuously the 3 best messages (the 3 messages that have the best value of importance). The reading of a line of the file (i.e., a message or a comment) is done after a random time of between 1 and 3s. (b) A pool of (java) threads will be used for answering clients. If a client connects to the server, the server sends the client the 3 messages that have the best value of importance (at the time the client connects) in the following pattern : idMessage|idUser|idMessage|idUser|idMessage|idUser 3. The server should be defined such that : (a) The java thread that reads data and computes the best messages should be on a virtal machine distinct from the one where the pool of threads is deployed (use RMI). (b) The data file is read via a protocol handler. (c) Results are sent in XML. The file [login to view URL] contains data that you may use for testing your application. A line is either a message or a comment, hence of one of the three following patterns : idMessage|idUser|message|user|| idCommentaire|idUser|commentaire|user|pidCommentaire| idCommentaire|idUser|commentaire|user||pidMessage
Project ID: 25365579

About the project

5 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average €64 EUR for this job
User Avatar
Hi there I am a senior software engineer with 10 years of practical programming experience. I have excellent programming and development skills in various programming languages and frameworks. I am interested in your project. I will provide an efficient, robust and well documented solution with dedicated support. I will anticipate to discuss the details to get started. Thanks Farah Khan
€150 EUR in 5 days
5.0 (464 reviews)
7.3
7.3
User Avatar
HI I have done many java projects. Kindly contact to share more details about your project in chat and we can negotiate the price if needed. Thank you
€30 EUR in 7 days
5.0 (69 reviews)
6.2
6.2
User Avatar
Please see the reviews on my profile regarding to java. Sir I did Masters in Computer Science. i have experience of 7 years in Spring java, Mirth, Hibernate, Web Services, Swing Java. you take update of your project any time from me. I am ready to start your project right now. I don't want any payment unless you satisfied.
€90 EUR in 3 days
5.0 (4 reviews)
2.0
2.0
User Avatar
I am a front and back jee developer, I have 8 years of experience with different companies with different frameworks: Jsf / primefaces, Angular,React, html5,Json, Xml, bootstrap, jquery, springboot, REST, spring data, postgresql,mysql Thank you
€30 EUR in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I do have strong experience with this kind of work and I am willing to work on this for full time. I will be there for support and maintenance as well. Call me directly if you have any concerns. Thank You.
€19 EUR in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of FRANCE
la courneuve, France
5.0
4
Payment method verified
Member since Mar 25, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.