Posts Tagged ‘Conception’

Develop a modular application – The loading

Now that we’ve seen how to describe a module in Java, we’ll see how to load it dynamically in our application.
In Java, all the classes are loaded using several ClassLoader.In this article, we’ll develop a loader for our modules and watch the problems that arrive when working with custom ClassLoaders.

Develop a modular application – Implementation

Now that we saw in details the characteristics of the modules, we’ll see how to implement a module.
We need a simple container for our module to load it after with a loader from the modular application.
In this post, we’ll only see what will be a module in Java, we’ll the loading of the modules in the next (and last) post.

Develop a modular application – The modules

After explaining what’s a modular application, I’ll now explain with more details the concept of modules.
We said that a module add features to the application. But before writing any code, we’ve to define exactly what are the modules, what they can do if there is several types of modules, …
This is what we’ll see in this post.

Develop a modular application – Bases

This is the first post of four posts about modular applications.
I’ll try to explain all the things we must think of when we develop a modular application. I’m developing a generic core for modular applications, JTheque. So what I’m saying in this posts are taken from my experience developing this framework.
In this post, i’ll start talking of the bases of the conception of …

Find closest pair of point with Plane Sweep Algorithm in O(n ln n)

Finding the closest pair of Point in a given collection of points is a standard problem in computational geometry. In this article I’ll explain an efficient algorithm using plane sweep, compare it to the naive implementation and discuss its complexity.

JTheque : Problems when migrating to OSGi

Like you perhaps know, i’m currently migrating JTheque to OSGi. During this migration i found several problems in the JTheque architecture that made the migration impossible without changing some concepts. In this post I’ll detail all the problems I found.

OSGi and cyclic dependencies

Hi,
I’m currently working on the “bundlisation” of the JTheque Core. I choose to cut core into several bundles each one representing a service provided by the core.
I quickly have experencied problems with
I quickly realized that the decoupling of my various services was almost nil. I had a huge number of dependencies for each bundle and worse, I had a lot of …

Develop a modular application with JTheque Core 2.0.3

1. Introduction
This article will teach you how to develop a first application with JTheque Core.
We will develop a basic modular application, like an hello world. This little program will be composed of :

A JTheque application
A JTheque module who display an Hello World on the main view
A module who will add an option menu to display one more time “Hello World”