Posts
Showing posts from April, 2023
Migrate from Joda to Java(JSR-310)
- Get link
- X
- Other Apps
Migrate from Joda to Java(JSR-310) So, I recently migrated Joda to Java(JSR-310) in a 12-years-old project. In this article, I will describe what I did, and provide some tips along the way. I will also share some of the lessons I learned from this migration. Why? That is simple, because we want to make our life easier. After migration, the project will benefit from Native support from the ecosystem, for example JPA Build faster with less dependency bug fix/security patch can be received immediately In addition, quoting from Joda Time Joda-Time is the de facto standard date and time library for Java prior to Java SE 8. Users are now asked to migrate to java.time (JSR-310). So if you are working in legacy project using Joda, it is time to consider migrating to JSR-310. How? To begin, like any kind of migration, make sure you have enough test coverage before making any change. If no, it’s time to leave and add more test. Congratulate if you continue to read, I will jus...