Category Archives: Java course
Mapping hibernate avec @Formula
Il arrive (parfois) que l’on souhaite dans nos beans mapper un attribut, non pas directement avec une colonne de notre base de données ni même avec des colonnes héritées ni de des jointures. C’est le cas par exemple dans une … Continue reading
Sending emails with JavaMail
JavaMail API is the reference implementation of JSR-000919 which is now open source and released under : Common Development and Distribution License (CDDL) v1.1 GNU General Public License (GPL) v2 with Classpath Exception. Its provides full support This API allows … Continue reading
JVM memory and Java heap space
One of the major benefits of the Java language in comparison with other object oriented languages (like C++) is that programmers do not have to handle memory allocation during execution of the program. It is totally delegated to the garbage … Continue reading
How to manage error pages in Java web sites
Use case When browsing the Internet I am really surprised how often you get a dirty blank page instead of a nice custom error page even in first class web sites. One fresh example is
Utilisez le Tomcat Manager pour déployer vos projets web sur serveur Tomcat
Le Tomcat-Manager est un outil puissant fourni avec Tomcat qui permet de disposer d’informations précieuses sur l’état du serveur Tomcat mais aussi de gérer vos applications et de déployer très simplement des fichiers war tout cela à l’aide d’une interface … Continue reading