Changes

Jump to: navigation, search

Teams Winter 2011/team1/OSGI/Create the Service Interface

177 bytes added, 12:17, 16 February 2011
1. Create the Service Interface
'''1.2. Create Interfaces'''<br/>
Add a package to the src folder in your project.Then Add following ttems items to your package:
# A Java class named BusRoute.
# A Java class named BusRouteNotFoundException which extends java.lang.Exceptions class.
# A Java class named InvalidNumberOfSeatsException which extends java.lang.Exception class.
# An Interface named Ticketing
:'''BusRoutNotFoundException Class:'''
:[[Image: 7CreateNewClass.jpg | 700px]]
:'''InvalidNumberOfSeatsException Class:'''
:[[Image: 71CreateNewClass.jpg | 700px]]
:'''Ticketing Interface:'''
:[[Image: 8CreateInterface.jpg | 700px]]
1
edit

Navigation menu