O'Reilly logo

Spring MVC Beginner’s Guide by Amuthan G

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – implementing the order-processing service

We will start with implementing our order processing backend service first. We proceed as follows:

  1. Create a class named Address under the com.packt.webstore.domain package in the source folder src/main/java and add the following code into it. Note that I have skipped the getters, setters, equals, and hashcode methods in the following snippet. Please do add those when you create this class:
    package com.packt.webstore.domain; import java.io.Serializable; public class Address implements Serializable{ private static final long serialVersionUID = -530086768384258062L; private String doorNo; private String streetName; private String areaName; private String state; private String country; private ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required