Archives de catégorie : java

Using a mocked httpBackend Angular app to develop the front side while isolating the back side dependency (3/9)

Go back to the table of contents for Developing a Contact Management Application with Angular 1.5X and Java When you develop a web application, you have multiple reasons to want to isolate the development of the front side  (html, javascript, css) … Continuer la lecture

Publié dans Angular, AngularJS, Bootstrap, java, Spring Boot | Laisser un commentaire

Defining the states of the application and adding a menu bar to access them (2/9)

Go back to the table of contents for Developing a Contact Management Application with Angular 1.5X and Java We will enrich the Angular application to define views of the application and we will also add a menu bar to access them. For the … Continuer la lecture

Publié dans Angular, AngularJS, Bootstrap, java, Spring Boot | Laisser un commentaire

Configuring the webapp-contact project to build an Angular web application with Spring Boot (1/9)

Go back to the table of contents for Developing a Contact Management Application with Angular 1.5X and Java At the end of this part, we will have a Spring Boot application relying on AngularJS for the front-end with the minimal configuration to develop … Continuer la lecture

Publié dans Angular, AngularJS, Bootstrap, java, Spring Boot | Laisser un commentaire

Java Map and thread-safety

Can we use no synchronized java.lang.Map instance fields in a multi-threaded context without explicit synchronization?No synchronized implementations of the java.util.Map interface such as java.util.HashMap or java.util.TreeMap are fast implementations as these are not thread-safe. In some use cases, the thread safety … Continuer la lecture

Publié dans java, performance en JAVA, thread | Laisser un commentaire

Design Pattern : decorator 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 decorator design pattern is a structural pattern.It allows to design a class to decorate another class in a dynamic way. Decorator is … Continuer la lecture

Publié dans design pattern, java | Marqué avec , , | Laisser un commentaire

Design pattern : adapter 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 design pattern adapter is a structural pattern.It allows to adapt the API of an existing class (the adapted class) to the API … Continuer la lecture

Publié dans design pattern, java | Laisser un commentaire