{"id":5031,"date":"2016-06-18T10:33:55","date_gmt":"2016-06-18T08:33:55","guid":{"rendered":"http:\/\/techmoz.net\/?p=5031"},"modified":"2021-05-05T14:17:16","modified_gmt":"2021-05-05T12:17:16","slug":"java-ee-reporting-i-was-thinking-about-it","status":"publish","type":"post","link":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/","title":{"rendered":"Java EE Reporting \u2013 I was thinking about it"},"content":{"rendered":"<p>When it comes to deliver reports to the end user, the number one approach for the Java enterprise developers nowadays is <strong>jasperReports<\/strong>. Why they do so? What does it offer that makes then all gather around it? Well, it generates HTML pages, pdf files, xls, csv and the list goes on. It also supports different data source types. Most importantly (for the designers) it provides a template based report generation approach. They also offer a design studio, so you got all you need to get reporting.<\/p>\n<p>Okay, it sounds like I\u2019m committed to convince you to use jasperReports ( I bet you are already), but not really. I was describing the tool and why most of Java developers justify their faith to the tool. Well, does it even have competitors? None. They don\u2019t have options do they?<\/p>\n<p>Developers have been exposing themselves to such a complex tool for a tiny goal. Most of these professional never had to generate a csv or doc file.<\/p>\n<p>All they wanted to do is to get a pdf file. What\u2019s the point Mario? Well, the point is I\u2019m talking about Java enterprise and in most of the cases users interact with the system from a web interface through web browsers. Such web browsers render html, css and execute JavaScript.<\/p>\n<p>And? Thats it. If we are developing a web application, there is no way we wouldn\u2019t understand of markup, style sheets and JavaScript. What if we could write our reports directly as web pages, take advantage of all the HTML5 and CSS3 resources and give to the user an option to get the report as pdf? He would already be displaying the report and he could decide to keep it or not by getting the pdf. We could even cache the markup somewhere without having to generate it always and improve user experience. It would be great wouldn\u2019t it? This is exactly what I thought when I met the open source project <strong>wkhtmltopdf<\/strong>. This project aims to allow rendering of HTML on the server-side directly to a pdf format. It is based on <strong>WebKit<\/strong>. I have been testing it and the way it is now it can really help. If you are addicted to design tools then pic an HTML editor and have fun. You want charts, there are plenty JavaScript frameworks.<\/p>\n<p>There is nothing to fear. After all, it\u2019s just HTML. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to deliver reports to the end user, the number one approach for the Java enterprise developers nowadays is jasperReports. Why they do so? What does it offer that makes then all gather around it? Well, it generates HTML pages, pdf files, xls, csv and the list goes on. It also supports different<\/p>\n","protected":false},"author":3,"featured_media":10687,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_dcms_eufi_img":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[963,974,952,978,991],"tags":[],"class_list":["post-5031","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles-2","category-development-tools","category-highlights-2","category-java-2","category-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java EE Reporting \u2013 I was thinking about it - Techmoz<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java EE Reporting \u2013 I was thinking about it - Techmoz\" \/>\n<meta property=\"og:description\" content=\"When it comes to deliver reports to the end user, the number one approach for the Java enterprise developers nowadays is jasperReports. Why they do so? What does it offer that makes then all gather around it? Well, it generates HTML pages, pdf files, xls, csv and the list goes on. It also supports different\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\" \/>\n<meta property=\"og:site_name\" content=\"Techmoz\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/hostmoz\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-18T08:33:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-05T12:17:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"744\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"M\u00e1rio J\u00fanior\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hostmoz\" \/>\n<meta name=\"twitter:site\" content=\"@hostmoz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"M\u00e1rio J\u00fanior\" \/>\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\",\"NewsArticle\"],\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\"},\"author\":{\"name\":\"M\u00e1rio J\u00fanior\",\"@id\":\"https:\/\/techmoz.net\/#\/schema\/person\/fd20b46d911cc409a8a48646aa2eeafe\"},\"headline\":\"Java EE Reporting \u2013 I was thinking about it\",\"datePublished\":\"2016-06-18T08:33:55+00:00\",\"dateModified\":\"2021-05-05T12:17:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\"},\"wordCount\":411,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/techmoz.net\/#organization\"},\"image\":{\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg\",\"articleSection\":[\"Articles\",\"Development Tools\",\"Highlights\",\"Java\",\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#respond\"]}],\"copyrightYear\":\"2016\",\"copyrightHolder\":{\"@id\":\"https:\/\/techmoz.net\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\",\"url\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\",\"name\":\"Java EE Reporting \u2013 I was thinking about it - Techmoz\",\"isPartOf\":{\"@id\":\"https:\/\/techmoz.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg\",\"datePublished\":\"2016-06-18T08:33:55+00:00\",\"dateModified\":\"2021-05-05T12:17:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage\",\"url\":\"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg\",\"contentUrl\":\"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg\",\"width\":744,\"height\":400,\"caption\":\"Java EE Reporting \u2013 I was thinking about it\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techmoz.net\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java EE Reporting \u2013 I was thinking about it\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techmoz.net\/#website\",\"url\":\"https:\/\/techmoz.net\/\",\"name\":\"Techmoz\",\"description\":\"O maior Portal de Tecnologia em Mo\u00e7ambique\",\"publisher\":{\"@id\":\"https:\/\/techmoz.net\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techmoz.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techmoz.net\/#organization\",\"name\":\"Hostmoz,Lda\",\"url\":\"https:\/\/techmoz.net\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techmoz.net\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techmoz.test\/wp-content\/uploads\/2023\/01\/techmoz-logo.png?fit=385%2C90&ssl=1\",\"contentUrl\":\"https:\/\/techmoz.test\/wp-content\/uploads\/2023\/01\/techmoz-logo.png?fit=385%2C90&ssl=1\",\"width\":385,\"height\":90,\"caption\":\"Hostmoz,Lda\"},\"image\":{\"@id\":\"https:\/\/techmoz.net\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/web.facebook.com\/hostmoz\",\"https:\/\/x.com\/hostmoz\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/techmoz.net\/#\/schema\/person\/fd20b46d911cc409a8a48646aa2eeafe\",\"name\":\"M\u00e1rio J\u00fanior\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techmoz.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1ba78c78f5737d6907dfb107a42f20c04a903414c196f57b04d376fc82cffd1e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1ba78c78f5737d6907dfb107a42f20c04a903414c196f57b04d376fc82cffd1e?s=96&d=mm&r=g\",\"caption\":\"M\u00e1rio J\u00fanior\"},\"description\":\"M\u00e1rio Francisco J\u00fanior is the Head Of Software Development at Vodacom Mozambique.\",\"url\":\"https:\/\/techmoz.net\/en\/author\/mfjunior\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java EE Reporting \u2013 I was thinking about it - Techmoz","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:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/","og_locale":"en_US","og_type":"article","og_title":"Java EE Reporting \u2013 I was thinking about it - Techmoz","og_description":"When it comes to deliver reports to the end user, the number one approach for the Java enterprise developers nowadays is jasperReports. Why they do so? What does it offer that makes then all gather around it? Well, it generates HTML pages, pdf files, xls, csv and the list goes on. It also supports different","og_url":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/","og_site_name":"Techmoz","article_publisher":"https:\/\/web.facebook.com\/hostmoz","article_published_time":"2016-06-18T08:33:55+00:00","article_modified_time":"2021-05-05T12:17:16+00:00","og_image":[{"width":744,"height":400,"url":"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg","type":"image\/jpeg"}],"author":"M\u00e1rio J\u00fanior","twitter_card":"summary_large_image","twitter_creator":"@hostmoz","twitter_site":"@hostmoz","twitter_misc":{"Written by":"M\u00e1rio J\u00fanior","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","NewsArticle"],"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#article","isPartOf":{"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/"},"author":{"name":"M\u00e1rio J\u00fanior","@id":"https:\/\/techmoz.net\/#\/schema\/person\/fd20b46d911cc409a8a48646aa2eeafe"},"headline":"Java EE Reporting \u2013 I was thinking about it","datePublished":"2016-06-18T08:33:55+00:00","dateModified":"2021-05-05T12:17:16+00:00","mainEntityOfPage":{"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/"},"wordCount":411,"commentCount":0,"publisher":{"@id":"https:\/\/techmoz.net\/#organization"},"image":{"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage"},"thumbnailUrl":"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg","articleSection":["Articles","Development Tools","Highlights","Java","Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#respond"]}],"copyrightYear":"2016","copyrightHolder":{"@id":"https:\/\/techmoz.net\/#organization"}},{"@type":"WebPage","@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/","url":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/","name":"Java EE Reporting \u2013 I was thinking about it - Techmoz","isPartOf":{"@id":"https:\/\/techmoz.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage"},"image":{"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage"},"thumbnailUrl":"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg","datePublished":"2016-06-18T08:33:55+00:00","dateModified":"2021-05-05T12:17:16+00:00","breadcrumb":{"@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#primaryimage","url":"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg","contentUrl":"https:\/\/techmoz.net\/wp-content\/uploads\/2017\/02\/1520176287921.jpeg","width":744,"height":400,"caption":"Java EE Reporting \u2013 I was thinking about it"},{"@type":"BreadcrumbList","@id":"https:\/\/techmoz.net\/en\/java-ee-reporting-i-was-thinking-about-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techmoz.net\/en\/"},{"@type":"ListItem","position":2,"name":"Java EE Reporting \u2013 I was thinking about it"}]},{"@type":"WebSite","@id":"https:\/\/techmoz.net\/#website","url":"https:\/\/techmoz.net\/","name":"Techmoz","description":"O maior Portal de Tecnologia em Mo\u00e7ambique","publisher":{"@id":"https:\/\/techmoz.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techmoz.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techmoz.net\/#organization","name":"Hostmoz,Lda","url":"https:\/\/techmoz.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techmoz.net\/#\/schema\/logo\/image\/","url":"https:\/\/techmoz.test\/wp-content\/uploads\/2023\/01\/techmoz-logo.png?fit=385%2C90&ssl=1","contentUrl":"https:\/\/techmoz.test\/wp-content\/uploads\/2023\/01\/techmoz-logo.png?fit=385%2C90&ssl=1","width":385,"height":90,"caption":"Hostmoz,Lda"},"image":{"@id":"https:\/\/techmoz.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/hostmoz","https:\/\/x.com\/hostmoz"]},{"@type":"Person","@id":"https:\/\/techmoz.net\/#\/schema\/person\/fd20b46d911cc409a8a48646aa2eeafe","name":"M\u00e1rio J\u00fanior","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techmoz.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1ba78c78f5737d6907dfb107a42f20c04a903414c196f57b04d376fc82cffd1e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ba78c78f5737d6907dfb107a42f20c04a903414c196f57b04d376fc82cffd1e?s=96&d=mm&r=g","caption":"M\u00e1rio J\u00fanior"},"description":"M\u00e1rio Francisco J\u00fanior is the Head Of Software Development at Vodacom Mozambique.","url":"https:\/\/techmoz.net\/en\/author\/mfjunior\/"}]}},"_format-video":{"_edit_lock":["1620216914:2"],"_edit_last":["2"],"views":["529"],"_yoast_wpseo_content_score":["30"],"naff_exclude":["false"],"_yoast_wpseo_primary_category":["978"],"_publicize_facebook_user":["https:\/\/www.facebook.com\/infomoz\/"],"_publicize_twitter_user":["@backstageel"],"_wpas_done_all":["1"],"_jetpack_related_posts_cache":["s:177:\"a:1:{s:32:\"8f6677c9d6b0f903e98ad32ec61f8deb\";a:2:{s:7:\"expires\";i:1480123929;s:7:\"payload\";a:3:{i:0;a:1:{s:2:\"id\";i:5025;}i:1;a:1:{s:2:\"id\";i:5028;}i:2;a:1:{s:2:\"id\";i:4718;}}}}\";"],"dsq_thread_id":["5325950394"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["1"],"_qt_imported":["original"],"_qt_links_fixed":["1"],"_last_editor_used_jetpack":["classic-editor"],"_yoast_wpseo_estimated-reading-time-minutes":["2"],"_encloseme":["1"],"_wpas_skip_3670605":["1"],"_wpas_skip_3670600":["1"],"_wpas_skip_13215035":["1"],"_thumbnail_id":["10687"],"_wp_page_template":["default"],"slide_template":["default"],"rs_page_bg_color":["#ffffff"],"_advads_ad_settings":["a:2:{s:11:\"disable_ads\";i:0;s:19:\"disable_the_content\";i:0;}"],"_yoast_wpseo_newssitemap-exclude":["off"],"_yoast_wpseo_newssitemap-genre":["a:0:{}"],"_yoast_wpseo_focuskeywords":["[]"],"_yoast_wpseo_keywordsynonyms":["[\"\"]"],"post_views_count":["356"],"mashsb_timestamp":["1674507882"],"mashsb_shares":["0"],"mashsb_jsonshares":["{\"total\":0,\"error\":{\"facebook_error\":\"\"},\"facebook_total\":0}"]},"_links":{"self":[{"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/posts\/5031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/comments?post=5031"}],"version-history":[{"count":4,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/posts\/5031\/revisions"}],"predecessor-version":[{"id":10642,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/posts\/5031\/revisions\/10642"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/media\/10687"}],"wp:attachment":[{"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/media?parent=5031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/categories?post=5031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmoz.net\/en\/wp-json\/wp\/v2\/tags?post=5031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}