{"id":27308,"date":"2014-07-06T15:00:46","date_gmt":"2014-07-06T12:00:46","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=27308"},"modified":"2014-07-04T12:36:51","modified_gmt":"2014-07-04T09:36:51","slug":"springboot-introducing-springboot","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html","title":{"rendered":"SpringBoot: Introducing SpringBoot"},"content":{"rendered":"<p>SpringBoot&#8230;there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot?<\/p>\n<blockquote>\n<p><i><b>SpringBoot is a new spring portfolio project which takes opinionated view of building production-ready Spring applications by drastically reducing the amount of configuration required. Spring Boot is taking the convention over configuration style to the next level by registering the default configurations automatically based on the classpath libraries available at runtime<\/b>.<\/i><\/p>\n<\/blockquote>\n<p>&nbsp;<br \/>\nWell.. you might have already read this kind of introduction to SpringBoot on many blogs. So let me elaborate on what SpringBoot is and how it helps developing Spring applications more quickly.<\/p>\n<p>Spring framework was created by Rod Johnson when many of the Java developers are struggling with EJB 1.x\/2.x for building enterprise applications. Spring framework makes developing the business components easy by using Dependency Injection and Aspect Oriented Programming concepts. Spring became very popular and many more Spring modules like SpringSecurity, Spring Batch, Spring Data etc become part of Spring portfolio. As more and more features added to Spring, configuring all the spring modules and their dependencies become a tedious task. Adding to that Spring provides atleast 3 ways of doing anything! Some people see it as flexibility and some others see it as confusing.<\/p>\n<p>Slowly, configuring all the Spring modules to work together became a big challenge. Spring team came up with many approaches to reduce the amount of configuration needed by introducing Spring XML DSLs, Annotations and JavaConfig.<\/p>\n<p>In the very beginning I remember configuring a big pile of jar version declarations in section and lot of declarations. Then I learned creating maven archetypes with basic structure and minimum required configurations. This reduced lot of repetitive work, but not eliminated completely.<\/p>\n<blockquote>\n<p><i><b>Whether you write the configuration by hand or generate by some automated ways, if there is code that you can see then you have to maintain it.<\/b><\/i><\/p>\n<\/blockquote>\n<p>So whether you use XML or Annotations or JavaConfig, you still need to configure (copy-paste) the same infrastructure setup one more time.<\/p>\n<blockquote>\n<p><i><b>On the other hand, J2EE (which is dead long time ago) emerged as JavaEE and since JavaEE6 it became easy (compared to J2EE and JavaEE5) to develop enterprise applications using JavaEE platform. <\/b><\/i><br \/>\n<i><b>Also JavaEE7 released with all the cool CDI, WebSockets, Batch, JSON support etc things became even more simple and powerful as well. With JavaEE you don&#8217;t need so much XML configuration and your war file size will be in KBs (really??? for non-helloworld\/non-stageshow apps also!) <\/b><\/i><br \/>\n<i><b>Naturally this &#8220;convention over configuration&#8221; and &#8220;you no need to glue APIs together appServer already did it&#8221; arguments became the main selling points for JavaEE over Spring. Then Spring team addresses this problem with SpringBoot! <\/b><\/i><br \/>\n<i><b>Now its time to JavaEE to show whats the SpringBoot&#8217;s counterpart in JavaEE land JBoss Forge?? I love this Spring vs JavaEE thing which leads to the birth of powerful tools which ultimately simplify the developers life!<\/b><\/i><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<\/blockquote>\n<p>Many times we need similar kind of infrastructure setup using same libraries. For example, take a web application where you map DispatcherServlet url-pattern to &#8220;\/&#8221;, implement RESTFul webservices using Jackson JSON library with Spring Data JPA backend. Similarly there could be batch or spring integration applications which needs similar infrastructure configuration.<\/p>\n<p><b><i>SpringBoot to the rescue<\/i><\/b>. SpringBoot look at the jar files available to the runtime classpath and register the beans for you with sensible defaults which can be overridden with explicit settings. Also <i>SpringBoot configure those beans only when the jars files available and you haven&#8217;t define any such type of bean<\/i>. Altogether SpringBoot provides common infrastructure without requiring any explicit configuration but lets the developer overrides if needed.<\/p>\n<p>To make things more simpler, SpringBoot team provides many starter projects which are pre-configured with commonly used dependencies. For example Spring Data JPA starter project comes with JPA 2.x with Hibernate implementation along with Spring Data JPA infrastructure setup. Spring Web starter comes with Spring WebMVC, Embedded Tomcat, Jackson JSON, Logback setup.<\/p>\n<p><b><i>Aaah..enough theory..lets jump onto coding.<\/i><\/b><\/p>\n<p>I am using latest STS-3.5.1 IDE which provides many more starter project options like Facebbok, Twitter, Solr etc than its earlier version.<\/p>\n<p>Create a SpringBoot starter project by going to <b>File -&gt; New -&gt; Spring Starter Project<\/b> -&gt; select <b>Web<\/b> and <b>Actuator <\/b>and provide the other required details and Finish.<\/p>\n<p>This will create a Spring Starter Web project with the following <b>pom.xml<\/b> and <b>Application.java<\/b><\/p>\n<pre class=\" brush:xml;wrap-lines:false\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;project xmlns=\"http:\/\/maven.apache.org\/POM\/4.0.0\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n xsi:schemaLocation=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\"&gt;\r\n &lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n\r\n &lt;groupId&gt;com.sivalabs&lt;\/groupId&gt;\r\n &lt;artifactId&gt;hello-springboot&lt;\/artifactId&gt;\r\n &lt;version&gt;1.0-SNAPSHOT&lt;\/version&gt;\r\n    &lt;packaging&gt;jar&lt;\/packaging&gt;\r\n\r\n &lt;name&gt;hello-springboot&lt;\/name&gt;\r\n &lt;description&gt;Spring Boot Hello World&lt;\/description&gt;\r\n\r\n &lt;parent&gt;\r\n  &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n  &lt;artifactId&gt;spring-boot-starter-parent&lt;\/artifactId&gt;\r\n  &lt;version&gt;1.1.3.RELEASE&lt;\/version&gt;\r\n  &lt;relativePath\/&gt;\r\n &lt;\/parent&gt;\r\n\r\n &lt;dependencies&gt;\r\n  &lt;dependency&gt;\r\n   &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n   &lt;artifactId&gt;spring-boot-starter-actuator&lt;\/artifactId&gt;\r\n  &lt;\/dependency&gt;\r\n  &lt;dependency&gt;\r\n   &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n   &lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;\r\n  &lt;\/dependency&gt;\r\n  &lt;dependency&gt;\r\n   &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n   &lt;artifactId&gt;spring-boot-starter-test&lt;\/artifactId&gt;\r\n   &lt;scope&gt;test&lt;\/scope&gt;\r\n  &lt;\/dependency&gt;  \r\n &lt;\/dependencies&gt;\r\n\r\n &lt;properties&gt;\r\n  &lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\r\n  &lt;start-class&gt;com.sivalabs.springboot.Application&lt;\/start-class&gt;\r\n  &lt;java.version&gt;1.7&lt;\/java.version&gt;\r\n &lt;\/properties&gt;\r\n\r\n &lt;build&gt;\r\n  &lt;plugins&gt;\r\n   &lt;plugin&gt;\r\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;spring-boot-maven-plugin&lt;\/artifactId&gt;\r\n   &lt;\/plugin&gt;\r\n  &lt;\/plugins&gt;\r\n &lt;\/build&gt;\r\n\r\n&lt;\/project&gt;<\/pre>\n<pre class=\" brush:java\">package com.sivalabs.springboot;\r\n\r\nimport org.springframework.boot.SpringApplication;\r\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;\r\nimport org.springframework.context.annotation.ComponentScan;\r\nimport org.springframework.context.annotation.Configuration;\r\n\r\n@Configuration\r\n@ComponentScan\r\n@EnableAutoConfiguration\r\npublic class Application {\r\n\r\n    public static void main(String[] args) {\r\n        SpringApplication.run(Application.class, args);\r\n    }\r\n}<\/pre>\n<p>Go ahead and run this class as a standalone Java class. It will start the embedded Tomcat server on 8080 port. But we haven&#8217;t added any endpoints to access, lets go ahead and add a simple REST endpoint.<\/p>\n<pre class=\" brush:java\">@Configuration\r\n@ComponentScan\r\n@EnableAutoConfiguration\r\n@Controller\r\npublic class Application {\r\n\r\n    public static void main(String[] args) {\r\n        SpringApplication.run(Application.class, args);\r\n    } \r\n \r\n @RequestMapping(value=\"\/\")\r\n @ResponseBody\r\n public String bootup()\r\n {\r\n  return \"SpringBoot is up and running\";\r\n }\r\n}<\/pre>\n<p>Now point your browser to <a href=\"http:\/\/localhost:8080\/\">http:\/\/localhost:8080\/<\/a> and you should see the response &#8220;SpringBoot is up and running&#8221;.<\/p>\n<p>Remember while creating project we have added <b>Actuator <\/b>starter module also. With Actuator you can obtain many interesting facts about your application.<\/p>\n<p>Try accessing the following URLs and you can see lot of runtime environment configurations that are provided by SpringBoot.<\/p>\n<ul>\n<li><a href=\"http:\/\/localhost:8080\/beans\">http:\/\/localhost:8080\/beans<\/a><\/li>\n<li><a href=\"http:\/\/localhost:8080\/metrics\">http:\/\/localhost:8080\/metrics<\/a><\/li>\n<li><a href=\"http:\/\/localhost:8080\/trace\">http:\/\/localhost:8080\/trace<\/a><\/li>\n<li><a href=\"http:\/\/localhost:8080\/env\">http:\/\/localhost:8080\/env<\/a><\/li>\n<li><a href=\"http:\/\/localhost:8080\/mappings\">http:\/\/localhost:8080\/mappings<\/a><\/li>\n<li><a href=\"http:\/\/localhost:8080\/autoconfig\">http:\/\/localhost:8080\/autoconfig<\/a><\/li>\n<li><a href=\"http:\/\/localhost:8080\/dump\">http:\/\/localhost:8080\/dump<\/a><\/li>\n<\/ul>\n<p>SpringBoot actuator deserves a dedicated blog post to cover its vast number of features, I will cover it in my upcoming posts.<\/p>\n<p>I hope this article provides some basic introduction to SpringBoot and how it simplifies the Spring application development.<br \/>\n<b><i>More on SpringBoot in upcoming articles<\/i><\/b>.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/www.sivalabs.in\/2014\/07\/springboot-introducing-springboot.html\">SpringBoot: Introducing SpringBoot<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/jcg\">JCG partner<\/a> Siva Reddy at the <a href=\"http:\/\/www.sivalabs.in\/\">My Experiments on Technology<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>SpringBoot&#8230;there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated view of building production-ready Spring applications by drastically reducing the amount of configuration required. Spring Boot is taking the convention over configuration style to the next level by registering the default configurations &hellip;<\/p>\n","protected":false},"author":15,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[30,854],"class_list":["post-27308","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-spring","tag-spring-boot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SpringBoot: Introducing SpringBoot<\/title>\n<meta name=\"description\" content=\"SpringBoot...there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SpringBoot: Introducing SpringBoot\" \/>\n<meta property=\"og:description\" content=\"SpringBoot...there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-06T12:00:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Siva Reddy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/sivalabs\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Siva Reddy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html\"},\"author\":{\"name\":\"Siva Reddy\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/c4bc16742c140e793e22fe73a1b6f488\"},\"headline\":\"SpringBoot: Introducing SpringBoot\",\"datePublished\":\"2014-07-06T12:00:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html\"},\"wordCount\":914,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Spring\",\"Spring Boot\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html\",\"name\":\"SpringBoot: Introducing SpringBoot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2014-07-06T12:00:46+00:00\",\"description\":\"SpringBoot...there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/07\\\/springboot-introducing-springboot.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"SpringBoot: Introducing SpringBoot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/c4bc16742c140e793e22fe73a1b6f488\",\"name\":\"Siva Reddy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/57171cbc9a028e211086675fa890ef348d8da6113ee2e16e74aadad2261d21c8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/57171cbc9a028e211086675fa890ef348d8da6113ee2e16e74aadad2261d21c8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/57171cbc9a028e211086675fa890ef348d8da6113ee2e16e74aadad2261d21c8?s=96&d=mm&r=g\",\"caption\":\"Siva Reddy\"},\"description\":\"Katamreddy Siva Prasad is a Senior Software Engineer working in E-Commerce domain. His areas of interest include Object Oriented Design, SOLID Design principles, RESTful WebServices and OpenSource softwares including Spring, MyBatis and Jenkins.\",\"sameAs\":[\"http:\\\/\\\/sivalabs.blogspot.com\\\/\",\"https:\\\/\\\/x.com\\\/http:\\\/\\\/twitter.com\\\/sivalabs\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/siva-reddy\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SpringBoot: Introducing SpringBoot","description":"SpringBoot...there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html","og_locale":"en_US","og_type":"article","og_title":"SpringBoot: Introducing SpringBoot","og_description":"SpringBoot...there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated","og_url":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2014-07-06T12:00:46+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Siva Reddy","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/sivalabs","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Siva Reddy","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html"},"author":{"name":"Siva Reddy","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/c4bc16742c140e793e22fe73a1b6f488"},"headline":"SpringBoot: Introducing SpringBoot","datePublished":"2014-07-06T12:00:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html"},"wordCount":914,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Spring","Spring Boot"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html","url":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html","name":"SpringBoot: Introducing SpringBoot","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2014-07-06T12:00:46+00:00","description":"SpringBoot...there is a lot of buzz about SpringBoot nowadays. So what is SpringBoot? SpringBoot is a new spring portfolio project which takes opinionated","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2014\/07\/springboot-introducing-springboot.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"SpringBoot: Introducing SpringBoot"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/c4bc16742c140e793e22fe73a1b6f488","name":"Siva Reddy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/57171cbc9a028e211086675fa890ef348d8da6113ee2e16e74aadad2261d21c8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/57171cbc9a028e211086675fa890ef348d8da6113ee2e16e74aadad2261d21c8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/57171cbc9a028e211086675fa890ef348d8da6113ee2e16e74aadad2261d21c8?s=96&d=mm&r=g","caption":"Siva Reddy"},"description":"Katamreddy Siva Prasad is a Senior Software Engineer working in E-Commerce domain. His areas of interest include Object Oriented Design, SOLID Design principles, RESTful WebServices and OpenSource softwares including Spring, MyBatis and Jenkins.","sameAs":["http:\/\/sivalabs.blogspot.com\/","https:\/\/x.com\/http:\/\/twitter.com\/sivalabs"],"url":"https:\/\/www.javacodegeeks.com\/author\/siva-reddy"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/27308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=27308"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/27308\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=27308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=27308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=27308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}