{"id":59394,"date":"2016-08-09T19:00:06","date_gmt":"2016-08-09T16:00:06","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=59394"},"modified":"2016-08-09T12:29:40","modified_gmt":"2016-08-09T09:29:40","slug":"update-dynamodb-items-java","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html","title":{"rendered":"Update DynamoDB Items with Java"},"content":{"rendered":"<p>On a previous <a href=\"https:\/\/www.javacodegeeks.com\/2016\/06\/insert-items-dynamodb-tables-using-java.html\">post<\/a> we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items.<\/p>\n<p>We will use the Login table for the update examples.<br \/>\nWhen issuing an update you must specify the primary key of the item you want to update.<\/p>\n<pre class=\"brush:java\">public void updateName(String email,String fullName) {\r\n\r\n        Map&lt;String,AttributeValue&gt; attributeValues = new HashMap&lt;&gt;();\r\n        attributeValues.put(\"email\",new AttributeValue().withS(email));\r\n        attributeValues.put(\"fullname\",new AttributeValue().withS(fullName));\r\n\r\n        UpdateItemRequest updateItemRequest = new UpdateItemRequest()\r\n                .withTableName(TABLE_NAME)\r\n                .addKeyEntry(\"email\",new AttributeValue().withS(email))\r\n                .addAttributeUpdatesEntry(\"fullname\",\r\n                        new AttributeValueUpdate().withValue(new AttributeValue().withS(fullName)));\r\n\r\n        UpdateItemResult updateItemResult = amazonDynamoDB.updateItem(updateItemRequest);\r\n    }<\/pre>\n<p>We can proceed on more advanced statements using conditional updates. Conditional updates can help us in many cases such as handling concurrent updates.<\/p>\n<p>We can achieve so by using plain expressions.<\/p>\n<pre class=\"brush:java\">public void updateConditionallyWithExpression(String email,String fullName,String prefix) {\r\n\r\n        Map&lt;String, AttributeValue&gt; key = new HashMap&lt;&gt;();\r\n        key.put(\"email\", new AttributeValue().withS(email));\r\n\r\n        Map&lt;String, AttributeValue&gt; attributeValues = new HashMap&lt;&gt;();\r\n        attributeValues.put(\":prefix\", new AttributeValue().withS(prefix));\r\n        attributeValues.put(\":fullname\", new AttributeValue().withS(fullName));\r\n\r\n        UpdateItemRequest updateItemRequest = new UpdateItemRequest()\r\n                .withTableName(TABLE_NAME)\r\n                .withKey(key)\r\n                .withUpdateExpression(\"set fullname = :fullname\")\r\n                .withConditionExpression(\"begins_with(fullname,:prefix)\")\r\n                .withExpressionAttributeValues(attributeValues);\r\n        UpdateItemResult updateItemResult = amazonDynamoDB.updateItem(updateItemRequest);\r\n    }<\/pre>\n<p>Or through by specifying attributes.<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:java\">public void updateConditionallyWithAttributeEntries(String email, String fullName, String prefix){\r\n\r\n        Map&lt;String,AttributeValue&gt; key = new HashMap&lt;&gt;();\r\n        key.put(\"email\",new AttributeValue().withS(email));\r\n\r\n        UpdateItemRequest updateItemRequest = new UpdateItemRequest()\r\n                .withTableName(TABLE_NAME)\r\n                .withKey(key)\r\n                .addAttributeUpdatesEntry(\"fullname\",new AttributeValueUpdate().withValue(new AttributeValue().withS(fullName)).withAction(AttributeAction.PUT))\r\n                .addExpectedEntry(\"fullname\",new ExpectedAttributeValue().withValue(new AttributeValue().withS(prefix)).withComparisonOperator(ComparisonOperator.BEGINS_WITH));\r\n\r\n        UpdateItemResult updateItemResult = amazonDynamoDB.updateItem(updateItemRequest);\r\n    }<\/pre>\n<p>Another feature is atomic counters. We can issue updates to a DynamoDB item and increase the attribute values. We will add an extra field called count. Also we will add another update function. Once called the function will update the field specified but will also increase the counter attribute. Thus the counter attribute will represent how many times and update was performed on a specific item.<\/p>\n<pre class=\"brush:java\">public void addUpdateCounter(String email) {\r\n\r\n        Map&lt;String,AttributeValue&gt; key = new HashMap&lt;&gt;();\r\n        key.put(\"email\",new AttributeValue().withS(email));\r\n\r\n        UpdateItemRequest updateItemRequest = new UpdateItemRequest()\r\n                .withTableName(TABLE_NAME)\r\n                .withKey(key)\r\n                .addAttributeUpdatesEntry(\"counter\",new AttributeValueUpdate().withValue(new AttributeValue().withN(\"0\")).withAction(AttributeAction.PUT));\r\n\r\n        UpdateItemResult updateItemResult = amazonDynamoDB.updateItem(updateItemRequest);\r\n    }\r\n\r\n    public void updateAndIncreaseCounter(String email,String fullname) {\r\n\r\n        Map&lt;String,AttributeValue&gt; key = new HashMap&lt;&gt;();\r\n        key.put(\"email\",new AttributeValue().withS(email));\r\n\r\n        UpdateItemRequest updateItemRequest = new UpdateItemRequest()\r\n                .withTableName(TABLE_NAME)\r\n                .withKey(key)\r\n                .addAttributeUpdatesEntry(\"fullname\",new AttributeValueUpdate().withValue(new AttributeValue().withS(fullname)).withAction(AttributeAction.PUT))\r\n                .addAttributeUpdatesEntry(\"counter\",new AttributeValueUpdate().withValue(new AttributeValue().withN(\"1\")).withAction(AttributeAction.ADD));\r\n\r\n        UpdateItemResult updateItemResult = amazonDynamoDB.updateItem(updateItemRequest);\r\n    }<\/pre>\n<p>You can find the sourcecode on <a href=\"https:\/\/github.com\/gkatzioura\/egkatzioura.wordpress.com\/tree\/master\/DynamoDBTutorialNode\">github<\/a>.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"https:\/\/egkatzioura.wordpress.com\/2016\/08\/08\/update-dynamodb-items-with-java\/\">Update DynamoDB Items with Java<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/join-us\/jcg\/\">JCG partner<\/a> Emmanouil Gkatziouras at the <a href=\"http:\/\/egkatzioura.wordpress.com\/\">gkatzioura<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the update examples. When issuing an update you must specify the primary key of the item you want to update. public void updateName(String email,String fullName) { Map&lt;String,AttributeValue&gt; attributeValues = new &hellip;<\/p>\n","protected":false},"author":936,"featured_media":112,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1365],"class_list":["post-59394","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-dynamodb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Update DynamoDB Items with Java - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the\" \/>\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\/2016\/08\/update-dynamodb-items-java.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Update DynamoDB Items with Java - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.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=\"2016-08-09T16:00:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-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=\"Emmanouil Gkatziouras\" \/>\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=\"Emmanouil Gkatziouras\" \/>\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\\\/2016\\\/08\\\/update-dynamodb-items-java.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html\"},\"author\":{\"name\":\"Emmanouil Gkatziouras\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/5eee031b356c7682e1fd24c8297561c6\"},\"headline\":\"Update DynamoDB Items with Java\",\"datePublished\":\"2016-08-09T16:00:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html\"},\"wordCount\":175,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"keywords\":[\"DynamoDB\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html\",\"name\":\"Update DynamoDB Items with Java - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"datePublished\":\"2016-08-09T16:00:06+00:00\",\"description\":\"On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"java-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/update-dynamodb-items-java.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\":\"Update DynamoDB Items with Java\"}]},{\"@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\\\/5eee031b356c7682e1fd24c8297561c6\",\"name\":\"Emmanouil Gkatziouras\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c6d031d211ab786ec335687ad6f3f076f93f47e24c92d78041d2f805ee6c291?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c6d031d211ab786ec335687ad6f3f076f93f47e24c92d78041d2f805ee6c291?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c6d031d211ab786ec335687ad6f3f076f93f47e24c92d78041d2f805ee6c291?s=96&d=mm&r=g\",\"caption\":\"Emmanouil Gkatziouras\"},\"description\":\"He is a versatile software engineer with experience in a wide variety of applications\\\/services.He is enthusiastic about new projects, embracing new technologies, and getting to know people in the field of software.\",\"sameAs\":[\"http:\\\/\\\/egkatzioura.wordpress.com\\\/\",\"https:\\\/\\\/gr.linkedin.com\\\/in\\\/gkatziourasemmanouil\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/emmanouil-gkatziouras\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Update DynamoDB Items with Java - Java Code Geeks","description":"On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the","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\/2016\/08\/update-dynamodb-items-java.html","og_locale":"en_US","og_type":"article","og_title":"Update DynamoDB Items with Java - Java Code Geeks","og_description":"On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the","og_url":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2016-08-09T16:00:06+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","type":"image\/jpeg"}],"author":"Emmanouil Gkatziouras","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Emmanouil Gkatziouras","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html"},"author":{"name":"Emmanouil Gkatziouras","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/5eee031b356c7682e1fd24c8297561c6"},"headline":"Update DynamoDB Items with Java","datePublished":"2016-08-09T16:00:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html"},"wordCount":175,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","keywords":["DynamoDB"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html","url":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html","name":"Update DynamoDB Items with Java - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","datePublished":"2016-08-09T16:00:06+00:00","description":"On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","width":150,"height":150,"caption":"java-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/update-dynamodb-items-java.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":"Update DynamoDB Items with Java"}]},{"@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\/5eee031b356c7682e1fd24c8297561c6","name":"Emmanouil Gkatziouras","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c6d031d211ab786ec335687ad6f3f076f93f47e24c92d78041d2f805ee6c291?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c6d031d211ab786ec335687ad6f3f076f93f47e24c92d78041d2f805ee6c291?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c6d031d211ab786ec335687ad6f3f076f93f47e24c92d78041d2f805ee6c291?s=96&d=mm&r=g","caption":"Emmanouil Gkatziouras"},"description":"He is a versatile software engineer with experience in a wide variety of applications\/services.He is enthusiastic about new projects, embracing new technologies, and getting to know people in the field of software.","sameAs":["http:\/\/egkatzioura.wordpress.com\/","https:\/\/gr.linkedin.com\/in\/gkatziourasemmanouil"],"url":"https:\/\/www.javacodegeeks.com\/author\/emmanouil-gkatziouras"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/59394","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\/936"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=59394"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/59394\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/112"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=59394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=59394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=59394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}