Name / Nom :
Autumn 2013
JEE Examination
Documents autorisés / Authorized documents : Aucun / None Durée / Duration : 1h30.
Question 1 : Y a t-il une différence entre le Serveur Web Apache et le serveur Apache Tomcat ? Expliquez.
Is there a difference between an Apache Web Server and an Apache Tomcat Server?
Explain.
(2 points / 5 minutes)
Question 2 : A quoi sert le type MIME ? What is the MIME type for?
(1 point / 2 minutes)
Question 3 : Comment pourriez-vous décrire la technologie JSP ? How would you describe the JSP Technology?
(2 points / 5 minutes)
Question 4 : En Java, peut-on se passer de Servlets pour fournir du contenu Web ? Expliquez.
With Java, is it possible to write a web application without the help of Servlets?
(1 point / 3 minutes)
Question 5 : Quelle différence principale y a t-il entre le modèle Web MVC et Web MVC 2 ?
What's the main difference between the Web MVC model and the Web MVC 2 model?
(1 point / 2 minutes)
Question 6 : Que pensez-vous de l'affirmation “POST est plus sécurisé que GET, autant utiliser tout le temps POST” ?
What do you think about the assertion “POST is more secure than GET, we had better to use POST in all circumstances”?
(2 points / 5 minutes)
Question 7 : A quoi sert la balise <url-pattern> dans le descripteur de deploiement ? In the deployment descriptor, what is the <url-pattern> tag for?
(1 point / 2 minutes)
Question 8 : Entre coopération (forward) et redirection (redirect), dans quel cas l'URL affichée dans le navigateur ne change t-elle pas ? Pourquoi ?
Between the cooperation strategy (forward) and the redirection strategy (redirect), in which case won't the new URLs be displayed in the browser? Why?
(2 points / 5 minutes)
Question 9 : Comment fonctionne le mécanisme de session HTTP ? Describe how the HTTP session mechanism work?
(2 points / 5 minutes)
Question 10 : Dans quel cas stockeriez-vous une information en Cookie plutôt qu'en session HTTP ?
In what kind of situation would you store data in Cookies rather than in HTTP Sessions?
(2 points / 5 minutes)
Question 11 : En quoi consiste la méthode close() d'une Connection JDBC lorsque celle-ci est récupérée à partir d'une Datasource ?
When using Connections by the way of a Datasource, what will happen on calling the close() method?
(2 point / 2 minutes)
Question 12 : Que retourne la méthode update d'un Statement ou d'un PreparedStatement ?
What kind of information will Statement's or PreparedStatement's update() method return?
(1 point / 2 minutes)
Question 13 : Que pensez-vous de l'affirmation : “Les JavaBeans sont des classes qui représentent les entités métier d'une application” ?
What do you think about the assertion: “JavaBeans are classes representing business entities of an appication”?
(2 points / 5 minutes)
Question 14 : Un framework ORM pourrait-il fonctionner dans une application professionnelle sans avoir recours au “Lazy Loading” ? Pourquoi ?
Would an ORM framework of any kind work in a large scale professional application without help of the “Lazy Loading” strategy? Why?
(3 points / 7 minutes)
Question 15 : Lorsque l'on utilise Hibernate pour gérer la persistance des données en SGBD, à combien de tables correspond une entité métier issue de la conception Objet ? When using Hibernate to manage data persistence in a DBMS, how many tables would be necessary to take in charge a business entity (Class)?
(1 point / 3 minutes)
Question 16 : A quoi sert un Data Access Object (DAO) ? What is a Data Access Object (DAO) for?
(2 points / 5 minutes)
Question 17 : Avec Hibernate, comment se matérialise dans la classe B une relation
“Many to One” de la classe A vers la classe B ? Expliquez.
With Hibernate, how would be defined a “Many to One” relationship from the A class to the B class within the B class?
(3 points / 7 minutes)
Question 18 : Avec Hibernate, comment pouvons-nous insérer un objet A en base de données, s'il a une relation “Many to Many” bidirectionnelle vers B et que B n'existe pas encore en base ?
With Hibernate, how would you proceed to insert object A in the Database in case of a bidirectional “Many to Many” relationship with object B when B has no corresponding record in the Database?
(4 points / 8 minutes)
Question 19 : A quoi sert un ORM ? What is an ORM for?
(3 points / 7 minutes)
Question 20 : Que représente la Session Hibernate ?
How would you describe the functioning of a Hibernate Session?
(3 points / 5 minutes)