Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Getting the Hello Example Service"

Line 2: Line 2:
  
 
<br>
 
<br>
The following projects are located in the git repository [http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/examples/bundles here].  This is under the 'examples/bundles' modules in the repo.
+
The following projects are located in the [http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/examples/bundles ecf git repository].  These hello example projects are underneath <ecf tree>/examples/bundles.
  
 
'''org.eclipse.ecf.examples.remoteservices.hello'''<br>
 
'''org.eclipse.ecf.examples.remoteservices.hello'''<br>
Line 17: Line 17:
  
 
See also the documentation about this new file-based discovery format in [[File-based_Discovery_with_the_Endpoint_Description_Extender_Format | Discovery with the Endpoint Description Extender Format]].
 
See also the documentation about this new file-based discovery format in [[File-based_Discovery_with_the_Endpoint_Description_Extender_Format | Discovery with the Endpoint Description Extender Format]].
 +
 +
==IHello Example Service==
  
 
The IHello service interface is in the o.e.e.examples.remoteservices.hello bundle.  The hello.host is the service host, and the hello.consumer is the service consumer/client.  The o.e.e.e.r.hello.ds.host is a version of the host that uses [http://www.eclipse.org/resources/resource.php?id=378 declarative services], and o.e.e.e.r.hello.ds.consumer is a version of the consumer that also uses [http://www.eclipse.org/resources/resource.php?id=378 declarative services].
 
The IHello service interface is in the o.e.e.examples.remoteservices.hello bundle.  The hello.host is the service host, and the hello.consumer is the service consumer/client.  The o.e.e.e.r.hello.ds.host is a version of the host that uses [http://www.eclipse.org/resources/resource.php?id=378 declarative services], and o.e.e.e.r.hello.ds.consumer is a version of the consumer that also uses [http://www.eclipse.org/resources/resource.php?id=378 declarative services].

Revision as of 22:45, 6 March 2011

ECF has moved to using git for it's source code control. The top-level of the repository is here.


The following projects are located in the ecf git repository. These hello example projects are underneath <ecf tree>/examples/bundles.

org.eclipse.ecf.examples.remoteservices.hello
org.eclipse.ecf.examples.remoteservices.hello.host
org.eclipse.ecf.examples.remoteservices.hello.consumer
org.eclipse.ecf.examples.remoteservices.hello.ds.host
org.eclipse.ecf.examples.remoteservices.hello.ds.consumer

There is also an example of the use of the OSGi Remote Service Admin Endpoint Description Extender Format (EDEF...defined in chapter 122 section 8) in this example bundle

org.eclipse.ecf.examples.remoteservices.hello.consumer.edef

This project is available in git here.

See also the documentation about this new file-based discovery format in Discovery with the Endpoint Description Extender Format.

IHello Example Service

The IHello service interface is in the o.e.e.examples.remoteservices.hello bundle. The hello.host is the service host, and the hello.consumer is the service consumer/client. The o.e.e.e.r.hello.ds.host is a version of the host that uses declarative services, and o.e.e.e.r.hello.ds.consumer is a version of the consumer that also uses declarative services.

Back to the top