Web Design and Web Development Forum

  1. #1
    Join Date
    Oct 2005
    Location
    UK
    Age
    27
    Posts
    165
    Rep Power
    7
  2. computer is on a distinguished road
  3. java class diagram

    hi,

    i have created a java instant messenger using client and server side design. i am stuck at class diagram part. i was thinking as it is a networking and writing to database application, would i do the class diagrams as web application or just model the server as a class and do the relationships etc

    thanks
    Reply With Quote Reply With Quote
  4. #2
    4fingers's Avatar
    Join Date
    Aug 2005
    Location
    UK, Scotland
    Age
    25
    Posts
    850
    Rep Power
    7
  5. 4fingers is on a distinguished road
  6. Re: java class diagram

    Although I can't really help in giving your the correct answer I might be able to help in finding the answer. Even though I don’t know myself it might help to define what a web application is.

    Google comes up with a few things and mainly that a Web application is an application that's accessed with a web browser over a network such as the Internet or an intranet.

    With that in mind you may not want to class an instant messenger as a web application. I can't say if then modelling the sever as a class is correct but it does seem a like reasonable and safe idea. In the end it may be down to personal choice and how you interpret the program but either way I would maybe wait for an answer from someone with more knowledge than me on this subject. Unless of course you’re happy with this answer ;)

    The four finger rule: There is no middle finger.
    Reply With Quote Reply With Quote
  7. #3
    Join Date
    Oct 2005
    Location
    UK
    Age
    27
    Posts
    165
    Rep Power
    7
  8. computer is on a distinguished road
  9. Re: java class diagram

    hi,

    thanks for the reply, i have already created the messenger, if i just do reverse engineer and write the classes then link them, would that be approperiate?

    thanks
    Reply With Quote Reply With Quote
  10. #4
    4fingers's Avatar
    Join Date
    Aug 2005
    Location
    UK, Scotland
    Age
    25
    Posts
    850
    Rep Power
    7
  11. 4fingers is on a distinguished road
  12. Re: java class diagram

    Just make sure that the "class diagram shows the classes of the system, their interrelationships (including inheritance, aggregation, and association), and the operations and attributes of the classes."

    These sites may help more than me:
    http://www.agilemodeling.com/artifacts/classDiagram.htm

    http://www.agilemodeling.com/style/classDiagram.htm

    The four finger rule: There is no middle finger.
    Reply With Quote Reply With Quote

Similar Threads

  1. Black jack help plz!
    By kr777 in forum Java Programming
    Replies: 13
    Last Post: 04-17-2006, 10:15 AM
  2. error in main class
    By computer in forum Java Programming
    Replies: 3
    Last Post: 02-06-2006, 08:57 AM
  3. installing red hat
    By rich_m in forum Unix/Linux/BSD
    Replies: 12
    Last Post: 01-29-2006, 10:25 AM
  4. Replies: 7
    Last Post: 06-22-2005, 08:42 PM
  5. JAVA tutorial CHAPTER #1
    By omanofmysteryp in forum Articles, Tutorials, and Guides
    Replies: 6
    Last Post: 05-01-2005, 07:43 AM