First steps with Eclipse IncQuery

Today I discovered a wonderful ecore model query engine: IncQuery It provides an Xtext editor with a specific Dsl to easily navigate on a model. First, create a new Incquery project. Then create a package on the ‘src’ directory, thenRead more…

Share Button

Programmatically creating a Sirius Viewpoint

In this tutorial, we’re going to create an EMF Resource, adding it to an existing Sirius Session, create and open a Sirius diagram based on it! Let’s start with creating our semantic model on the session of our EObject (theRead more…

Share Button

Dynamic context menus on Eclipse platform

We’re now going to make a toolbar menu where submenu are filled dynamically. Then we’ll implement a handler to get the selection. In order to declare the physical elements (the menus), we have to extend the “org.eclipse.ui.menus” extension point. theseRead more…

Share Button

Eclipse: plugin extensions and extension points

In this post I’ll will explain how to deal with the plugin mecanism of Eclipse Extension In a first time, we’re going to declare a simple extension in an eclipse plugin. an extension have a mandatory ‘point’ attribute so thatRead more…

Share Button

How RESTFUL is your WebSocket App

Restful is composed with four principles as said in this post: The Swamp of POX: You’re using HTTP to make RPC calls. HTTP is only really used as a tunnel. (for WebSocket, change the word ‘HTTP’ by ‘WebSocket’) Resources. RatherRead more…

Share Button

Tests Javascript avec JsTestDriver

Après avoir testé le métier avec Pax-Exam et les routes avec Camel-Spring, il ne reste plus qu’à tester le Javascript. J’ai choisi jsTestDriver pour son intégration avec Sonar (ainsi, j’ai une idée de ma couverture de tests). Voici la recetteRead more…

Share Button

Camel unit-testing

Dans ce post, je vais vous expliquer comment tester vos routes Camel. Tout d’abord, je vous déconseille fortement d’utiliser camel-blueprint pour des projets avancés, et ce même en environnement OSGI: en effet, ce module et fait pour les tests d’intégrationRead more…

Share Button

Mes dernier posts sur la BFI

Je m’apprête à quitter le monde de la banque-finance-assurance pour intégrer celui des systèmes complexes (ma soif d’apprentissage me pousse à changer de domaine). Aussi, laissez-moi donner mes visions sur ce domaine que je quitte, partant de mes acquis enRead more…

Share Button

Integration testing OSGI with Pax-exam and Karaf

So, let’s dive into integration testing with OSGI. First of all we have to create a new module of your project that will contain your tests (with OSGI, we consider that I-testing is totally out of the tested module scopeRead more…

Share Button

Programming a Karaf feature

Features are the Virgo equivalent of their Plans, it allows to type a single command in your server to deploy an entire fully functionnal application. Let’s implement one of them. The code of the osgiliath framework fetaures is fully openRead more…

Share Button