Blog Archives

01: ♦ Q13 “12 Rules” to write RESTFul Web Service API

These are more like rules to develop RESTFul web services as opposed to being the best practices. #1. Write stateless RESTFul services This means each request from a client to server must contain all of the information necessary to understand the request, and should not rely on any stored session…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in Best Practice, FAQs Java Web Services, member-paid, WebService

01: ♦ Q07 – Q12 Java Micro & Web services Interview Q&As

Extends Java Web Services Basics Interview Q&As – Q17 – Q06. Q7. What is a microservice architecture (aka MSA)? A7. Martin Fowler defines Microservices as a subset of Service Oriented Architecture (SOA). In SOA, the services can be of any size. In a microservice, the service performs a single function.…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in FAQs Java Web Services, Java Design & Architectural Patterns FAQs, member-paid, WebService

10: SOAP Web Service Styles Interview Q&A

Q1. What is the difference between the “RPC” and “Document” styles in SOAP? A1. There are two communication style models that are used to translate a WSDL binding to a SOAP message body. In RPC style, the body of the SOAP request body must contain both the 1) “operation name…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in member-paid, WebService

07: HATEOAS RESTFul Service with Spring tutorial

Step 1: Create a Maven project structure

Step 2: pom.xml to get right jars

Note that “spring-hateoas” is included. The “com.fasterxml.jackson.datatype” is required for the JSON processing. Step 3: Hello class with “ResourceSupport“

The “jackson-datatype-joda” aertifact brings in the dependency jackson libraries. @JsonCreator – signal on how…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in member-paid, WebService

11: ♥ JAX-WS how to create a SOAP web service in Java?

Step 1:Create the Java Maven project:

Step 2: Need the libraries/frameworks This example shows Apache CXF library as JAX-WS implementation with Spring and deployed to JBoss server 5.1.1.

Step 3: Web service interface with JAX-WS annotations Folder: src/main/java

Step 4: Implementation of Web service interface

Step

Read more ›

Posted in WebService

03: ♥ JAX-RS how to create a RESTFul Web Service in Java?

Q. What are the high level steps in developing a RESTful web service in Java? A. You can see the complete tutorial in the tutorials section. This post is to quickly explain the major steps at the job interview. Knowing all the basics is of no use if you can’t

Read more ›

Posted in WebService

08: REST constraints (i.e. design rules) interview Q&A

Q1. What are the 6 REST constraints? A1. REST constraints are design rules that are applied to establish the distinct characteristics of the REST architectural style. These constraints don’t dictate what kind of technology to use, and they only define how data is transferred between components and what benefits we…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in member-paid, WebService
Tags:

05: RESTFul Web Service URI conventions with Spring MVC examples

The high level pattern for the RESTful URI is http(s)://myserver.com:8080/app-name/{version-no}/{domain}/{rest-reource-convetion} For example: http(s)://myserver.com:8080/accounting-services/1.0/forecasting/accounts to list  all the accounts. This is a plural resource returning a collections of accounts. The URI contains nouns representing the resources in a hierarchical structure. For example, if you want a to get a particular transaction…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in FAQs Java Web Services, member-paid, WebService
Page 1 of 212

800+ Q&As – ♥ Free | ♦ FAQs

open all | close all

Java FAQs 200+ Quick Prep

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

100+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your

open all | close all

List by categories