Devops for Growth
112.1K views | +2 today
Follow
Devops for Growth
For Product Owners/Product Managers and Scrum Teams: Growth Hacking, Devops, Agile, Lean for IT, Lean Startup, customer centric, software quality...
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Current selected tag: 'java'. Clear
Scooped by Mickael Ruau
April 24, 2014 3:38 AM
Scoop.it!

Java Concurrency Cheat Sheet from DZone Refcardz - Free, professional tutorial guides for developers

Java Concurrency Cheat Sheet from DZone Refcardz - Free, professional tutorial guides for developers | Devops for Growth | Scoop.it
Core Java ConcurrencyBy Alex Miller
Mickael Ruau's insight:
The Essential Java Concurrency Cheat Sheet
Java has supported key concurrency concepts such as threads and locks. This DZone Refcard helps Java developers working with multi-threaded programs understand the core concurrency concepts and how to apply them. Topics covered in this cheat sheet include built-in Java language features as well as new constructs added in Java SE 5. Building concurrent and thread-safe Java applications is challenging, at best - this DZone Refcard provides you with the right building blocks to achieve success.
No comment yet.
Scooped by Mickael Ruau
April 24, 2014 3:36 AM
Scoop.it!

Java EE7 Cheat Sheet from DZone Refcardz - Free, professional tutorial guides for developers

Java EE7 Cheat Sheet from DZone Refcardz - Free, professional tutorial guides for developers | Devops for Growth | Scoop.it
Java Enterprise Edition 7Streamlining Modern Java DevelopmentBy Andrew Lee Rubinger and Arun Gupta
Mickael Ruau's insight:
The Essential Java EE7 Cheat Sheet
Java Enterprise Edition 7 includes a host of new and improved APIs for developing well-built, ultra-fast, maximally robust enterprise software. This Refcard focuses on the key APIs of Java EE7 most relevant to modern development, including API for WebSocket, API for JSON processing , concurrency utilities, Java Messaging Service 2.0, Java Server Faces 2.2, and more.
HTML Preview
No comment yet.
Rescooped by Mickael Ruau from Mon Play Framework et Scala
December 4, 2014 5:59 AM
Scoop.it!

Le bénéfice risque de Java pour les entreprises est devenu négatif

Suite à la vague de cyberattaques de début d'année liées aux failles du langage Java, Oracle a publié début avril pas moins de 42 patchs (...)

Via Duarte Terencio
Duarte Terencio's curator insight, March 11, 2014 8:54 AM

Qui va remplacer le langage de programmation java ? Scala ? JavaScript (angular, etc ..), autre ?

Scooped by Mickael Ruau
January 28, 2014 8:44 AM
Scoop.it!

Java Build Tools - Part 2: A Decision Maker's Comparison of Maven, Gradle and Ant + Ivy

Java Build Tools - Part 2: A Decision Maker's Comparison of Maven, Gradle and Ant + Ivy | Devops for Growth | Scoop.it
Above is a slide show previewing the results for only the truly impatient coders out there ;-) Believe it or not, Java developers don’t consider build tools to be the most interesting topic out there.
Mickael Ruau's insight:

This all started in December 2013, when we published Java Build Tools Part 1. It would help to think of Parts 1 and 2 as a single publication, broken into two sections due to length and time restrictions. In Part 1, we showed developers how to get started with all of the tools mentioned, we reviewed some tips and pointers on creating the build script, interacting with communities and how to use/create plugins for your overall development environment.

In Part 2, we go deeper and get out the proverbial red pen, taking each build tool and ranking them in six categories, then applying those scores to four common user profiles (i.e. use cases) in order to figure out which build tool makes the most sense for you. But now, let’s review where the general Java development industry stands in terms of current and historical build tool usage.

No comment yet.
Scooped by Mickael Ruau
December 16, 2013 7:04 AM
Scoop.it!

Arolla | Profitez des avantages de la programmation fonctionnelle, dans votre langage habituel

Arolla | Profitez des avantages de la programmation fonctionnelle, dans votre langage habituel | Devops for Growth | Scoop.it

Vous entendez parler de plus en plus souvent de programmation fonctionnelle, et c’est normal puisque ce style de programmation est essentiel pour profiter des processeurs multi-coeurs. Mais devez-vous changer de langage pour cela ? 

Mickael Ruau's insight:

Vous avez choisi Java ou C# pour vos projets ? Si ces langages orientés objet ne sont pas réputés pour leur possibilités en programmation fonctionnelle, il est tout à fait possible de programmer en Java ou C# dans un style fonctionnel. C’est même une excellente idée, et pas seulement pour la montée en charge  :

Propre : le style de programmation fonctionnel réduit la proportion de défauts en s’imposant des règles telles que l’interdiction de modifier l’état d’un objet ou l’obligation de garantir qu’une fonction ne doit avoir aucun impact sur le reste du programmeTestable :  le style de programmation fonctionnel favorise des fonctions pures qui manipulent de simples valeurs et qui sont donc extrêmement faciles à tester en isolation.Économique : le style de programmation fonctionnel permet d’écrire moins de code pour obtenir un même résultat en factorisant des portions de code réutilisable d’une façon plus agressive qu’en programmation objet classique ; cette réduction de la taille du code réduit encore davantage le nombre de défauts d’un programmeÉvolutivité du design : le style de programmation fonctionnel simplifie le design et permet donc de raisonner plus efficacement sur les changements à apporter, par exemple pour distribuer un traitement entre plusieurs cœurs ou machines, ou pour optimiser les performances d’un calcul en particulierAbordable : le style de programmation fonctionnel n’est pas du tout incompatible avec l’approche objet, et peut être mis en œuvre progressivement, sur du nouveau code ou sur du code legacy
No comment yet.
Scooped by Mickael Ruau
December 6, 2013 6:19 AM
Scoop.it!

Using FindBugs to produce substantially less buggy code | Java Code Geeks

Using FindBugs to produce substantially less buggy code | Java Code Geeks | Devops for Growth | Scoop.it
Some time ago a user of Java-monitor, the forum of our JCG partner, Kees Jan, spotted that his system was forcing a large number of full Garbage Collections despite the fact that the overall memory utilization was low.
Mickael Ruau's insight:

… It did occur to me that there is a tool that could have helped with the System.gc()issue. It is aptly named FindBugs. Actually, there are several (PMD and CheckStylebeing other, similar tools), but FindBugs is nice because you don’t actually need the application’s source code to check it for bugs. All you need are the JAR files and/or class files. Another great feature is that each report is documented very well. You don’t just get vague warnings that you sort-of give up on after a few minutes, but you can find an explanation for each warning on-line.

 

No comment yet.
Scooped by Mickael Ruau
November 2, 2013 12:29 PM
Scoop.it!

DevOps' Role in Troubleshooting JVM Issues

DevOps' Role in Troubleshooting JVM Issues | Devops for Growth | Scoop.it
In this article, would like to share how a DevOps team can engage themselves proactively in analyzing the Java Applications.The running Java Applications can be profiled using appropriate tool to determine the memory consumption/usage of...
No comment yet.
Scooped by Mickael Ruau
October 25, 2013 10:50 AM
Scoop.it!

Free Book: Java Testing and Design

Free Book: Java Testing and Design | Devops for Growth | Scoop.it
Java Testing and Design: From Unit Testing to Automated Web Tests teaches you a fast and efficient method to build production-worthy, scalable, and well performing Web-enabled applications.
Mickael Ruau's insight:


Download the FREE PDF 

No comment yet.
Scooped by Mickael Ruau
October 18, 2013 6:07 PM
Scoop.it!

Too Many Parameters in Java Methods, Part 3: Builder Pattern | Javalobby

Too Many Parameters in Java Methods, Part 3: Builder Pattern | Javalobby | Devops for Growth | Scoop.it

In my two immediately previous posts, I looked at reducing the number of parameters required for a constructor or method invocation via custom types and parameter objects. In this post, I look at use of thebuilder pattern to reduce the number of parameters required for a constructor with some discussion on how this pattern can even help with non-constructor methods that take too many parameters.

Mickael Ruau's insight:

In the Second Edition of Effective Java, Josh Bloch introduces use of the builder pattern in Item #2 for dealing with constructors that require too many parameters. Bloch not only demonstrates how to use the Builder, but explains it advantages over constructors accepting a large number of parameters. I will get to those advantages at the end of this post, but think it's important to point out that Bloch has devoted an entire item in his book to this practice.

To illustrate the advantages of this approach, I'll use the following example Person class. It doesn't have all the methods I would typically add to such a class because I want to focus on its construction.

 

No comment yet.
Scooped by Mickael Ruau
October 18, 2013 2:39 PM
Scoop.it!

OSGi Alliance opens up on specifications

OSGi Alliance opens up on specifications | Devops for Growth | Scoop.it
For more than a decade, the doors were closed on OSGi specification development to the public. Now, the OSGi Alliance are welcoming feedback from onlookers.
Mickael Ruau's insight:

The Alliance’s repository of active RFCs and RFP is now viewable through a GitHub mirror, while non-members are encouraged to submit feedback through the OSGi Bugzilla.


The public can comment immediately on requests for comments (RFCs) and proposals (RFPs) on OSGI specifications. While developers will be allowed to air their views (or possibly grievances), the bulk of the technical work, such as approving specifications still falls on OSGi Alliance members.


The OSGi framework has become the most recognisable module system for Java, gaining prominence in large-scale distributed and embedded environments thanks to the creation of the OSGi Alliance in 1999. OSGi components are now ubiquitous in the software industry, featuring in projects such as the Eclipse IDE, the Spring Framework and numerous application servers.

No comment yet.
Scooped by Mickael Ruau
October 18, 2013 2:54 AM
Scoop.it!

OCTO talks ! » Comment ne plus avoir de NullPointerException en Java ?

OCTO talks ! » Comment ne plus avoir de NullPointerException en Java ? | Devops for Growth | Scoop.it

NullPointerException : l’erreur la plus courante dans un programme Java. On est tous à un moment ou à un autre tombé sur cette exception. Malheureusement, ce n’est qu’en production à 4h du matin qu’elle arrive. On corrige donc le bug suivant :

1MonObjet monObjet = null;2…3monObjet.maMethode(); // => NullPointerException

Par un rapide :

1if(monObjet != null) {2  monObjet.maMethode();3}

Ce correctif est tout à fait honorable, mais pourquoi ne pas essayer de ne plus avoir aucune exception de ce type ?

Il existe plusieurs méthodes validées par le compilateur pour l’éviter, et donc avant la mise en production. Aucune n’est nouvelle, certaines controversés, mais elles sont toutes étudiées dans la suite de cet article.

- See more at: http://blog.octo.com/comment-ne-plus-avoir-de-nullpointerexception-en-java/#sthash.bBk7kS6a.dpuf

 

 

Mickael Ruau's insight:

La première règle est simple : ne jamais utiliser le mot clé null.

Globalement, il est utilisé dans deux cas :

initialisation d’objetsvaleur vide- See more at: http://blog.octo.com/comment-ne-plus-avoir-de-nullpointerexception-en-java/#sthash.bBk7kS6a.dpuf
No comment yet.
Scooped by Mickael Ruau
September 26, 2013 3:42 PM
Scoop.it!

F-Secure publie son rapport des menaces enregistrées au premier semestre, les failles Java responsables de la majorité des attaques

F-Secure publie son rapport des menaces enregistrées au premier semestre,  les failles Java responsables de la majorité des attaques | Devops for Growth | Scoop.it
F-Secure publie son rapport des menaces enregistrées au premier semestre, les failles Java responsables de la majorité des attaques Dans son rapport sur les menaces enregistrées pendant le premier semestre de l'année en cours, F-Secure note...
No comment yet.
Scooped by Mickael Ruau
September 1, 2013 4:34 AM
Scoop.it!

Cruise Control - Serveur d'intégration continue en JAVA

Cruise Control - Serveur d'intégration continue en JAVA | Devops for Growth | Scoop.it
Article d'introduction à Cruise Control, un serveur d'intégration continue en JAVA
Mickael Ruau's insight:

Cruise Control est un serveur d'intégration continue écrit en Java pour les projets Java. D'installation, de configuration et d'utilisation très simple, il permet de lancer automatiquement des compilations (script ANT, MAVEN, ...), des tests unitaires et d'en suivre les évolutions grâce à son application de reporting web et à son dashboard.

No comment yet.
Scooped by Mickael Ruau
April 24, 2014 3:37 AM
Scoop.it!

Java EE Security Cheat Sheet from DZone Refcardz - Free, professional tutorial guides for developers

Java EE Security Cheat Sheet from DZone Refcardz - Free, professional tutorial guides for developers | Devops for Growth | Scoop.it
Getting Started with Java EE SecurityBy Masoud Kalali
Mickael Ruau's insight:
The Essential Java EE Security Cheat Sheet
Getting Started With Java EE Security is a DZone Refcard that will provide you with an in-depth introduction to Java EE Security, which supports a fine set of security functionalities in the specification level. These capabilities include authentication, authorization, data integrity and transport security. Other topics covered in this Refcard include Web Module, EJB and Application Client security, securing Java EE Web Services, Hot Tips and more. Highly recommended reading for Java EE users and Java enthusiasts of all kinds.
No comment yet.
Scooped by Mickael Ruau
March 18, 2014 6:08 AM
Scoop.it!

PMD / Guide Open Source

PMD / Guide Open Source | Devops for Growth | Scoop.it

PMD, connu également sous le nom de "Project Mess Detector", ou de "Project Meets Deadline" est un outil d'analyse statique de code destiné à détecter les erreurs de programmation les plus courantes.

Mickael Ruau's insight:


En utilisant un système de règles extensibles, PMD est capable de détecter les try-catch vides, le code mort, code sur-compliqué, copié-collé de code (grâce au plugin CPD). PMD est également capable de calculer la complexité cyclomatique d'un code, indicateur intéressant dans l'évaluation de la qualité logicielle.
PMD est sous une licence de type BSD.


PMD analyse le code source Java, le code source JavaScript et les fichiers XML/XSL. Il existe un équivalent pour analyser le code PHP (PHPMD, a.k.a. PHP Mess Detector).

Les règles peuvent s'écrire à travers des expressions XPath, des classes Java (ou PHP pour PHPMD).

No comment yet.
Scooped by Mickael Ruau
February 24, 2014 4:13 AM
Scoop.it!

Testing Android Apps with Robotium and JBehave

Testing Android Apps with Robotium and JBehave | Devops for Growth | Scoop.it

The purpose of the article is to implement a Behavior Driver Development (BDD) infrastructure for Android applications with the JBehave open source BDD  tool  and Robotium open source Android testing software. We will go through complete architectural understandings and try to set-up the framework.

Mickael Ruau's insight:

In this article we tried to cover the followings points
● Understanding Behavior Driver Development
● Introduction of different components used to implement BDD for Android applications
● Analyzing the architectural limitations and dealing with them
● Implementing BBD from scratch

No comment yet.
Scooped by Mickael Ruau
January 16, 2014 9:59 AM
Scoop.it!

"4" par 4.0 ? - Blog éclectique

4 * 4.0 donne des résultats parfois surprenants selon les langages...

Mickael Ruau's insight:

"4" * 4.0 donne :

En Ruby : "4444"En PHP et Javascript : 16En Java : Exception:The operator * is undefined for the argument type(s) String, double

 

 

Et tant qu’il y était, il a testé l’addition :

"4" + 4.0 donne :

En Ruby : TypeError: can't convert Float into StringEn PHP : 8En JavaScript : 44En Java : "44.0"
No comment yet.
Scooped by Mickael Ruau
December 6, 2013 6:24 AM
Scoop.it!

Java Tools: Source Code Optimization and Analysis | Java Code Geeks

Java Tools: Source Code Optimization and Analysis | Java Code Geeks | Devops for Growth | Scoop.it

Below is a list of some tools that can help you examine your Java source code for potential problems

Mickael Ruau's insight:

1. PMD from http://pmd.sourceforge.net/

2. FindBug from http://findbugs.sourceforge.net/

3. Clover from http://www.cenqua.com/clover/

4. Macker from http://innig.net/macker/

5 EMMA from http://emma.sourceforge.net/

6. XRadar from http://xradar.sourceforge.net/

7. Hammurapi from Hammurapi Group

Relevant Links:

http://en.sdjournal.org/products/articleInfo/93

http://wiki.hammurapi.biz/index.php?title=Hammurapi_4_Quick_Start

8. Relief from http://www.workingfrog.org/

9. Hudson from http://hudson-ci.org/

10. Cobertura from http://cobertura.sourceforge.net/

11. SonarSource from http://www.sonarsource.org/

 

No comment yet.
Scooped by Mickael Ruau
November 29, 2013 10:12 AM
Scoop.it!

Améliorer la qualité du code par restriction du langage

Améliorer la qualité du code par restriction du langage | Devops for Growth | Scoop.it
This post is a written transposition of the talk I gave at Nantes' JUG on November 4th 2013. Since it took place in France, this article is in French. Ce post est une transposition écrite de ma pré...
Mickael Ruau's insight:

Je ne dis pas qu’il faut absolument et complètement banir toutes ces fonctionnalités. Il faut simplement reconnaitre et maitriser leurs inconvénients. On peut alors peser le pour et le contre et prendre de sages décisions.

Les ennuis commencent quand on a affaire a des débutants.


Les problèmes que j’ai exposé sont rarement (jamais ?) abordés lors de la formation des programmeurs, que ce soit à l’école ou dans les livres d’introduction. Au contraire, des fonctionnalités comme l’héritage de classe sont présentées comme héroïques, indispensables, à la base de l’orienté-objet ! Il n’en est rien.


Et pourtant, les SSII demandent tous les jours à des débutants de prendre des décisions concernant le design de code. Il y a manifestement un sérieux problème au niveau de la formation des développeurs. C’est peut-être un des seuls métiers où l’on est traité comme compétent avant d’être sorti de l’école.


Robert “Uncle Bob” Martin (fameux auteur de Clean Code) a récemment publié deux articles à ce sujet : “Hordes of Novices” et “Novices. A Coda“. Je ne peux qu’être d’accord avec lui.

 
No comment yet.
Scooped by Mickael Ruau
November 1, 2013 5:40 PM
Scoop.it!

Several Architectural Styles with Java EE 7

Several Architectural Styles with Java EE 7 | Devops for Growth | Scoop.it
If you are like me, in your career you came across Architects who want to homogenize every single application in the company : from the smallest web app to the biggest application.
No comment yet.
Scooped by Mickael Ruau
October 22, 2013 11:03 AM
Scoop.it!

51 vulnérabilités corrigées dans Java SE 7

51 vulnérabilités corrigées dans Java SE 7 | Devops for Growth | Scoop.it
Oracle vient de publier des correctifs pour 127 vulnérabilités, tous produits confondus. 51 concernent le langage Java et sont corrigées avec Java SE 7 Update 45. Parmi ces 51 vulnérabilités, 50 pouvaient être exploitées à distance sans...
No comment yet.
Scooped by Mickael Ruau
October 18, 2013 4:49 PM
Scoop.it!

Yasca

Yasca is an open source program which looks for security vulnerabilities, code-quality, performance, and conformance to best practices in program source code, integrating with other open-source tools as needed.

Mickael Ruau's insight:

Yasca est utilisable avec une vaste liste de langages.

No comment yet.
Scooped by Mickael Ruau
October 18, 2013 10:51 AM
Scoop.it!

Include Unique Tokens in HTTP Requests

CSRF may be possible when an attacker can form a URL, which performs an action on the behalf of an authenticated user. Forming such URLs becomes much more difficult, if unique tokens are included in HTTP requests. Including difficult to predict token in HTTP requests is an effective defense against CSRF attacks.

 

What to Do
Include unique tokens in HTTP requests when performing sensitive operations to prevent Cross-Site Request Forgery (CSRF).


Why

CSRF may be possible when an attacker can form a URL, which performs an action on the behalf of an authenticated user. Forming such URLs becomes much more difficult, if unique tokens are included in HTTP requests. Including difficult to predict token in HTTP requests is an effective defense against CSRF attacks.

 
Mickael Ruau's insight:

To include unique tokens in HTTP requests:

Identify sensitive operations. Review application design and code to identify all operations that require authorization.Identify code that performs sensitive operations. Identify all pages that are involved in performing sensitive operations - this includes both the pages that link to sensitive operations and the code that actually carries out the sensitive operations.Choose a method for generating unique tokens. There are different ways to generate unique tokens. One approach is to use the uniqid function combined with a hash based on current time. For example:

uniqid(md5(microtime()), true);

 
No comment yet.
Scooped by Mickael Ruau
September 26, 2013 3:56 PM
Scoop.it!

Apache Struts : la mise à jour du Framework Java corrige des failles exploitées par les hackers

Apache Struts : la mise à jour du Framework Java corrige des failles exploitées par les hackers | Devops for Growth | Scoop.it
Une mise à jour pour Apache Struts est disponible en téléchargement
elle apporte des correctifs de sécurité majeurs
Apache Struts 2.3.15.2 la mise à jour pour le framework open source de création d'applications web en Java est disponible.
No comment yet.
Scooped by Mickael Ruau
September 13, 2013 3:29 AM
Scoop.it!

Oracle publie la mise à jour Java 7u40, qui en plus des correctifs de sécurité, apporte un lot de nouveautés

Oracle publie la mise à jour Java 7u40, qui en plus des correctifs de sécurité, apporte un lot de nouveautés | Devops for Growth | Scoop.it
Oracle publie la mise à jour Java 7u40
qui en plus des correctifs de sécurité, apporte un lot de nouveautés
Oracle vient de publier Java 7 Update 40 (en abrégé, Java 7u40), la nouvelle mise à jour de Java.
No comment yet.