Java Odata tutorial part 1

Hi 🙂 This tutorial will be written in English. I hope this is not a problem for you.

Let’s get started. First of all you should create empty project with your model. I make all operations in IntellIJ, repository is available on github under this url:

  1. Open IntelIJ and create a package „model”.
  2. Our class model should look like on image bellow:
  3. Create three classes in the package: Parcel,  Address,  Warehouse.
  4. Parcel class:
  5. Address class:
  6. Warehouse class:
    It’s all in this part. Next time we try to set up maven project. See you soon ! 🙂

Sprawdź też

sac tutorial