Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: chat system

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation chat system

    I want to built a web-application(Chat System), where student can interact directly with teachers. But within student to student, there must be some strict rules which student cant disobey. There should be two types of Register Student and Teacher. im not confused with the codes, please get me some algorithm and or the networking part .. Thank you.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,416
    Thanks
    49
    Thanked 2,215 Times in 2,188 Posts

    Default Re: chat system

    That sounds like a complicated application to design and write. How long are you planning to work on it?
    Do you have any one to help you?

    There are several examples of chat applications from students here on the forum.
    You should be able to find them with search.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: chat system

    I've 3 months, im not a professional im a student in BIT. its my college project.. And im new in this forum.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,416
    Thanks
    49
    Thanked 2,215 Times in 2,188 Posts

    Default Re: chat system

    That could be long enough.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Member Chris.Brown.SPE's Avatar
    Join Date
    May 2008
    Location
    Fort Wayne, Indiana
    Posts
    190
    Thanks
    1
    Thanked 31 Times in 31 Posts

    Default Re: chat system

    This is a very large and long term project it sounds like. Start by picking a design pattern and working through it. Most college programs can use a waterfall approach. Design, Code, Test. Start by defining what you want to make then break it up into parts and get more detailed. Sounds like you need separate roles for students, teachers, and whoever else. Define who goes into these roles and what they are allowed to do. Only after you have all of this stuff defined should you start coding.
    Writing code is your job, helping you fix and understand it is mine.

    <-- Be sure to thank and REP (Star icon) those who have helped you. They appreciate it!

  6. #6
    Junior Member
    Join Date
    Mar 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: chat system

    could you please help ne with the algorithm PLEASE/

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,416
    Thanks
    49
    Thanked 2,215 Times in 2,188 Posts

    Default Re: chat system

    Designing apps is the fun part. Once you have the design, writing the code can be boring.
    You need to spend the time designing the app.

    help ne with the algorithm
    What design do you currently have?
    If you don't understand my answer, don't ignore it, ask a question.

  8. #8
    Member Chris.Brown.SPE's Avatar
    Join Date
    May 2008
    Location
    Fort Wayne, Indiana
    Posts
    190
    Thanks
    1
    Thanked 31 Times in 31 Posts

    Default Re: chat system

    Quote Originally Posted by Norm View Post
    Designing apps is the fun part. Once you have the design, writing the code can be boring.
    I must disagree Norm, I live for the code! Although a good design session can come up with some pretty cool stuff.

    Quote Originally Posted by Dikshanta View Post
    could you please help ne with the algorithm PLEASE/
    I don't see a complicated "algorithm" here. Once you have your design, the code should just fall into place. If you run into networking issues you need to list those specifically and we can help out. If the roles portion is what is holding you up, I suggest having each user object with a role value then when you load your GUI or execute a function, do a check that the user can see or do it. If they cant, disable the option or display a message that they do not have adequate permissions.
    Writing code is your job, helping you fix and understand it is mine.

    <-- Be sure to thank and REP (Star icon) those who have helped you. They appreciate it!

Similar Threads

  1. Chat Program Help
    By WooZy in forum Java Networking
    Replies: 1
    Last Post: April 30th, 2012, 06:16 AM
  2. Chat Algorithm
    By ryan0788 in forum Java Theory & Questions
    Replies: 3
    Last Post: February 20th, 2012, 10:59 AM
  3. Voice chat
    By sana'a in forum Java Networking
    Replies: 3
    Last Post: October 11th, 2011, 04:14 PM
  4. SSL Chat implementation
    By Koren3 in forum Java Networking
    Replies: 6
    Last Post: April 24th, 2009, 08:20 AM