26 março 2020

WebArtilce - Writing More Readable Code with Project Lombok


We have written a lot of boilerplate code such as getter, setter, equals, hashCode methods etc. in Java for years. In some cases, this causes problems in subjects like clean and readable code.

For such situations, Project Lombok saves our eyes :). Also, you will be able to spend more time on the business logic using Lombok.



Source: medium.com

WebArticle - Spring Boot: Soft Delete functionality with Hibernate




09 outubro 2019

WebAtricle - Migration from JEE to JakartaEE


As you probably know Java EE was moved from Oracle to the Eclipse Foundation where will evolve under the Jakarta EE brand. Sept. 10, 2019 Jakarta EE Full Platform and Web Profile specifications was released by Eclipse Foundation during JakartaOne Livestream. Few days later Wildfly declared that WildFly 17.0.1 has passed the Jakarta EE 8 TCK and certification request has been approved by the Jakarta EE Spec Committee. So, now WildFly is a Jakarta EE Full platform compatible implementation.
Let's do migration of typical gradle EE project to the Jakarta EE and look how hard is it. Current JakartaEE version 8.0.0 is fully compatible with JavaEE version 8.0, that means no need to change project sources, just update dependency from javax:javaee-api:8.0 to jakarta.platform:jakarta.jakartaee-api:8.0.0
updated build.gradle:


Source: kostenko.org

WebArticle - JDBC Driver Maven dependency list