Help - To create a Forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snowfall
    New Member
    • Aug 2007
    • 56

    #1

    Help - To create a Forum

    Hi, I need to create a discussion forum within my team in java, j2ee. Its basically similar to that of our TSDN. The person should be allowed to view the discussion, create a new discussion and post in it.

    Pls give me some suggestions regarding how it can be done..
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by snowfall
    Hi, I need to create a discussion forum within my team in java, j2ee. Its basically similar to that of our TSDN. The person should be allowed to view the discussion, create a new discussion and post in it.

    Pls give me some suggestions regarding how it can be done..
    It's basically a web based application. Are you planning on using JSPs for it? Otherwise the question would be in the wrong forum.

    Comment

    • snowfall
      New Member
      • Aug 2007
      • 56

      #3
      Originally posted by r035198x
      It's basically a web based application. Are you planning on using JSPs for it? Otherwise the question would be in the wrong forum.
      Ya jsps & servlets...
      Am planning to use Tomcat Server, jdk1.5 & MySql as backend...

      As its a forum, the data will be huge.. So i guess that it cant be saved in dbase.
      I thought i should save the data in CSV format in files n retrive....

      But am not clear about how to implement it

      Am i in the right track??
      Pls suggest me how to proceed with it

      Comment

      • snowfall
        New Member
        • Aug 2007
        • 56

        #4
        Pls help........... .....

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by snowfall
          Ya jsps & servlets...
          Am planning to use Tomcat Server, jdk1.5 & MySql as backend...

          As its a forum, the data will be huge.. So i guess that it cant be saved in dbase.
          I thought i should save the data in CSV format in files n retrive....

          But am not clear about how to implement it

          Am i in the right track??
          Pls suggest me how to proceed with it
          You should be able to create it with JSPs, Servlets and MySQL as backend. Most people use PHP but JSPs can do the job as well. The one thing you should be concious about always is speed. People don't like slow forums.

          Comment

          • snowfall
            New Member
            • Aug 2007
            • 56

            #6
            Originally posted by r035198x
            You should be able to create it with JSPs, Servlets and MySQL as backend. Most people use PHP but JSPs can do the job as well. The one thing you should be concious about always is speed. People don't like slow forums.
            Should i save each thread in separate file??

            or if in the same file name then how to have a primary key, foreign key relationship between the thread and its replies??

            Comment

            • r035198x
              MVP
              • Sep 2006
              • 13225

              #7
              Originally posted by snowfall
              Should i save each thread in separate file??

              or if in the same file name then how to have a primary key, foreign key relationship between the thread and its replies??
              I'm not sure what you mean by "each thread in a separate file".
              For primary key and foreign key relationships, I guess you'll just have to read a database tutorial ...

              Comment

              • snowfall
                New Member
                • Aug 2007
                • 56

                #8
                Originally posted by r035198x
                I'm not sure what you mean by "each thread in a separate file".
                For primary key and foreign key relationships, I guess you'll just have to read a database tutorial ...
                Should i save the threads in the forum in database or in files??

                If in files, should i save each discussion(mean to say, each question and replies) in separate file or in the single file, should i maintain all the discussions??

                pls help me....

                Comment

                • r035198x
                  MVP
                  • Sep 2006
                  • 13225

                  #9
                  Originally posted by snowfall
                  Should i save the threads in the forum in database or in files??

                  If in files, should i save each discussion(mean to say, each question and replies) in separate file or in the single file, should i maintain all the discussions??

                  pls help me....
                  Why don't you research more about how other forums are created before you start making your own forum.

                  Comment

                  • snowfall
                    New Member
                    • Aug 2007
                    • 56

                    #10
                    Originally posted by r035198x
                    Why don't you research more about how other forums are created before you start making your own forum.
                    Ya am doing that...
                    TSDN is also a forum right, so only came for help :)

                    Comment

                    • r035198x
                      MVP
                      • Sep 2006
                      • 13225

                      #11
                      Originally posted by snowfall
                      Ya am doing that...
                      TSDN is also a forum right, so only came for help :)
                      Well in that case you'd have to ask whoever wrote the code to create this forum rather than members who post in the Java forum.
                      I've directed you to look at how other forums are created because you are not even sure how the threads themselves are stored and how to use a database to store forum data. That forms the basis of the whole thing
                      and so I thought you might need quite a bit of reading before we start discussing the keys and foreign keys that you are going to need.

                      Comment

                      Working...