• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Creating a shared space in Java?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

I want to know how to create a shared workspace with these services available:
a.Discovery service (to obtain the list of member in the community)
b.Instant Messaging (1 to 1 chatting)
c.File Sharing (Each member in the community will have a shared
folder in the PC, which allow other member access it, list and
download)
d.Bulletin Board � OPTIONAL (Anyone in the community can paste a
message on the shared board, making general announcement)

Technical Requirement
1.The program MUST be written in Java.
2.Use multicast socket for the discovery service.
3.Point-to-point instant messaging is a MUST, multiple clients
accessing a single chat server is NOT ALLOWED.


I need to use Java programming language to do this. However, I do not have any ideas how to start. Can anyone teach me or tell me whether there are any tutorials or guides for me to learn how to do this?
Thanks in advance.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I understand you correctly, this sounds like a job for the JINI approach. An alternative would be use of Java Message Service. This Sun page on JMS should help.
The way these Technical Requirements are stated, this sounds like a class assignment, correct?
Bill
 
author
Posts: 23928
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, it does sound like an assignment -- which is why I recommend against using Jini. The technical requirement implies that you must write your own discovery service, using multicast sockets. Not use an already implemented discovery service -- that happens to use multicast sockets.

Henry
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Henry. There's more than a little work inplied in this project. Once you've gotten started, you might ask more specific questions in the Distributed Computing forum.

I am closing this topic.
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic