In this section we will cover the basics of Java with clear and simple explanation. Here in this section we have covered concepts in the form of questions. Moreover, I am sure that these concepts will be beneficial to new developers & to those who are preparing for interviews. We will call this section 'Java Core Tutorials'. They are like must to know concepts for every Java professional. In addition, we have a separate section for Java Interview Questions. Let's start learning basics of Core Java in our topic 'Java Core Tutorial'. Q: What is the history of Java ? How popular it is ? In the early nineties, Java was created by a team led by James Gosling for Sun Micro-systems
java
Spring Cloud Annotations With Examples
Introduction of new Annotations reduces the development efforts day by day. Needless to say, as a developer, we can't think of the development of an enterprise level application without using annotations, especially in applications that use Spring or related frameworks. Furthermore, we come across the Spring Cloud framework when we develop a Microservices based application. Now-a-days, there is a high demand of Microservices based applications in the industry. Therefore, it becomes very crucial to know the annotations used in Spring Cloud. Hence, in this article, we are going to discuss 'Spring Cloud Annotations With Examples'. We can't deny from the fact that the cloud is the future and, in the upcoming days, we will be seeing a lot of Java based
How To Add JDK 18 Support in Eclipse
Eclipse not recognising Java-18, How to add JDK 18 support in Eclipse 2022-03?, jdk18 IDE , jdk18 eclipse, eclipse jdk18, eclipse java 18, java 18 eclipse, eclipse java 18 support, eclipse for java 18, JDK 18 support in Eclipse 2022-03 - java Oracle has released JDK 18 in March 2022 and it's general availability date is 2022/03/22. JDK 18 will be a short-term feature release that is supported for six months. However, JDK 17 will be a long-term-support (LTS) release, with extended support from Oracle expected for around eight years. Every Java Professional should be curious to know what is new in Java 18. But, how will we test the new features of Java 18 practically in the early days? However,
How to Write Spring Boot Application Properties Files
If you are a Spring Boot developer, you must have come across the 'application.properties' or 'application.yml' file. Needless to say, these files reduces your development effort by minimizing the amount of XMLs that you were writing in a standard Spring project. Moreover, we accommodate the common properties of our project in the form of key-value pairs in these files. Therefore, it becomes more than important to know all about these files. These are application properties file with the extension of either '.properties' or '.yml'. Hence, our topic for this article is 'How to Write Spring Boot Application Properties Files'. Furthermore, Spring Boot already provides some of the ready-made keys that we use most of the times in our project. Sometimes, we
How To Implement Spring Cloud Config Server In Microservices
In a Microservices architecture based Java application, we have multiple microservices in the form of multiple Spring Boot applications. Each Spring Boot application will have its separate configuration file, where we specify the values in the form of key - value pairs. If you used maven in your application, you must have guessed that we are talking about nothing but application.properties file. You might have noticed that some of the entries in each application's application.properties file are common, such as registering with Eureka server, Email, Security, JPA configurations etc. If we can keep these common entries in one central place and make them accessible by each application, it will make our development easier. Therefore, How can we make a central
How To Implement Spring Cloud Gateway In Microservices
Microservices architecture offers us to deploy multiple services in different servers(hosts) in a private network. When a client request comes to microservices, it should get authenticated before the processing of request. Suppose we have 100 different services in a microservices based application. If client wants to interact with all of them, it will have to pass authentication 100 times. Reducing these many number of calls is one of the reasons to learn 'How To Implement Spring Cloud Gateway In Microservices'. If we have one service which takes care of authentication and also forward the request to concerned service, clients can get the response faster. Yes! We have such type of service which is responsible to do the same. It is nothing
How to Design a Java Enterprise Application Effectively?
This article is intended to experienced Java EE developers who desire to become the Architects of Enterprise applications in Java. It is also useful to the developers, designers, architects who want to create effective blueprints of applications. The title "How to Design a Java Enterprise Application Effectively?" will cover a lot of new demands with faster delivery in an enterprise application as moving fast is one of the most important criteria of today's IT companies. Moreover, we will discuss some best practices to design an enterprise application that suits the current demands. We will also cover the design comparison of Monolith with Microservices based application. Motivation to adapt Design as per Modern Applications Adapting design as per modern applications is all about quickly
MCQ on Spring and Hibernate
Details on this page are a little bit different than at other pages. Rather than going through some theoretical or practical way of learning Spring & Hibernate frameworks, we will test our understanding of Spring & hibernate via solving multiple choice questions (MCQs). In this page, we will talk about 'MCQ on Spring and Hibernate'. Answer & Explanation of each question are given at the bottom of this page. You will find these questions for the first time on the web as they are created after putting a strong effort. You may also find these questions in some other websites/blogs after publishing this page. Someone who likes the questions & interested in copying the questions can just provide a reference of this
Spring Boot Cassandra CRUD Examples
In continuation to Cassandra DB installation, now in this article we will learn the most important DB operations. If we are in Software development world, we should at least know ‘How to write CRUD operation on the database front’. Needless to say, how much importance these operations have in an application development. If you are developing any web application in any programming language, you can’t escape from these operations. CRUD is nothing but an abbreviation to Create, Read, Update and Delete. Moreover, development of CRUD operations is expected from all developers. We will learn ‘Spring Boot Cassandra CRUD Examples’ in this article. Software/Technologies Used in the Examples Sometimes some version conflicts with other version. Hence, listing down the combinations that are proven
How to install Cassandra DB on Windows?
In this article, we are going to learn 'How to install Cassandra DB on Windows?' in simple steps. The Installation process of Cassandra DB is a bit tricky as compared to other database software. Needless to mention, Cassandra is a NoSQL DB and it is known for high performance. How to install Cassandra DB on Windows? We will discuss the process of installing Cassandra in our local system here in this section. There are three mandatory software that we should have in our system in order to take complete benefit of the Cassandra DB. These are: 1) JDK 8+ 2) Python 2.7+ 3) Apache Cassandra 3+ Apart from that, we should have some special settings in order to stat Cassandra smoothly in our system. We will