Archives de l’auteur : davidhxxx

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

Task : Display stocks from a selected stocks list (UC-3)

In progress…

Publié dans trading | Laisser un commentaire

Task : Display stock lists (UC2)

Use case screenshots config.properties in src/main/resources app.base.dir=C:/tutorial-trading   Use case git URL https://github.com/ebundy/jfreechart-bootstrap/tree/master/uc2   UC Analysis The main user story for this UC When I run my application, I want to see the stock list names. The sequence diagram for the … Continuer la lecture

Publié dans trading | Laisser un commentaire

Task : Create a stocks list (UC1)

As said previously, in the scope of our bootstrap application, this use case will not require software development. In a richer trading application where a stock can be present in several lists, obviously, a user interface to add or update a stock … Continuer la lecture

Publié dans trading | 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

Create a trading application in Java (4/15) – Task : Define applicative layers

Our model design will be based on three application layers: – A graphical layer (presentation) – A business service layer (logic) – A data access layer (data) The data access layer will be both used by the service layer and … Continuer la lecture

Publié dans trading | Marqué avec , | Laisser un commentaire

Task: Go from domain model to business design model

We will turn our conceptual model in business design model (classes) that we will illustrate by a business class diagram.  From this diagram, we could create raw Java classes of entities. 1) Go from domain model to business design model … Continuer la lecture

Publié dans trading | Marqué avec , | Laisser un commentaire

Create a trading application in Java (3/15) – Task : Design the conceptual model

From the identified use cases and  basic trading knowledge, we will describe the conceptual model. In RUP (Rational Unified Process), we speak about « domain model ». Warning: the conceptual model is not a software components model. It is primarily a domain … Continuer la lecture

Publié dans trading | Marqué avec , | Laisser un commentaire