Laytoun' thoughts!

Spring Boot: Save arabic characters in mysql.

A few weeks ago, I had to scrape a website, get some data from it and put it into a mysql Database. This data should be exposed also with rest endpoints. This was a small app, and of course I chosen to work with my favorite Java framework Spring boot!

Jsoup HTML parser - Tutorial & examples

I heard about it a lot and I had the chance -finally- to use it on one of my projects. This is an introductory tutorial of the Jsoup HTML parser. What is Jsoup?! jsoup is a Java library for working with real-world HTML. It provides a very convenient API for

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

Laytoun' thoughts! © 2026