File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Starting a social networking site project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Starting a social networking site project" Watch "Starting a social networking site project" New topic

Starting a social networking site project

Rachit Kumar Saxena
Ranch Hand

Joined: Dec 24, 2011
Posts: 50
I just finished reading and working out the marvellous book on Servlets and JSP,HeadFirst Servlets and JSP.I want to do a Social Networking Site project(implementing just the basic features of Facebook,like login,register,sending and accepting friend requests and posting on each other's wall).Any help to help me get started,will be highly acknowledged.
Jayesh A Lalwani
Saloon Keeper

Joined: Jan 17, 2008
Posts: 2744

This is a very open question, and you might get differrent answers.

If you are still learning, the way I would approach this is that work on it one feature at a time. Take one very basic most important feature and implement it. For example:- being able to post to a user's wall. Then take the next important feature and add it. Between each iteration look at what you did well and what you didn't. Improve on things that you didn't do well in the next iteration. Rinse .. repeat till you have something that you are happy

This is not much differrent from how Agile life cycle works. The biggest differrences is that in Agile, the iterations are time bound. I wouldn't try to be time bound if this is your first project. take as long as you need.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
1. MOST IMPORTANT - do not start by writing code or deciding on what toolkit to use.
2. Make diagrams of Use Cases

3. walk through the use cases for the most important features you want to start with - see if you can explain your design to potential users and listen to what they say.

Priya chek
Ranch Hand

Joined: Feb 12, 2013
Posts: 51
Start your project and understand what are the mistakes that you are committing note down it and try to fix it. Dont make that mistakes again.. if you have any doubts you can go through this site...keep it up..Wish you all the best...
Rachit Kumar Saxena
Ranch Hand

Joined: Dec 24, 2011
Posts: 50
Any helpful links to implement some features,like login,register,and send/accept friend request
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

Its been already suggested to start with the use cases first. A good design is the backbone of a good application and a bad design is the root cause of a bad application.
For your question, HFSJ does have good examples for the login mechanism. You need to tweak it to add some fancy database stuff for the credentials.

|Asking Good Questions|
I agree. Here's the link:
subject: Starting a social networking site project
It's not a secret anymore!