Changes

Jump to: navigation, search
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/Lab2/branches/Consumer/] ) 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''
<br/>10. Now you can test your provider services:<br/>
[[Image: Consumer2.jpg | 300px]]
1
edit

Navigation menu