REST Web services
REST (representational state transfer) is an approach for getting content from a website by reading a designated webpage that contains an XML (Extensible Markup Language) file that describes and includes the desired content. A basic use case for it would be an online publisher making available syndicated content. Subscribers would need only to know the URL (Uniform Resource Locator) for the page where the XML file was located, read it with a Web browser, interpret the content data, and reformat and use it appropriately. The fundamental difference between REST Web services and document-style Web services is how the service consumer knows what to expect out of the service. Web services have contracts, defined in WSDL. Since Web services focus on the service, rather than on the resource, the consumer has clear visibility into the behavior of the various operations of the service, whereas in RESTful resource-oriented perspective, we have visibility into the resources, but the behavior is implicit, since there is no contract that governs the behavior of each URI-identified resource. Find the latest information about Restful web services in this topic section.
Top Stories
-
Tip
28 Apr 2022
The deep-rooted relationship between REST and microservices
The REST paradigm can be a natural fit for microservices architectures, but it also presents potential challenges for development teams. Continue Reading
-
Tip
09 Nov 2021
How to choose between REST vs. gRPC
Does your REST API and subsequent JSON or XML data create a bottleneck in your architecture? Perhaps it's time to consider gRPC instead of REST for your web services. Continue Reading
By- Bob Reselman, CogArtTech
-
Blog Post
23 Jan 2022
Comparing Rest vs GraphQL on performance and ease of use
The problem with RESTful web services that use JSON or XML as a data exchange is bloat and verbosity. Compare REST vs GraphQL performance if you want to simplify your web API development. Continue Reading
By- Bob Reselman, CogArtTech
-
Tip
09 Nov 2021
How to choose between REST vs. gRPC
Does your REST API and subsequent JSON or XML data create a bottleneck in your architecture? Perhaps it's time to consider gRPC instead of REST for your web services. Continue Reading
By- Bob Reselman, CogArtTech
-
Quiz
15 Jun 2021
REST web services and RESTful API quiz for developers
How well do you know RESTful APIs and their history? Test your knowledge of RESTful web services with this 10-question quiz on REST-based architectures. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
28 Jul 2020
Reduced cost, responsive apps from micro front-end architecture
Micro front-end development has grown in prominence though has not yet found its footing in the enterprise. Learn more about micro front ends and consider some potential pros and cons. Continue Reading
-
Blog Post
07 Feb 2020
Why you should make kebab case a URL naming convention best practice
They say there are only two difficult challenges in the world of computer programming: Synchronizing the invalidation of a distributed tertiary and quaternary cache; and What to name things. Given ... Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
27 Nov 2019
Public API strategy considerations for enterprise adoption
As organizations look for more cost-effective ways to manage data, an evolving landscape with APIs has made the technology more useful for both the business and IT side. Continue Reading
-
Answer
21 Oct 2019
What's the difference between API and web services testing?
Web services and APIs aren't the same -- or are they? How do web services and API testing differ, and what does each type of test aim to achieve? Continue Reading
By- Gerie Owen, Roobrik
-
Feature
23 Apr 2019
Five RESTful web service client examples for developers
Explore your web service client invocation options with these five examples that enable developers to perform this task at any stage of development. Continue Reading
By- Cameron McKenzie, TechTarget
-
Video
18 Apr 2019
Use Tomcat, Eclipse to create a JAX-RS REST web service
Use this step-by-step tutorial with an example rock-paper-scissors game to understand how to create and take advantage of RESTful web services with Eclipse and Tomcat. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
11 Feb 2019
5 common traps lurking in RESTful development
Unfortunately, many RESTful API developers fall into the same traps during design. Here are five common mistakes that you can avoid with the right planning. Continue Reading
By- Tom Nolle, Andover Intel
-
Opinion
08 Feb 2019
RESTful parameters antipattern considerations for queries, paths
Choose carefully for path and query parameters in URL design. Lackluster choices in the design phase can plague client resource access down the road. Continue Reading
By- Cameron McKenzie, TechTarget
-
Blog Post
27 Nov 2017
MVC 1.0: The perfect fit for microservice admin tools
The following is a transcript of the conversation TheServerSide's Cameron McKenzie had with Ivar Grimstad out hot topics in the Java ecosystem, with an emphasis on MVC 1.0 and the new security ... Continue Reading
By- Cameron McKenzie, TechTarget
-
Opinion
24 Mar 2017
Does reading XML while writing JSON make me a bad person?
I'm always writing JSON code, loving its flexibility and forgiveness. But when I call an external service, I want to be reading XML. Does that make me a bad person? Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
13 Jan 2017
Is JSON and XML your REST performance bottleneck?
Learn how ASCII encoding formats like JSON and REST can adversely impact server application performance compared with emerging binary formats. Continue Reading
-
Blog Post
16 Oct 2016
IBM promotes microservice architectures as key way to "Make Java Great Again"
Being heavily vested in Java technology, it's always interesting to see what Big Blue is doing to move the Java platform forward. Continue Reading
-
Blog Post
14 Oct 2016
Mobile integration a bigger development pain-point than social, security and maintenance combined
Many companies are simply outsourcing their mobile development needs because they don’t have the staff expertise in-house to handle native iOS or Android programming. But is this a sustainable approac Continue Reading
-
News
22 Sep 2016
Fight antipatterns with YAGNTI: You ain't gonna need that interface
To go along with acronyms like TAGRI and YAGNI, we'd like to add YAGNTI: You ain't gonna need that interface. Learn why that applies to JavaOne 2016. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
11 Sep 2016
Establishing a coherent API for the Internet of Things (IoT)
The rapid growth of smart devices is inspiring many developers to create applications for home monitoring, health, and other services. But these applications are dependent on early adopters that actually buy and install hardware. Read on to find out how innovative companies are starting to craft IoT applications without this overhead. Continue Reading
-
Feature
04 Jan 2016
Java APIs to bridge the gap between today and future development efforts
At JavaOne 2015, a big topic of conversation was APIs and API development. In the IBM keynote, the promise was that an evolutionary approach to API development will help modern day developers pass the torch to those doing development in the future. Continue Reading
-
Podcast
17 Sep 2015
Network capacity management still a challenge for apps
Network capacity management challenges are increasing at a faster rate than ever with the robustness of the Internet of Things. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
11 Sep 2015
State-based streaming emerges as REST development alternative
Developers are looking to increase Web application performance with alternatives to REST development approaches. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
04 Aug 2015
A new HTTP protocol eases server-side development
The HTTP protocol is finally getting its first major overhaul, bringing a number of improvements to managing the connections between servers and users. Continue Reading
-
Feature
15 Jun 2015
When loose coupling and SOA style software layering doesn't make sense
Loose coupling and adding in SOA style layers don't make sense unless an application is going to be distributed. If enterprise wide distribution isn't in your application's future, stop adding in extra complexity, and collapse those layers into something easier to build and maintain. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
18 May 2015
The challenge of managing distributed data can only be solved with NoSQL solutions
Managing data over large geographic areas where latency and reliability problems exist is a major challenge for relational databases, but fortunately, NoSQL databases are solving the problem of managing distributed data. Continue Reading
By- Asha Raman
-
Feature
06 Apr 2015
Where are the REST alternatives for real-time applications?
Enterprise developers face number of challenges in creating frameworks for building scalable real-time applications that power modern apps like the cars moving in Uber. Read on to find out how new protocols and automatically synchronized database frameworks can help to simplify these kinds of applications. Continue Reading
-
Feature
15 Jan 2015
Can a pattern become an anti-pattern? How to avoid the loose coupling mistake
Nobody is debating the benefits of loose-coupling, but far too many SOA architects take the practice too far. Make sure you know when loose-coupling makes sense, and more importantly, when it doesn't. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Creating pages based on a JSF template: Using the Facelets ui:define tag
What do you do once you've set up a handsome page template using the Facelets functions that come with JSF 2.x? Well, you start creating new pages, meshing those ui:define tags in with ui:composition and ui:insert. It's easier than it sounds, trust me. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
03 Aug 2013
Software developers demanding resource based, RESTful APIs
Software developers are demanding APIs that are delivered in a RESTful, resource based way, and one way to do that is by building with the RESTlet framework. Continue Reading
By -
Tutorial
23 Apr 2013
How 'big data' solved the content management (CMS) problem
Content management systems that need to sift through huge amounts of data are big data problems in need of a solution. Fortunately, projects like Hadoop and MapReduce are coming to the rescue. Continue Reading
By- Cameron McKenzie (@potemcam)
-
Feature
23 Apr 2013
Big Data Hadoop solutions with Hive, Mahout, HBase and Cassandra
As Hadoop evolves, complimentary technologies such as Hive, Mahout, HBase and Cassandra are allowing software engineers get more and more out of commodity hardware. Continue Reading
By -
Tip
07 Apr 2013
BEST: Simple web service alternatives to SOAP, XML and REST
Sometimes architects over-complicate web services, but indeed, effective solutions can be created without SOA, REST and SOAP. Continue Reading
By- Randall Nagy
-
Feature
01 Apr 2013
Key benefits of architecting loosely coupled SOA-based solutions
Service-oriented architectures (SOA) experience the most benefits when architects use loose coupling to build their solutions. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
15 Feb 2013
ALM expert says Agile methods are the way to conquer mobile ALM
Enterprise application developers are finding mobile application lifecycle management has challenges. ALM pro Howard Deiner advises an Agile approach. Continue Reading
By -
Feature
10 Jan 2013
How NoSQL, MySQL and MongoDB worked together to solve a big-data problem
Choosing between schemaless NoSQL databases and strong-schema relational designs isn't an either-or decision, as this case study points out. When dealing with their big data problem, Craigslist decided that their MySQL servers could use a little help from MongoDB, and putting the two technologies together created a better system with greater availability, scalability and performance. Continue Reading
By- Cameron McKenzie, TechTarget
-
News
30 Nov 2012
The evolution of the API: A future beyond mobile and embedded systems
According to Kin Lane, APIs are moving from social media to the enterprise. Will public APIs be the key to computing in the internet of things? Continue Reading
By- Cameron McKenzie, TechTarget
-
News
18 Jul 2011
jqGrid, REST, AJAX and Spring MVC integration
More than two years back I wrote an article on how two implement elegant CRUD in Struts2. Today I have taken a much more lightweight and modern approach with a set of popular and well established frameworks and libraries. We will use Spring MVC on the back-end to provide a REST interface to our resources, the jqGrid plugin for jQuery to render tabular grids, and we'll wire everything up with a pinch of JavaScript and AJAX. Continue Reading
-
News
18 Jul 2011
restSQL 0.6 release adds PostgreSQL interoperability
Version 0.6 of restSQL, an open-source persistence framework, was released on July 15. The release extends database interoperability from MySQL to PostgreSQL. It also includes extension mechanisms to easily develop support for other database engines. The release additionally was tested with multiple application servers to ensure interoperability with any standard JEE container. Continue Reading
-
Tip
18 May 2011
RESTful Web services made easy
Learn the basics about RESTful web services in this quick tip. You can create a RESTful Web service using nothing more than the JDK, a simple text editor and Tomcat 7. Continue Reading
By -
News
14 Mar 2011
Sculptor 2.0 is out
The new REST support in Sculptor makes it very easy to expose restful services by using conventions and easy delegation to Services to reduce boilerplate coding. Spring MVC is the underlaying REST framework. Continue Reading
-
News
18 Jan 2011
Announcing Bowler - A RESTful Scala Web Framework
Bowler is a new RESTful Scala based web framework built on top of Scalate and Scalatra aiming to bring ease of development for multi-channel webapps applications (web, mobile web, REST API's). Continue Reading
-
News
01 Mar 2004
Cocoon as a Web Framework
Art of Java Web Development covers several different Model 2 web frameworks. Cocoon is more than one type of framework. Cocoon automatically transforms documents based on the request context. It presents a new kind of application service, leveraging XML technologies to create web sites with unprecedented flexibility. Continue Reading
By- Neal Ford