完了

creating a java application that analyses data from a social network

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).

1

(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

スキル: Java

さらに表示: creating web layout looks similar social network, windows mobile social network application, spring java social network, link analysis in social media, social network analysis software, social network analysis chart, link analysis in big data, free link analysis software, microsoft social network analysis, social network data collection software, link analysis app, bluetooth social network application, matchmaker using social network java source code, java social network, joomla 158 components creating social network website component, php mysql social network custom application development, create social network java, social network project java, java development social network, java social network game

採用者について:
( 0件のレビュー ) la courneuve, France

プロジェクトID: #24604681

アワード:

lee339

Hello, Sir. I read your opinion seriously. I have experience of 7 years and done similar projects before. As a man of trust, I can develop your project with full perfection. Let me go on, you can get the best project t もっと

€65 EUR 1日以内
(7レビュー)
3.1

6人のフリーランサーが、このジョブに平均€196で入札しています

koustav2006

Hi..i am proficient in core Java OO programming along with multithreaded programming using Thread and their pool and also networking as client/server model using TCP/IP socket API and RMI and can complete the project a もっと

€70 EUR 2日以内
(187件のレビュー)
6.3
gkbhardwaj87

6 years experience in Java / Redux / Angular / Nodejs / PHP / Django / Backned - Frontend development! All of our programming skills: *Front-end: - HTML, HTML5, JSON. - JAVASCRIPT (Ajax, AngularJS / 2 / 4 / 5 / 6 / 7, もっと

€250 EUR 5日以内
(5件のレビュー)
4.5
umairali8062

I am reading your project and checking all the details provided. I am comfortable working with you and I want to discuss your project. Kindly contact me, Thanks

€140 EUR 7日以内
(3件のレビュー)
3.2
koide3019

Hello I have checked your requirement carefully. I am a professional Java developer and I can help you perfectly. Please message me and discuss more. I will wait your good reply. Thanks

€150 EUR 3日以内
(2件のレビュー)
2.6
amit8931

Hello, I can provide you perfect work as you looking for . we can discuss more in chat . I will be waiting for your response . I have very great experience about your project , if you want discuss more please send me a もっと

€500 EUR 7日以内
(0件のレビュー)
0.0