Laytoun' thoughts!

Spring Boot: Time Zone configuration using Hibernate

Motivation Recently, I was working on a Spring Boot application that needs to query database (Mysql in my case), extract, compute and save a large amount of data (about 100 000 row). I started first with a small prototype of 5000 lines to check my algorithme. All was good, except

PhantomJs: Generate Pixel Perfect PDF Reports

I've been working lately on a financial project that needs to implement a WYSIWYG reporting module. Which means the module offers to clients the possibility of building their own reports (charts, tables, text ...) and the generated pdf should be exactly the same, a pixel perfect clone of what they've built.

Jshell: exploring Java 9 REPL

Remember the days when you need to write at least one class to test a small snippet of Java code ?! well, those days will be soon from the past once java 9 is released. JShell is the first official Java REPL (Read-Eval-Print-Loop), a command line tool that lets you run

My first Messenger Bot, using Java.

Last month I've joined the Facebook DevC family as DevC Casablanca Lead. Developer Circle is a community supported by Facebook, and aims creating active communities for developers around the world to access information, share knowledge, and collaborate with other developers. As a DevC Lead, One of my roles is to

Spring Boot: Excel, Csv and Pdf view example

Nowadays, exporting data into different format (Csv, Excel, Pdf ...) is a very general requirement in the most of any project. In this article, we demonstrate how to create an Excel, PDF and CSV views using Spring Boot. When configured properly, a Spring’s view resolver can generate the requested document

Laytoun' thoughts! © 2026