Java Magazine, Jan/Feb 2018
ORACLE COM JAVAMAGAZINE JANUARY FEBRUARY 2018 20 reactive programming First I simply define the domain model and then I define the services for each domain model Listing 5 defines the Forecast class which wraps the Temperature and Location classes Listing 5 public class Temperature private Double temperature private String scale getters setters public class Location String name public Location public Location String name this name name getters setters public class Forecast private Location location private Temperature temperature public Forecast Location location
You must have JavaScript enabled to view digital editions.