If it is not explicitly told in following recipe, setting up services are described for Ubuntu 16.04 server, but applications are described for Ubuntu 16.04 and/or Lubuntu 16.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

15. XML and JSON

  1. Investigate jtm.extra04 package
  2. Implement methods of XMLCars.java class to pass unit tests.

  1. Get general info about JSON
  2. Look for more information about popular JSON implementation in Java
  3. Look at some examples how to use this library
  4. Add following dependency in <dependencies> element of pom.xml file:

    <!-- JSON -->
    <dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20180813</version>
    </dependency>
  5. Regenerate project files for eclipse with command in your project:

    mvn eclipse:eclipse

    and refresh project in Eclipse

  6. Investigate jtm.extra05 package
  7. Implement classes Car and JsonCars  to pass unit tests.

  
Tags:
Created by Valdis Vītoliņš on 2020-05-28 13:56
Last modified by Valdis Vītoliņš on 2020-05-28 15:28
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License