Friendzworld Personal,Programming Build Spring Boot project

Build 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

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

India looking at exploration of outer space using planetary missions including a human space flight programme with Chandrayaan-2 missionIndia looking at exploration of outer space using planetary missions including a human space flight programme with Chandrayaan-2 mission

The success of Chandrayaan I moon mission, India is now looking at exploration of outer space using planetary missions including a human space flight programme. India’s first Chandrayaan-1 mission intended to study the Moon using eleven scientific instruments built in India.

With this, preparation of a 3-dimensional atlas of the lunar surface and chemical and mineralogical mapping of entire lunar surface has been undertaken by scientists from India and abroad. India takes special interest in capacity building and services for enabling the developing countries in the application of Space technology. So far 824 scholars from 31 countries from the Asia-Pacific region and 27 scholars from 17 countries outside the Asia-pacific region have benefited from the educational activities of this Centre,

India has also been discussing at various levels the need for embarking on a human space flight programme. Exploration of outer space using planetary missions will be furthered with Chandrayaan-2 and its follow on missions.

Why i like Prison break and lost season?Why i like Prison break and lost season?

Hi friends!! Generally i don’t like any serials and season. When i was in college doing my final semester, this is time where I started to see the English serials and season. My friend vatsan showed me then first season of prison break episode. After seeing that I feel that I shouldn’t watch any movie because I feel that today’s movie is not as standard as prison break. After I seeing this I waited for so long to see the rest of the prison break episode. Finally I saw the full episode of prison break.

I can even tell that prison break episode is good as much of watching 100 good English movies. This is not yet over after watching prison break next I saw was lost season. Lost season comprise of suspense, thrill and expenditure. I saw the entire coming episode of lost season still the excitement never creeps down. I should appreciate the director and story writer for giving such a wonderful season.

Still the season goes on…the lost season has got so many awards. My friends too stared to watch this season. Thanks to my friend vatsan who told about the English serials and seasons.

Trip to Tirupathi-3rd DayTrip to Tirupathi-3rd Day

Trip to Tirupathi-3rd Day experiences:

On 28 december 2008 we Started the day by 4.30 am, vacated the lodge by 5am, started walking up to tirumala by 6am, we walked very slowly, but took more photos all over we walked, at this when we nearing the temple my friend lost his purse.. we cared about it for sometime..and we reached tirumala by 12, Usually it will take 4 hours for us to walk up the mountain. But this time we spent more time on taking picture and searching my friends purse which he lost .after that we went to our friend sathya’s uncle room by 1pm and we went to temple by 2pm, got darshan by 3pm, probably a very quick darshan in my life time. Then we started from tirumala by 6pm, reached tirupathi by 7pm. we finished dinner by 8pm, waited in busstand for 4 hrs, then we picked 1′o clock bus, came back chennai by 5am.
This was my first visit to tirupathi by walk. i have been to tirupathi with my family 2 times in my childhood but i enjoyed this trip more than that, i love this trip and enjoyed each and every moment. we had taken a nice photo and wonderful picture of mountain.. i think you all will like this…thank you
overall Very nice and enjoyable trip!