Don't go and implement those things yourself. There's many libraries available to take care of such things for you that do a far better job than what you could come up with.
Security is a complex issue, and very hard to get right (be careful selecting your tools therefore, many of them are bound to have serious flaws).
SSL for example starts at your webserver but doesn't stop there.
ALWAYS doublecheck all your input data, both clientside and serverside validation should take place on it.
Login details should be stored such that they can't be decrypted (just in case your database server gets compromised.
If that sounds impossible, it isn't (I've done it myself) :)
As said, use a proper architecture. Servlets, Javabeans, and JSP (using JSTL of course, not scriptlets).
Forget (IMO) about EJB, they're overkill for almost every scenario.
Write proper analysis and design documents. Those are IMO even more important than the actual code for a small project like this, especially in an academic setting (of course in the real world the code is the only thing that counts, but if the design sucks so will the code and most likely it will never get done).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Correct. And employers don't look for unique solutions, they look for working solutions that can be maintained by others when you're gone.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Simplest solution would be have database with table of user details with unique ID for each member. This would hold username and password at-least to ensure that voting member is who he/she say is. For each voting process I would create new table with members ID's and vote cats of Boolean type to see if the person already voted or not (not they selected vote option). Plus I would have table with vote options where each option will hold integer value that will be incremented depending on members vote. Is that understandable?
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
an even simpler solution is to check the timestamps on posts before replying to them...
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
What functionalities? That is up to you to find out. Every student project require some degree of RESEARCH!
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902