Archives de catégorie : Non classé

Maven TIPS

How to specify another JDK as which one used by default (that is, which declared in JAVA_HOME) ?

Publié dans Non classé | Laisser un commentaire

Spring Boot FAQ

Q. How to get a  deployable WAR on a standalone Tomcat with Spring Boot ? Several steps are needed : In the pom of the web application, the packaging must be set to war such as  <packaging>war</packaging> In the pom of … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Java code and naming conventions

Why having Java code and naming conventions ? Code and naming conventions are important to programmers for a number of reasons: – The essential of the lifetime cost of software is its maintenance. We coud said that in general, a line … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

déclarer un EJB3

Declaration by annotation of a remote EJB   @Stateless @Remote public class MonEJBDistantImpl implements MonEJB{ public maMethode(){ } } Declaration by annotation of a local EJB @Stateless @Local — par défaut local public class MonEJBLocalImpl implements MonEJB { public maMethode(){ } } … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Design Pattern : chain of responsibility implementation in Java

The source code of design patterns can be viewed and downloaded here : https://github.com/ebundy/java-examples/tree/master/design-patterns What is it ? The chain of responsibility design pattern is a behavioral pattern.The pattern defines for a request to handle, a chain of objets which, … Continuer la lecture

Publié dans Non classé | 4 commentaires

Design Pattern : singleton implementation in Java

The source code of design patterns can be viewed and downloaded here : https://github.com/ebundy/java-examples/tree/master/design-patterns What is it? The singleton design pattern is a creational pattern. It allows to instantiate a class under a simple condition :  the existence of not … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Create a trading application in Java – Task : Define the development methodology (5)

Incremental development The application development will be divided in several steps. In order to prevent the tunnel effect (we build a lot and we have a result only at the end of the development), we will implement one UC at a … Continuer la lecture

Publié dans Non classé, trading | Laisser un commentaire