Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !

Sujet : JSP,Servlet et EJB [ Archives / JavaBeans ] (Raja108)

mardi 11 avril 2006 à 10:58:46 | JSP,Servlet et EJB

Raja108

You are being asked to design an on-line newspaper system. The system will allow subscribers to read the newspaper, journalists to add articles and managers to retrieve management data, delete articles etc.

 

The system will need a database backend to store the articles etc.  The database will need to store at least the following information:

 

·         The articles associated with each edition of the newspaper – note that you don’t have to worry about storing anything sensible here, just copy some text (one paragraph will suffice) from the web on anything (you don’t have to reference where the text came from J)

·         Journalist associated with each article

·         List of user ids, passwords for each subscriber, journalist and manager.

 

This Web-based application is to be written using Java servlets, JSPs and enterprise java beans which connect to an Access database using JDBC.

 

The requirements of the system are expressed as a number of levels.  The level that you implement will determine the maximum possible mark that you are eligible to be awarded.

 

Set up an Access database with a sufficient variety of current and historical information in order fully to demonstrate the functionality you have implemented.

 

Level 1 (up to a maximum of 50%)

 

This is to be implemented using either JSP or Java Servlet technology talking to your database. Note: You must use at least one Java Servlet somewhere in your coursework solution, preferably as a front controller.

 

a)         The first page will be a login page for subscribers, journalists or managers. Passwords for each individual user should be stored in the database and checked on login – if correct, the person is presented with their option screen (for this level, they will all be given access to do the same functionality), if the password is incorrect, a suitable error message will be displayed.

 

b)         All subscribers, journalists and managers will be able to read articles from a particular edition and;

 

c)         display a list of articles from any edition that contains a particular key word specified by the user.

 

Level 2 (up to a maximum of 60%)

 

This is to be implemented using either JSP or Java Servlet technology talking to your database. Note: You must use at least one Java Servlet somewhere in your coursework solution preferably as a front controller.

 

a)         The Journalist should be able to submit an article for publication. This should include an article title in addition to the text. The date the article is submitted should automatically be recorded in your database – the Journalist should not have to enter it.

 

b)         Once submitted, it will be given an approval status. Initially this status will be “Not yet approved”. A manager should be able to browse articles submitted and in the “not yet approved” status and change them to the “accept” status or “reject” status. Once in the “accept” status, the manager should be able to assign the article to a particular edition of the newspaper.

 

c)         Journalists will be able to edit their own articles as long as they are not in the “accept” status.

 

 

Level 3 (up to a maximum of 100%)

 

This is to be implemented making appropriate use of enterprise java beans to talk to your database.  Note that an implementation without EJBs will not attract any marks.

 

a)       Provide a facility for the manager to add new subscribers and journalists to the DB and allocate them a user id and password. They should then be able to browse the list of user ids and passwords to check the entry has been made.

 

b)       Obtain statistics on the journalists e.g. number of journalists, how many articles submitted by each, how many accepted, how many rejected, how many edits made before the article was accepted.

 

c)       Delete an article.




Cette discussion est classé dans : and, to, of, articles, will


Répondre à ce message

Sujets en rapport avec ce message

Forcer [régler l'alocation de la jvm] Java Heap Size Options [ par Syruis ] Bonjour, j'ai réailsé une applet... qui fonctionne mais qui demande de la mémoire (> 128Mo par défaut)... docn j'ai trouvé ca: <table bordercolorligh Swing framework opensource [ par mcarniel ] The rise of Rich Internet Applications (RIAs) has lately become an important topic in the Java community. In addition to new technologies like AJAX an Fermeture d'une fenêtre [ par coucounet ] Bonjour à tous!J'ai un gros souci concernant les JFrame :J'ai mon appli qui tourne dans une JFrame principale. Il m'arrive parfois d'ouvrir d'autres J How to insert the values of a select list into the database? [ par StefDB ] How to insert the values of a select list into the database?ThanksStef DB out of memory lors de l'ouverture d'un ficher xls generé par POI [ par bricks ] Bonjour,J'utilise POI pour generer un fichier Excel. La generation ne pose pas de problème particulier et le fichier xls est bien crée.J'ai lors de l' message d'erreur [ par zmaai ] je suis débutant en java, je cherche à commencer. J'ai installer la versiond'éssai vjtrial j'ai téléchargé qq code quand je compile le message d'erreu java to xml [ par manel1983 ] generer un document xml avec java à partir d'une base de données Look and feel [ par drizzt40 ] Où est ce qu'on peut télécharger des look and feel (laf) pour des applications en Java. J'ai cherché partout mais j'ai rien trouvé. |-Drizzt-| Petit test basic [ par bilou74 ] Le ch'tit bout de prog qui suit sert à calculer le nombre de combinaisons de 3 N° parmis 7 couvrant toutes les combinaisons de 2.Il fonctionne très bi cherche Look And Feel MacOs [ par timinou ] Quelqu'un sait si c'est possible de trouver le look and feel MacOs de le l'utiliser sous windows? j'arrete pas de chercher sur le web et je trouve pas


Nos sponsors

Sondage...

CalendriCode

Décembre 2008
LMMJVSD
1234567
891011121314
15161718192021
22232425262728
293031    

Consulter la suite du CalendriCode

Téléchargements



Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel BAÏSE, Merci à Vincent pour ses précieux conseils
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés
Temps d'éxécution de la page : 0,203 sec

Google Coop CodeS-SourceS Google Coop CodeS-SourceS


Certaines images présentes sur le site (notament certains avatars) sont issues des collections IconShock, donc si vous souhaitez utiliser ces icons vous devez les acheter, ne les copiez pas et ne utilisez pas dans vos sites et applications sans les avoir commandé.