background preloader

Java

Facebook Twitter

Webinar: Jenkins 2 and Beyond - DevOps.com. The Open/Closed Principle Dojo. Tutoriel pour comprendre comment se produit un OutOfMemoryError et comment le traiter. Un des atouts (ou inconvénients pour certains) de Java est qu'il n'y a pas à s'occuper de la libération de la mémoire grâce au Ramasse-Miettes (Garbage Collector).

Tutoriel pour comprendre comment se produit un OutOfMemoryError et comment le traiter

Malgré cela, nous ne sommes pas à l'abri de fuites mémoire (la fameuse exception OutOfMemoryError). Pour pallier ce problème, le moyen le plus simple est de faire un arrêt/relance de l'application. Solution que je déconseille d'utiliser, car, au problème de performance, s'ajoute le problème de disponibilité de l'application pour les clients.

Plus globalement, sans vouloir être puristes, nous n'avons pas d'autres choix que de corriger l'OutOfMemoryError, que cela soit un mauvais paramétrage de la JVM et/ou une fuite mémoire. Databene benerator. Benerator supports you in performing realistic load and performance tests.

databene benerator

It is a framework for generating realistic and valid high-volume test data for your system under test (avoiding the Datalite anti-pattern). benerator actually reduces the amount of time for creating a useful data setup of a medium sized enterprise application or XML Schema from 2-4 weeks to 1-2 days! Since data representation and constraints are platform independent, benerator can provide you with a rich set of plugin interfaces for custom extensions and mappings, allowing virtually any platform to be targeted with data generation. Out of the box benerator supports database systems, XML, XML Schema, CSV, Flat Files and Excel(TM) sheets. Domain packages provide reusable generators for creating domain-specific data as names and addresses internationalizable in language and region (via nestable datasets). benerator is released under a dual license - GPL and commercial. Would a training help you get going?

1. 2. 3. Git - Démarrage rapide sous Linux. Is a decentralized version management tool.

Git - Démarrage rapide sous Linux

I offer here a small tutorial for quick implementation of Git under Linux. This tutorial is designed for the solitary developer who wishes to benefit quickly from a simple and effective, version management system to a team wanting to implement quickly a collaborative versioning system. We discuss here: hierarchical problems (different roles/users rights management). the security aspects (implementation of public/private key to the SSH access, managing users on the deposit...); implementation of facades (Server HTTP/HTTPS for the access to the repository, navigation in the repository web Application...).

I describe the procedure for installing a DebianLinux system, but it can easily be adapted to other distributions. Git is also available under Windows and Mac : This tutorial was written for version 1.7 of Git, but it remains valid for version 2.x. If you want to learn a little more about Git before you begin: III - A. III - B. V. Résumé de la conférence JavaScript dotJS 2015 qui a eu lieu le 7 décembre au Théâtre de Paris. J'ai eu la chance de pouvoir assister à la conférence dotJS 2015 à Paris en décembre dernier. dotJS est une des conférences thématiques de la famille des dot avec toujours le même principe : regrouper des conférenciers internationaux et proposer une track unique.

Résumé de la conférence JavaScript dotJS 2015 qui a eu lieu le 7 décembre au Théâtre de Paris

Pas d'ateliers, quelques sponsors, le tout sur une journée. C'est la plus grande conférence JavaScript en Europe. Pour l'édition 2015, dotJS a regroupé environ un millier de participants au « Théâtre de Paris ». Une salle de prestige pour cette conférence. Le blond mal coiffé en bas, c'est bibi Voici un résumé des talks de cette journée :Christophe Porteneuve: Asynchronous patternsOn devrait tous utiliser les Promise (native en ES6) et async/await (natif en ES7). Conclusion: J'ai beaucoup apprécié cette conférence et j'ai été agréablement surpris par la qualité des intervenants.

Ecoles numériques - In Code We Trust #frenchtech #ess #empowerment. Announcing: JDK 8 MOOC: Lambdas and Streams! (Java Training Beat) Google Guava: 5 Things You Never Knew It Could Do. What are some of the lesser known features of Google Guava that every developer could use?

Google Guava: 5 Things You Never Knew It Could Do

It’s one of the most popular libraries out there, it’s open source, you probably know it already, and it comes from a place where people play Quidditch as a real sport (At least on The Internship). It’s not the Hogwarts library from Harry Potter but it does have lots of spells up its sleeve: Google Guava contains a range of core Java libraries that were born internally at Google, battle-tested in production and publicly released. And it also had Optional before it appeared on Java 8. The main focus of Guava is improving the workflow around common tasks with utilities that help write better, cleaner code, and be more productive.

Most famous for its collections and caching capabilities, it contains many more useful yet little known features. Note: Guava supports Java 6 and above. 1. One of the lesser known features of Java 8 is a new workaround for Unsigned Primitives in the Integer class. 2. 3. 4.