Rest Plugin

In JBStrap, you can use Rest web service by using the Rest DAO or the Rest DataDescriptor. We have also developed our simple Rest solution. It is capable of reading, filtering and ordering data. Rest is available as a JBStrap plugin. To use the plugin, you have to do the following:

F irst, you have to insert the following entry into the POM.XML file:

Add Rest plugin to pom.xml

Second, you have to load the plugin into the application. To do this, you have to insert the following code into the loadPlugins() method in the application's Startup class:

Load the Rest plugin