Spring Boot Practice Questions and Their Solutions

The following list provides some Spring Boot Practice Questions and Their Solutions. Application Based Spring Boot Practice Questions and Their Solutions Develop a simple Spring Boot application that displays ‘Welcome to programmingempire.com’. Demonstrate the use of Dependency Injection and auto-wired with Spring Boot. For this purpose, create an application involving the three classes – RegularFaculty, …

Spring Framework Practice Problems and Their Solutions

This article presents a few Spring Framework Practice Problems and Their Solutions. A Brief Tutorial on Spring Framework A Java application has a Model class ‘Art’. Further, this class has three attributes – art_id, art_title, and artist_name. You are required to create a Spring XML configuration file to create a bean entry for the Art …

Hibernate Practical Problems and Their Solutions

In this article, I will present some of the Hibernate Practical Problems and Their Solutions that will help you work with Hibernate. Basically, Hibernate is a Java Framework for ORM (Object Relational Modeling). In other words, Hibernate provides a mapping of Java classes to the database tables. The following list provides Hibernate Practical Problems and …

Servlet and JSP Practice Questions

The following list provides some of the Servlet and JSP Practice Questions and their solutions. Write a program that displays “Servlet Tutorial – programmingempire.com”. Create a servlet that displays the request headers and their values. Further, create an HTML form that contains text fields, text area, radio buttons, drop-down list, checkboxes, and date. Also, create …

Exercise on Object Oriented Programming in Java

This article presents an Exercise on Object Oriented Programming in Java. The following Exercise on Object Oriented Programming in Java will help you understand the concepts of classes, objects, encapsulation, static methods, polymorphism, method overriding, and inheritance. Also, the solution for each program is provided here. Create a class named Box with three attributes – …

A Video Library Application in Java

In this article, I will discuss a Video Library Application in Java. The following application explains the concept of object-oriented programming in Java. It shows how to perform abstraction and encapsulation. We design the application as follows. There are two entities: CD_Video, and VideoLibrary. Further, the CD_Video represents a Video CD. For simplicity, it has …

Uppercase and Lowercase Functions in Java

This article explains Uppercase and Lowercase Functions in Java with examples. In order to carry out the conversion of lowercase letters to uppercase and vice versa, there are two functions in Java. These functions are toUpperCase() and toLowerCase(). The following section explains these functions. A Program to Demonstrate Uppercase and Lowercase Functions in Java The …