| Plus: Database access using Jakarta Persistence, Helidon, and MySQL |
|
|
| September 2023, Special Edition |
|
|
|
|
|
|
Angie Jones is a Java Champion and well-known expert in all things developer. You may recall her popular Java Magazine article, “Modern Java toys that boost productivity, from type inference to text blocks.” Her new article, “The 10 commandments of navigating code reviews” (published on TechBeacon), encapsulates many principles that novices should remember—but not just novices: every one of us.
As a professional writer and editor as well as a software developer, I could relate to Angie’s very first commandment—which applies to every team project imaginable, programming or otherwise:
Thou shalt not take it personally You may receive nasty code review comments for various reasons. Perhaps the reviewer lacks the social skills to be able to give feedback in a constructive way. Maybe the reviewer takes pride in being brutally honest and lacks the time and desire to soften the message. Maybe the reviewer is just having a bad day. Or perhaps he or she is just a jerk. Dwelling on why you have gotten rude code review messages is a waste of time and energy.
I hope you enjoy Angie’s article, perhaps while you take a break from reviewing all the material Oracle has published for Java 21.
Take care, Alan Zeichick Editor in Chief, Java Magazine @zeichick
P.S. Are you busy from, say, November 20 through November 22? If not, you can attend the JCON World 2023 virtual conference for free, as Richard Fichtner explains in his article. |
|
| The newest Java Magazine articles |
Java 21 is here: Virtual threads, string templates, and more Java 21 delivers dozens of new features and enhancements. Much of the new functionality applies to four major platform initiatives: Project Amber (improving developer productivity), Project Loom (reimagining threading), Project Panama (bridging Java and other platforms), and Project Valhalla (augmenting the Java object model with value objects). Other JEPs enhance Java’s core libraries and garbage collectors, while a few prepare outdated Java features for removal in future platform releases.
Virtual threads: Are futures a thing of the past? The JVM is in the process of introducing virtual threads, which officially debut as part of Java 21. Virtual threads and futures are heavily discussed among developers, with opinions that range from “Virtual threads will obviate the need for futures” to “You can’t count things such as futures out yet.” Michel Charpentier shares his take on the subject.
Using Helidon and MySQL Document Store to work with diverse databases Java provides a low-level way to access relational data in databases, and it also provides a way to convert relational data manually to objects through object-relational mapping (ORM). However, writes Dmitry Aleksandrov, that process is seldom used because it can be automated with libraries such as Hibernate and EclipseLink. Or you can work with any of them to make portable code based on Jakarta Persistence. Here’s how.
Simplifying data access with MySQL and Jakarta Data Many applications, especially in the enterprise domain, persist or access data in some form. Relational databases are still by far the most used persistence mechanism even though they are being challenged by technologies such as NoSQL databases. Ivar Grimstad explores some concepts for data access and looks at how the new Jakarta Data specification makes data access simpler than ever.
JCON World 2023: A virtual conference for Java developers, November 20–22 The JCON Java developer gatherings aren’t merely events; they are a three-part journey—a journey that traverses physical spaces and digital domains, all while celebrating the essence of Java. Richard Fichtner invites you to attend the November 2023 virtual event for free. |
|
| Follow Java’s evolution and build your skills |
As the on-time delivery of improvements with Java 21 demonstrates, through continued thoughtful planning and ecosystem involvement, the Java platform is well-positioned for modern development and growth in the cloud. Stay current with news and updates by
|
|
|
|