From DZone.com Feed: Creating a REST Web Service With Java and Spring (Part 1)

In the modern world of interconnected software, web applications have become an indispensable asset. Foremost among these web applications is the Representational State Transfer (REST) web service, with Java becoming one of the most popular implementation languages. Within the Java REST ecosystem, there are two popular contenders: Java Enterprise Edition (JavaEE) and Spring. While both have their strengths and weaknesses, this article will focus on Spring and create a simple order management RESTful web application using Spring 4. Although this management system will be simple compared to the large-scale RESTful services found today, it will nonetheless demonstrate the basic thought process, design decisions, and implementation tests required to create a Level 3 (hypermedia-driven) Spring REST web service.

By the end of this article, we will have created a fully functional Spring REST order management system. While the source code illustrated in this article covers the essential aspects of the order management system, there are other components and code (such as test cases) that support the main service that are not shown. All of the source code, including these supporting aspects, can be found in the following GitHub repository:

*****This syndicated article brought to you by Computer Magazine from DZone.com Feed. View the rest of the article at the original publisher's site here*****

ComputerMagazine

Chris Swearingin, MCSE, Professional Technologist, Editor of Computer Magazine (www.ComputerMagazine.com), Owner of 411 Technologies Managed Services, Systems Engineer, IT Manager, Network Administrator, Web Developer. See me at www.Swearingin.com

Leave a Reply

Your email address will not be published. Required fields are marked *