Spring Academy by VMware
Lab: Returning a list with GET
Next Lesson

Get free Spring training, led by the experts

Give your skills and career a bump with Spring—the world’s most popular Java framework. Your free account gives you access to our growing library of hands-on training, straight from the Spring experts.

Log In / Register

In this lab you'll complete the following objectives:

  • Test the new Cash Card "list" JSON data contract
  • Start with a failing test for a List endpoint
  • Implement a GET endpoint for a list
  • Implement pagination
  • Implement sorting
  • Combine paging and sorting and add default behavior
  • Learn about test interaction and the @DirtiesContext annotation

Carlton Schuyler

Staff Solutions Architect, Software Engineer

Carlton is a veteran of product and consulting companies where he's been writing and delivering software for longer than he cares to admit.

View Profile

Joe Moore

Senior Staff Engineer, Software Consultant, XP nerd

Joe is a passionate software engineer and Agile (XP!) practitioner with a mission to help others achieve amazing outcomes through software.

View Profile

Josh Long

Spring Developer Advocate, open-source hacker, book/video author and speaker

Josh has been the first Spring Developer Advocate since 2010. Josh is a Java Champion, an author of 6 books, a producer of best-selling video training, an open-source contributor, a podcaster, and a YouTuber.

View Profile

Give Feedback

Help us improve by sharing your thoughts.

Share