You need to implement the query methods you have created in the previous step of this tutorial.
...
1. Save and generate your application.
2. Open the Implementation tab page of the TravelLocationApp application service.
3. To open java editor, choose TravelLocationAppBeanImpl.java.
4. In the findById method, delete the generated instruction return null; and add the following code:
return getTravelLocationService(). findById(QueryFilterFactory.createFilter(id)).iterator().next();
|
You have implemented your application service operations. Now you need to generate, build and deploy your application.
More Information: Generating Code and Building Services.