Deesha Tech Academy
Menu
DTA-07AvailableJavaSpring BootRESTOpenAPIRestClientJUnit 5

Spring Boot REST API

Evolve ShopCentral into a contract-first Spring Boot API with validation, resilience, documentation and tests

Designed for

  • Developers who know Spring Core and want REST done properly
  • Freshers targeting Java backend roles at service companies and GCCs
  • Working developers who use Spring Boot but have never designed an API contract
Fee
₹3,000
Duration
10 guided hours
Mode
Online / Offline
Ask about this course

Course curriculum

5 progressive modules

Duration: 10 guided hours

  1. The week

    Sessions 1–5FoundationIntermediateAdvanced
    • 01REST controllers and resource design

      What you build

      The full storefront API moved onto @RestController, with the same paths and responses, so the storefront runs on Boot unchanged.

      • resource design, methods, idempotency and status codes
      • stores, store context and price context
      • ResponseEntity, Location, 204 and 404
      • DTOs as records, and MapStruct
      • .http files and a Postman collection
      • Consumer-driven /api contract preservation with the reference storefront
    • 02Validation and error contracts

      What you build

      One error shape across the whole API, shared through our starter, with a field-level failure and a business-rule failure returning the same structure.

      • Bean Validation and validation groups
      • a custom constraint
      • ProblemDetail from @RestControllerAdvice
      • every domain exception mapped once
      • testing errors with MockMvcTester
      • Contract regression tests for success, malformed input and domain failures
    • 03Paging, versioning, OpenAPI and ETags

      What you build

      Search, facets and the product listing on the new stack, documented in OpenAPI so a second team could build against it without asking.

      • paging, sorting and filtering
      • API versioning in Spring Framework 7
      • OpenAPI and Swagger UI
      • ETags and conditional requests
      • content negotiation and CORS
    • 04RestClient, HTTP interfaces and webhooks

      What you build

      Razorpay checkout and Resend e-mail through declarative clients, with webhooks verified and both providers replaced by WireMock in tests.

      • RestClient, timeouts and error handlers
      • HTTP interfaces with @HttpExchange
      • Razorpay orders, signatures and idempotency keys
      • verified webhooks
      • WireMock in tests
      • Sandbox/test-double boundaries: no live payment credentials required
    • 05Async, scheduling and caching

      What you build

      The asynchronous price import, cart expiry, recurring orders and a cached product listing, all on Spring's executors and schedulers.

      • @Async and task executors
      • @Scheduled jobs
      • caching with @Cacheable
      • @Retryable and @ConcurrencyLimit
      • clean shutdown
      • Bounded execution, backpressure and cache invalidation decision criteria

Batches

Choose a schedule that works for you

No dates yet

Tell us the schedule that would work

We plan batches around demand. Weekend, morning and intensive formats open when enough people ask for them.

Register your interest

Who teaches this

Learn with experienced practitioners

All trainers and mentors

Each batch is assigned its own trainer from this group, named before you enrol.

  • Vishal Shah

    Vishal Shah

    Founder & Principal Trainer

    Two decades building and teaching commerce, banking and cloud platforms, and still writing code

    • Java & Spring Boot microservices
    • TypeScript, React, Angular & Next.js
    • Composable commerce (commercetools)
    Full profile →
  • Satish Mahajan

    Satish Mahajan

    Expert Trainer (Java, Testing & Automation)

    Seventeen years training enterprise engineering teams in Java, Python and test automation

    • Core & advanced Java, Spring Boot
    • Test automation: Selenium, Playwright, Cucumber
    • JUnit 5, TestNG, Mockito, Rest Assured, Karate
    Full profile →

Detailed course information

Full course brief

Most Spring Boot courses stop where the tutorial stops: an entity, a repository, a controller, and a JSON response. The gap employers complain about starts immediately after that: an API that returns 200 for a failure, an entity serialised straight onto the wire, and an error body no client could act on.

This course is built around a real client. The ShopCentral storefront already runs on the backend you have built so far, and every session moves part of its API onto Spring Boot without changing a single path or response. You see straight away when a status code or an error shape breaks the client.

One rung of the Spring line

This is the second rung of the Spring line, four courses on one codebase: Spring Core & MVC, this one, Spring Data JPA and Spring Security, followed by Microservices with Spring Cloud. Each course leaves a running system the next one picks up.

Who this is for

You need working Java, and either Spring Core & MVC or honest hands-on Spring experience. If you have neither, Core Java Programming comes first.

Where it leads

The backend spine of the Java Product Engineering Pathway and Backend Developer (Java), and the prerequisite for Spring AI Developer.

ShopCentral milestone and engineering evidence

Curriculum milestone: 02 · ShopCentral API, stage 2: Spring Boot REST APIs.

Engineering acceptance criteria:

  • Prove the original API contract remains compatible using a contract regression suite.
  • Demonstrate OpenAPI documentation, validation and consistent ProblemDetail error responses.
  • Show one dependency failure recovered or exposed safely and a passing integration test.

Professional practice integrated with delivery: short feature brief and acceptance criteria; issue/branch-based implementation; a small pull-request-style review; tests that can be reproduced; and a demonstration of the working functionality or a deliberately injected failure. The instructor provides a working checkpoint and an explicit handoff to the next course.

No dates announced

We open batches around demand. Tell us the schedule that would work and we will let you know first.

Send your details instead

This website does not store or send these details. Your email or WhatsApp app will open with the message ready for you to review and send.

Where this leads

Continue with

Need help deciding?

Ask about the curriculum, delivery options or the next batch.

Talk to Academy
Enquire