Présentation
     Nouveautés
     Téléchargement
     Docs utilisateur
     Docs développeur
     Exemples
 

Examples and EasyCorba libraries

HelloWorld example

As usually, the first example given to use a developpement tool is the "Helloword" example, that prints "Hello World".
So, we made a very simple example that consists of calling a function named "say_hello(<name of client>)" that prints the text "Hello from <name of client>" and returns the string "HelloWorld!".

All explanations are in the developper documentation.

You can also directly download the client source and the server source on our CVS.


EasyCorba libraries

In order to simply the use of Corba services, two libraries have been created :

  • EasyNaming : simplifies use of the Corba Naming service (CosNaming).
  • EasyNotify : simplifies use of the Corba Notify service (CosNotify)
These libraries are independant of our CorbaTrace project. They are VERY useful if you want to develop with Corba.
EasyNaming and EasyNaming are of course 100% compliant with OMG specifications.

Corba standards are hard to use because there is a lot of initialisations that are not used in most of the classic distributed software. So, we have developped some user classes to simply a classic connection to these Corba services.

EasyNaming library (CosNaming service)

To download this library, click here.

EasyNotify library (CosNotify service)

To download this library, click here.


Auction hall example

To learn how to use Corba, a project of auction C/S application was developped with an auction hall and some clients.
There are two different auction halls and two clients, all in Java language with Swing GUI.

These examples make use of the two EasyCorba libraries.

Server : Auction hall

To download the first example, click here.
To download the second example, click here.

Client : Buyer

To download the first example, click here.
To download the second example, click here.

All these source files are under LGPL licence too. There were coded by some students from the DESS Génie Informatique from the University of Nantes (2001-2002). Thanks to them for all their work.
All comments are in french. We are sorry about that, but it would be too long for us to translate it in english (but if you think it's useful, you can help us to do it :) ).