I am developing a Billing System from the scratch using Spring boot which is absolutely free. You can download the code and play around with it on your Computer. For more info read this story.

Image for post
Image for post
Billing Software using Spring Boot

Welcome back friends after long days, I have started writing Stories for my Billing System. This Billing Software 100% useful for those who are looking for Project Development experience using Spring Boot. The source code is available @ https://pinepad.in/downloads/ . You can download it from here. In order to learn about this Project Please watch the following channel and Subscribe to the Channel for regular…


Image for post
Image for post
Code Walkthrough of Offer and Category Table

Welcome back friends, in this video, we will be going to explore Offer Table and Category Table. The user of the Offer table is, if you want to add a new Offer to the Product and if you want to update the existing product. We are using offer Table in the billing System. Following is the structure of the Offer Table.


Image for post
Image for post

Dear friends welcome back. This is a very important article. This article explains how to set up the Billing System on your Local Computer. In order to test the Billing System Application or if you want to study the Billing System Project, you must set up the Billing System on your computer. Please read this full article for a successful setup.

Prerequisite to setup Billing System
The following software you have to install in your computer in order to set up a Billing System in your System.

Java 8
It is available to download from this link:
https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html


Image for post
Image for post
String new vs equal operator

if we declare a String variable with a value, the Java store the String value in the String pool area. if we declare another String variable, if we assign the same value as below, Java never allocates a new address for the second variable because, since the value is already available in the String pool area, java assigns the “Suresh” ‘s reference to the second variable that's it. so now both variables pointing the same reference variable. This process happens only if we declare a string variable like below. …


Image for post
Image for post
Tax table integration

Welcome back friends, In this story, we will going to learn about the implementation of Tax, offer, and Category CRUD Operation. CRUD nothing but Create, Read, Update, and Delete operation. We will be going to perform these operations against these tables. Tax offer and category tables are important tables in the billing System. Let explore the table and its CRUD operation.

Tax Table
The tax table contains the HSN Code for various types of Products. each code mapped with Tax percentage. Following is the Table relation between Product and Tax table


Image for post
Image for post
Core java string comparison

Welcome back, friends. Most of the Java developers knows What is different between “equals” and “==” operator and how it different while comparing two string using “equals” and “==”.
String name1 = “Suresh”;
String name2 = new String(“Suresh”);
System.out.println(name1 == name2); // false
System.out.println(name1.equals(name2)); // true

In the above program, name1 and name2 are having “Suresh” value. If we use the “==” operator for comparing the two String values, it gives false. Both values are the same but it is giving false. Why? The reason is, “==” equal to operator compares two String value’s memory addresses(reference). According to the above…


Image for post
Image for post
Introduction to Web Application

Dear Friends https://www.Pinepad.in welcomes you to start Spring Boot for Beginners course. This is course designed for those who don’t have knowledge of Web Application concepts. I will be going to teach you the fundamentals. In order to continue this course, you must know the fundamentals of Java Programming. Please learn Java programming and come back and read this tutorial to become a Spring Boot Programmer.

What is a Web Application?
If you say any software is a Web Application, it must have two layers which are Client and Server. The following diagram explains the Web Application Architecture flow.


Image for post
Image for post

Welcome back, friends. In this story, I will be going to explain the implementation of JWT in our Spring Boot App. If you are not familiar with Security. I am suggesting to read the following Stories
Enabling default Spring Security in Spring Boot
Enabling Spring Security with a custom user
Spring Boot Basic Authentication step by step implementation

The following are key classes to enable JWT Authorization in our Spring Boot Application.

AuthenticationService
JwtUtils
SecurityConfig
JwtRequestFilter
JwtTokenRepository

Following two artifacts we have to add in our pom.xml file. The first artifact enables the Spring security in our Spring Boot App…


Image for post
Image for post

Welcome back friends in this video we will going to talk about Spring Boot Basic.

What is Basic Authentication in Rest API?
This is the easiest and straight forward authentication mechanism in the Rest API Authorization technique. The client sends the credential in the following format
username: password
This credential encrypted using Base64. This is the encoding technique followed in Basic Authentication. The client must encode the above-formated credential using Base64 and send it to Server for authorization. The encrypted format should like below. The encrypted string prefixed with “Basic”
Basic c3VyZXNoOnN1cmVzaA==

Now we will be going to implement Basic…


Image for post
Image for post

Welcome back, friends! We have learned how to enable the Spring Boot default Authorization Previous Story. Now we will be going to learn how to enable Spring Boot Authorization using our own Credentials.

In order to configure our own Credential, we have to create a Spring Security configuration class which extend from “WebSecurityConfigurerAdapter”

@Configuration
@EnableWebSecurity
public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
}

As above create a new class which extends from WebSecurityConfigurerAdapter then we need to override the following configure Method.

@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
}

In this method, we need to configure our own credentials…

Suresh

I am a Java / J2EE Consultant. Happy to learn. https://pinepad.in/blog/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store