Blog Archives

♦ Client-side & Server side view technologies interview Q&As

Q1. What do you understand by client side and server side view technologies? A1. There are client side & server side view technologies available. Server side view technologies In server-side view technology the most of the page rendering happens on the server side. The server side view technologies are JSPs,…...

Members Only Content

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

30-Day-Java-JEE-Career-Companion, 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, Web basics

02: JDBC with MySQL, Datasource, and connection pool Tutorial

Step 1: pom.xml file with commons-dbcp2 for the connection pooling and abstraction layer for the datasource.

db.properties for connection details Step 2: Create a new source folder “src/main/resources”. Step 3: Define the MySQL database “learnjavadb” connection properties in a new file named “db.properties” under “src/main/resources”.

Using the “MysqlDataSource”

Read more ›

Posted in JDBC, JDBC Tutorial

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-Companion, 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-Companion, 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 & Architecture 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-Companion, 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 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-Companion, 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 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-Companion, 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 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-Companion, 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
Page 1 of 6123456

Take the road less travelled

Fast-track by empowering yourself to choose from multiple job offers, open more doors and increase your earning potential.

800+ Java Interview Q&As – ♥ Free | ♦ FAQs

open all | close all

Pressed for time? 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