Build Spring Boot projectBuild Spring Boot project

Microservices are built with REST APIs, and the significant reason is that they help in building loosely coupled services. Spring Boot provides the flexibility to create REST APIs quickly, which are exposed as various services.

Spring Boot Framework is quite flexible while working with SQL database. You can use direct JDBC calls using JDBC templates, or you can go by implementing hibernate. One more significant option that Spring framework offers is by creating repositories for Spring Data implementation

Spring Boot provides an option of an embedded in-memory database. This has no persistent data storage. You can retain the data as long as the application is up and running.

Steps to build a simple Spring boot application:

  • Generate a quick Java project with Maven command.
  • Update pom.xml with the Spring web and other Spring boot dependencies.
  • Add SpringApplication.run() method to bootstrap Spring application.
  • Do a Maven clean build using mvn clean package command.
  • Execute command mvn spring-boot:run to run the application.

<dependency>
  <groupid>org.springframework.boot</groupid>
 <artifactid>spring-boot-starter-data-jpa</artifactid>
</dependency>

<dependency>
  <groupid>org.hsqldb</groupid>
  <artifactid>hsqldb</artifactid>
   <scope>runtime</scope>
</dependency>

Some Technical Question and Answers :

  • Which is the default logging file in springboot? spring.log
  • What is default HTML template engine in spring boot? Thymeleaf
  • What is the Annotation used to handle GET request? @GetMapping
  • What is the Annotation used for Rest controller? @RestController
  • What is the prefix used in HTML for Thymeleaf? th:
  • What is the Minimum Java version need for Spring boot? Java 8
  • Which of the following can be used for Dependency managment in spring boot? Maven & Gradle

Lets Learn Spring BootLets Learn Spring Boot

Spring Boot allows you to create operating, production-grade, stand-alone Spring based Applications with ease.

Spring Boot Framework Features:

  • is an opinionated framework.
  • is based on convention over configuration.
  • can build stand-alone applications.
  • can create a production-ready package.
  • has Embedded Tomcat server.

To summarize, Spring Boot Framework is a pre-configured, pre-sugared set of technologies/framework to minimize boilerplate configuration offering the quickest way to get a Spring web application ready and operational with minimal configuration/coding out-of-the-box.

Got Certified as Oracle Cloud Infrastructure Developer 2020 AssociateGot Certified as Oracle Cloud Infrastructure Developer 2020 Associate

After Lot of Hectic schedule with work and learning, Finally fixed the date and showcased my hard work to make it successful by passing the exam Oracle Cloud Infrastructure Developer 2020 Associate.

It is not a easy to score in OCI, It needs a lot of dedication and lots of practice to make it work.

Have made some routine to have daily two hours learning and practicing. some of the concepts and have browsed and analysis-ed the topic online.

There is lot of videos where it was very helpful to engage on. After writing the exam, Got the result on same day after 10 mins and finally got certified in OCI. In this Pandemic, Getting certified in Cloud will help you in the career.

Do you Need SSL(https) for the Website?Do you Need SSL(https) for the Website?

What happen’s if you don’t have the SSL?

  • If the SSL certificate gets flagged as invalid by the browser, the data exchanged between you and the website you’re trying to connect to will be transferred in cleartext. Potentially, any user credentials or other sensitive data communicated over the channel can be sniffed or stolen. It is always recommended not to proceed over an insecure connection.
  • The user’s visiting your website will lose trust due to a lack of perceivable credibility.
  • Some users might be convinced that you are hosting a malicious website and would choose to steer clear even after the issue gets fixed.
  • Adversely impacts business and brings down the reputation especially if you are not a known player experiencing a temporary technical glitch.

How to Get it freely?

If you have website which is using wordpress then you an use below plugin to get the free SSL certification and install it make the website from http to https. Click here to get it freely.

WordPress SSL pulgin

The intention behind having an SSL/TLS certificate was not just for authentication but also to establish the identity of the remote server with whom the client browser communicates.

SSL /TLS protocol to ensure that data travels securely over the wire. Encrypting data in transit helps to prevent any malicious user from sniffing the network to steal sensitive information like passwords, credit card details, etc.

SSL or Secure Sockets Layer and TLS (Transport Layer Security) are cryptographic protocols designed to provide a secure communication channel between clients and servers over the internet. TLS is the relatively newer version when compared to SSL, SSL is the older encryption protocol.

Back to BloggingBack to Blogging

After long gap came to Blogging again. Takes lot of time to make the Site back again from the backup and found-out another hosting provider who is good in many ways.

friendzworld
Back to Blogging July 2020

There has been lots of hips and downs to make blogging going. I hope these will changed since most of the things here made it easy in wordpress.

One thing which i came to know is SSL enabling in site. Free SSL made my site friendzworld.com to https enabled. Will post those information in next blog post, which is very easy to attain

Thanks to brother satish(thehellhero) who though to create his own blogging site, which allowed to make me come back to Blogging again.

ATG FrameWork ChangeATG FrameWork Change

Oracle Atg FrameWork

Oracle Atg FrameWork

Yes My Career Start With struts FrameWork. From last two Year my career changed to ATG FrameWork. The ATG FrameWork is Art Technology Group FrameWork. This the Oldest FrameWork in the web. It is used mainly for E-commerce Purpose.
It has all the end to end in-build features.

When i changed to ATG FrameWork. It required great deal of Training and learning, Since it was very vast in nature. I got so many help in getting the knowledge and finally got certified in Oracle Web Commerce 11.

It was a great Pleasure to achieve this stage.

New Law Passed Jallikattu WinsNew Law Passed Jallikattu Wins

Young Indians Saving Jallikattu

Young Indians Saving Jallikattu

The much awaited the Law for Jallikattu Was Passed. This is the huge victory for students #StudentsPower. Proud Movement for all. Unity wins. Jallikattus are big events that draw people in thousands. They generate a lot of consumption around them which is significant for the rural poor.

Why Jallikattu?

Supporters of native breeds argue that foreign breeds might not be a better option in the long run. Native breeds require less expensive maintenance and are less vulnerable to diseases and viruses. Jersey cows also require more grazing pastures. In the long run, native breeds are a better economic option. And Jallikattu is one big way people keep on rearing native cattle.

Artificial insemination, where semen from one bull can impregnate scores of cows, is criticized because it is believed to destroy the genetic diversity of cattle. It makes cattle more vulnerable to viruses and diseases. The supporters of native breeds argue that this has led to foreign companies creating monopoly on semen.

The low-yield milk of native cows can generate a huge demand as increasingly people perceive it to be more nutritious.

Feeling proud to be part of #jallikattu protestsFeeling proud to be part of #jallikattu protests

Feeling proud to be part of #jallikattu protest. Such a peaceful, lively and youthful protest, Can’t be seen anywhere in India. We went to Marina Beach with my family. I see all of the family coming to protest happily for the first time.

Amount of love and care expressed by families to take part in this protests was awesome.

6 month old child holding the Save Jallikattu banner was ultimate can’t be express in words.

Friendship Thoughts! 03Friendship Thoughts! 03

Friendship Thoughts:

The single finger wipes out tears during our failure is much better than the 10 fingers which comes together to clap for our victory.

We known each other by chance and became friends by knowing each other, still friends by Decision. And we will be FRIEND FOREVER, that is our lifetime Promise

Life Thoughts:

Don’t go the way where life takes you… take your life the way where you want to go. Remember that we are born to live… we are not living because we are born.

Professor Thoughts:

I don’t Mind when Students look at their watches during lectures but i get angry when they remove their watch and shake it to see if its working or not

Friendship ThoughtsFriendship Thoughts

1.Friendship doesn’t occur with special people. But, people become special after being friends . i don’t know what i am to you. But You are always special to me!!

2.Friends are of two types:

one says, “if you ever need anything. i will be there for you“.

other says, “you will never need anything as long as i am there“.

3.There are only two people , who can tell you the truth about you.

” A friend who has lost his temper, and An enemy who starts loving you”!