02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Ocean</strong> Modules<br />

<strong>Ocean</strong> Modules<br />

Extensions to the Product Family are implemented in independently loaded assemblies.<br />

The .NET framework provides an environment in which Modules are loaded dynamically at<br />

run time, relocated in memory, and connected to the <strong>Ocean</strong> Core by resolving unique<br />

Namespace – Module name combinations.<br />

Modules are referenced in the Petrel configuration file, which gets parsed when the Main<br />

Petrel environment starts.<br />

There is no limit to the number of Modules that can be loaded at startup time or later. This<br />

system provides flexibility as well as rapid and robust deployment.<br />

Fig. 2-6 <strong>Ocean</strong> Modules<br />

Programmers create modules that behave just like any standard part of Petrel. The<br />

modules are compiled into assemblies that are placed in the Petrel installation directory<br />

and registered with the application through the configuration file. The assemblies are IL,<br />

or Intermediate Language, code that is processor independent. It provides a common<br />

layer, similar to assembly language, that all .NET languages (C#, C++, VB, etc.) compile<br />

to. At runtime it is further compiled and executed by the .NET Common Language<br />

Runtime, or CLR, engine.<br />

2-12 <strong>Ocean</strong> Application Development Framework 2008.1<br />

<strong>Schlumberger</strong> Private

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!