{"id":2326,"date":"2012-10-29T11:53:02","date_gmt":"2012-10-29T11:53:02","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=2326"},"modified":"2012-10-29T12:02:10","modified_gmt":"2012-10-29T12:02:10","slug":"spring-constructor-injection-and-argument-names","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html","title":{"rendered":"Spring Constructor Injection and Argument names"},"content":{"rendered":"<p>\n\tAt runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on.\n<\/p>\n<p>\n\tThis has some interesting implications for <a href=\"http:\/\/static.springsource.org\/spring\/docs\/3.1.x\/spring-framework-reference\/html\/beans.html#beans-constructor-injection\">Spring Constructor Injection<\/a>.\n<\/p>\n<p>\n\tConsider the following simple class\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:java\">\r\npackage dbg;\r\npublic class Person {\r\n\r\n private final String first;\r\n private final String last;\r\n private final Address address;\r\n\r\n public Person(String first, String last, Address address){\r\n  this.first = first;\r\n  this.last = last;\r\n  this.address = address;\r\n }\r\n\r\n public String getFirst() {\r\n  return first;\r\n }\r\n\r\n public String getLast() {\r\n  return last;\r\n }\r\n\r\n public Address getAddress() {\r\n  return address;\r\n }\r\n}<\/pre>\n<p>\n\tand a sample Spring bean configuration xml file:\n<\/p>\n<pre class=\"brush:xml\">\r\n &lt;bean name=&#39;address1&#39; class=&#39;dbg.Address&#39; p:street1=&#39;street1&#39; p:street2=&#39;street1&#39; p:state=&#39;state1&#39;\/&gt;\r\n &lt;bean name=&#39;person1&#39; class=&#39;dbg.Person&#39; c:address-ref=&#39;address1&#39; c:last=&#39;Last1&#39; c:first=&#39;First1&#39;  &gt;&lt;\/bean&gt;\r\n &lt;bean name=&#39;person2&#39; class=&#39;dbg.Person&#39; c:first=&#39;First2&#39; c:address-ref=&#39;address1&#39; c:last=&#39;Last2&#39;   &gt;&lt;\/bean&gt;<\/pre>\n<p>\n\tHere I am using the <a href=\"http:\/\/static.springsource.org\/spring\/docs\/3.1.x\/spring-framework-reference\/html\/beans.html#beans-c-namespace\">c namespace<\/a> for constructor injection. This fails with the exception that the argument types are ambiguous &#8211; this is because the first argument is a String and since its runtime representation does not have the argument name present, Spring cannot determine if it should be substituted for the first name or last. There are a couple of fixes possible for this scenario: 1. To use index based constructor injection, the drawback though is that it is very verbose:\n<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<pre class=\"brush:xml\">\r\n &lt;bean name=&#39;person1&#39; class=&#39;dbg.Person&#39; &gt;\r\n  &lt;constructor-arg value=&#39;First1&#39;&gt;&lt;\/constructor-arg&gt;\r\n  &lt;constructor-arg value=&#39;Last1&#39;&gt;&lt;\/constructor-arg&gt;\r\n  &lt;constructor-arg ref=&#39;address1&#39;&gt;&lt;\/constructor-arg&gt;\r\n &lt;\/bean&gt;\r\n &lt;bean name=&#39;person2&#39; class=&#39;dbg.Person&#39; &gt;\r\n  &lt;constructor-arg value=&#39;First2&#39;&gt;&lt;\/constructor-arg&gt;\r\n  &lt;constructor-arg value=&#39;Last2&#39;&gt;&lt;\/constructor-arg&gt;\r\n  &lt;constructor-arg ref=&#39;address1&#39;&gt;&lt;\/constructor-arg&gt;\r\n &lt;\/bean&gt;<\/pre>\n<p>\n\t2. To compile with debug symbols on, this can be done by passing a -g or -g:var flag to the java compiler &#8211; this will ensure that the parameter names are preserved in the class file and the original concise bean configuration with c namespace will work. 3. A neat fix is to annotate the constructor with <a href=\"http:\/\/docs.oracle.com\/javase\/6\/docs\/api\/java\/beans\/ConstructorProperties.html\">@ConstructorProperties<\/a> which basically provides the argument names to Spring:\n<\/p>\n<pre class=\"brush:java\">\r\npublic class Person {\r\n\r\n private final String first;\r\n private final String last;\r\n private final Address address;\r\n\r\n @ConstructorProperties({&#39;first&#39;,&#39;last&#39;,&#39;address&#39;})\r\n public Person(String first, String last, Address address){\r\n  this.first = first;\r\n  this.last = last;\r\n  this.address = address;\r\n }<\/pre>\n<p>\n\tThis works with or without debug options turned on. 4. Probably the best fix of all is to simply use @Configuration to define the beans:\n<\/p>\n<pre class=\"brush:java\">\r\n@Configuration\r\npublic static class TestConfiguration{\r\n\r\n @Bean\r\n public Address address1(){\r\n  return new Address();\r\n }\r\n @Bean\r\n public Person person1(){\r\n  return new Person(&#39;First1&#39;, &#39;Last1&#39;, address1());\r\n }\r\n @Bean\r\n public Person person2(){\r\n  return new Person(&#39;First2&#39;, &#39;Last2&#39;, address1());\r\n }\r\n\r\n}<\/pre>\n<p>\n\t<br \/>\n\tReference: <a href=\"http:\/\/www.java-allandsundry.com\/2012\/10\/spring-constructor-injection-and.html\">Spring Constructor Injection and Argument names<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a> Biju Kunjummen at the <a href=\"http:\/\/www.java-allandsundry.com\/\">all and sundry<\/a> blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some interesting implications for Spring Constructor Injection. Consider the following simple class &nbsp; &nbsp; &nbsp; &nbsp; package dbg; public class Person { private final String first; private final String last; &hellip;<\/p>\n","protected":false},"author":236,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[30],"class_list":["post-2326","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-spring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spring Constructor Injection and Argument names<\/title>\n<meta name=\"description\" content=\"At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some\" \/>\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\/2012\/10\/spring-constructor-injection-and-argument-names.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Constructor Injection and Argument names\" \/>\n<meta property=\"og:description\" content=\"At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.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=\"2012-10-29T11:53:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-10-29T12:02:10+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=\"Biju Kunjummen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Biju Kunjummen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html\"},\"author\":{\"name\":\"Biju Kunjummen\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/802eedfe6f17c3c13fa656af46b6b0e5\"},\"headline\":\"Spring Constructor Injection and Argument names\",\"datePublished\":\"2012-10-29T11:53:02+00:00\",\"dateModified\":\"2012-10-29T12:02:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html\"},\"wordCount\":245,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Spring\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html\",\"name\":\"Spring Constructor Injection and Argument names\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2012-10-29T11:53:02+00:00\",\"dateModified\":\"2012-10-29T12:02:10+00:00\",\"description\":\"At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.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\\\/2012\\\/10\\\/spring-constructor-injection-and-argument-names.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\":\"Spring Constructor Injection and Argument names\"}]},{\"@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\\\/802eedfe6f17c3c13fa656af46b6b0e5\",\"name\":\"Biju Kunjummen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g\",\"caption\":\"Biju Kunjummen\"},\"sameAs\":[\"http:\\\/\\\/biju-allandsundry.blogspot.com\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Biju-Kunjummen\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spring Constructor Injection and Argument names","description":"At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some","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\/2012\/10\/spring-constructor-injection-and-argument-names.html","og_locale":"en_US","og_type":"article","og_title":"Spring Constructor Injection and Argument names","og_description":"At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some","og_url":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-10-29T11:53:02+00:00","article_modified_time":"2012-10-29T12:02:10+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":"Biju Kunjummen","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Biju Kunjummen","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html"},"author":{"name":"Biju Kunjummen","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/802eedfe6f17c3c13fa656af46b6b0e5"},"headline":"Spring Constructor Injection and Argument names","datePublished":"2012-10-29T11:53:02+00:00","dateModified":"2012-10-29T12:02:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html"},"wordCount":245,"commentCount":1,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Spring"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html","url":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html","name":"Spring Constructor Injection and Argument names","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2012-10-29T11:53:02+00:00","dateModified":"2012-10-29T12:02:10+00:00","description":"At runtime, java classes do not retain the name of the constructor or method parameters, unless classes are compiled with debug options on. This has some","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2012\/10\/spring-constructor-injection-and-argument-names.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\/2012\/10\/spring-constructor-injection-and-argument-names.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":"Spring Constructor Injection and Argument names"}]},{"@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\/802eedfe6f17c3c13fa656af46b6b0e5","name":"Biju Kunjummen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g","caption":"Biju Kunjummen"},"sameAs":["http:\/\/biju-allandsundry.blogspot.com"],"url":"https:\/\/www.javacodegeeks.com\/author\/Biju-Kunjummen"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/2326","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\/236"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=2326"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/2326\/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=2326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=2326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=2326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}