Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team1/OSGI/Implement the Service Consumer

253 bytes added, 16:22, 16 February 2011
no edit summary
tkg = (Ticketing) context.getService(reference);
</pre>
<br/>8. Add code for your GUI (get it from repository [https://ecl500_111a11:pmGN9329@zenit.senecac.on.ca/svn/ecl500_111rep1] and use this service functionalities in it. In order to use it(reference) create a static field in your GUI: <br/>
<code>static Ticketing tkg;</code>
<br/>9.Run your consumer. ''Right click -> Run as -> Run Configuration... -> OSGi Framework''. Select all three bundles and click Add Required bundles. Click ''OK''
1
edit