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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training 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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training 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: Spring, JavaConfig (i.e @Configuration), JPA & Hibernate by example

Example #1 Wiring JDBC Datasource

application.yml where the datasource properties are read from.

Example #2 Wiring JDBC Datasource with JNDI

Example #3 Wiring the JPA persistence unit processors Callback interface for post-processing a JPA PersistenceUnitInfo. This is useful for auto scanning JPA entities.

Example #4 Wiring…...

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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in Hibernate, JPA, member-paid, Spring JavaConfig

Spring, JavaConfig (i.e @Configuration) & JDBC by example

Example #1 Wiring JDBC Datasource

application.yml where the datasource properties are read.

Example #2 Wiring JDBC Datasource with JNDI

Example #3 Wiring JDBC Embedded Datasource for integration testing

Example #4 Wiring up the JdbcTemplate by passing in the datasource

Example #5 Wiring up a DAO…...

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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in JDBC, member-paid, Spring JavaConfig

Configuring JMS with Java Config for sending & receiving messages

Step 1: The bare-bone Spring Java configuration

Step 2: How to connect? Configuring the “ConnectionFactory”.

Step 3: What destination to use? Configure the destination. E.g. Topic

Step 4: The JMsTemplate that uses both the “ConnectionFactory” and the “Destination” to send and receive messages.

So far it…...

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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training Feel free to evaluate the quality of the contents Free FAQs | HomeTry Log In | Register
Posted in JMS, member-paid

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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training 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-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training 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
Page 1 of 6123456

800+ Interview Q&As – ♥ Free | ♦ FAQs | Hover/Slide

open all | close all

200+ Java Interview FAQs – Quick Prep

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ 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