Tip:
Highlight text to annotate it
X
EasySOC plug-in demo
Plug-in configuration
Go to Windows -> Preferences...
Select EasySOC menu
Check that the URL points to the EasySOC Registry
Press "Apply" to verify the configuration
The configuration is ok (tip: start the EasySOC Registry first)
Go to Windows -> Show View -> Others...
Select the view named EasySOC -> Candidate Services
The EasySOC Registry shows search results in this panel
Once the plug-in is configured, lets look for a Web Service returning the temperature of Tandil city
The Web Service will be consumed from a component that prints such temperature on the screen
The Java interface of the component has Javadoc comments
Right-click on the interface and select Find candidate services for...
The Query Builder Wizard is started
The Wizard allows us to select which files must be employed for building the query
The Wizard allows us to select whether Javadoc comments must be included
The Wizard processed selected files
The Wizard allows us to edit gathered keywords
(Optional) The keyword "server" is removed, because it is very general
The Wizard allows us to select in which category of services to look for
Candidate services are shown in the panel
Right-click on a service and select Generate matching
An XML file containing the matching is generated (you can edit it)
Right-click on the XML file and select Generate injectable code for...
The Dependency Injection Wizard is started
The Wizard allows us to generate JUnit test cases
The Wizard generates needed code
Take a look at the generated Test case
Go to Run As -> JUnit test
The end