This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm currently looking at technical solutions for a system that will present a number of training-courses to various employees. The courses itself are currently written in standard HTML and are independent of each other. When a user login they will be given a set of courses they signed up for. One of the requirements and the one I'm having problem with is finding a technical solution to how to implement a feature such as when an user logon to the system all pages will be marked as unvisited. As you click on each page the unvisit flag disapear. It is also possible that new content will be added to a particular course and this should also be reflected in terms of an unvist flag next time the user login. I'm planning to implement the system using Tomcat, servlets and JSP's, probably with a back-end database to store user info etc.
If anyone could talk me through on a possible technical high level solution that would be much appreciated.
We are actually thinking of turning all the html pages into xml and then using XSLT to generate the output. I don't have a clue how we would implement this feature in that case.
Also the system should coup with at least 200 users concurrently accessing the course material (I guess you have to take that in consideration if you planning of generating html on-the-fly through XSLT).
A visited/unvisited flag would probably be illustrated in form of a symbol in front of the page. Given the assumption there is a navigation tree displaying the structure of the course. I believe visited pages need to be tracked in a database or some other form of persistent storage (xml maybe). The system owner actually wants to have some control over what the users have looked at and not looked at.