469,299 Members | 2,079 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

Help - To create a Forum

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..
Oct 29 '07 #1
10 3642
r035198x
13,262 8TB
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.
Oct 29 '07 #2
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
Oct 29 '07 #3
Pls help................
Oct 30 '07 #4
r035198x
13,262 8TB
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.
Oct 30 '07 #5
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??
Nov 1 '07 #6
r035198x
13,262 8TB
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 ...
Nov 1 '07 #7
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....
Nov 1 '07 #8
r035198x
13,262 8TB
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.
Nov 1 '07 #9
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 :)
Nov 1 '07 #10
r035198x
13,262 8TB
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.
Nov 1 '07 #11

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Bryan Martin | last post: by
1 post views Thread by Bryan Martin | last post: by
5 posts views Thread by Craig Keightley | last post: by
3 posts views Thread by Guoqi Zheng | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.