Blog Archives
1 2 3 4 5 6

01: 12 Web basics every Java web developer must know – Part 1

Q1. HTTP is a stateless protocol, so how do you maintain state? How do you store user data between requests?
A1. This is a commonly asked interview question. The “http protocol is a stateless request/response based protocol”. You can retain the state information between different page requests as follows:

HTTP Session.…

01: 15 Spring Boot interview Questions & Answers

15 Spring boot interview questions & answers with tutorials for easy setup of new Spring applications. Spring boot helps you get started quickly with its auto-configuration ability, and Spring Cloud…

01: 7 must know Java Web Services Interview Q&As

As an enterprise Java developer, you will be spending more time integrating systems via Java web services & messaging. Java Web Services interview questions are must know for the Java developers.

Q1. What are the different styles of Web Services used for application integration? and What are the differences between both approaches?…

01: Q07 – Q12 Microservices Interview questions & answers

60+ microservices interview questions & answers covering Spring boot, Spring cloud, and microservices design patterns. If you are an enterprise Java developer, then most likely you will be developing Microservices using Spring boot. Let’s start with the beginner microservices interview questions & then get to much needed 20+ microservices design patterns.…

01: Q13 “12 Rules” for REST API design & development

These are more like rules to develop RESTFul web services as opposed to being the best practices. REST is an architectural style without any contracts or specifications. So, it is…

02: 6 Java RESTful Web services Interview Q&As

Q1. What is RESTful Web service, and why is it favored over SOAP Web service? A1. REST stands for REpresentational State Transfer (REST), which is a stateless software architecture that…

02: HTTP basics on headers, MIME types, & cookies for Java developers

Q1. What happens when you open up a browser and type a URL to request a Web page or RESTFul web service data? A1. HTTP is a stateless protocol on…

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.

03: 21+ Java Servlet interview Q&As

Q1. What is a Servlet? Is a Servlet inherently multi-threaded? A1. A Servlet is a Java class that runs within a web container in an application server, servicing multiple client…

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 write a web service.…

1 2 3 4 5 6

800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials