| Also, Julia Boes describes Java 18’s Simple Web Server |
|
|
| Week of April 11, 2022 |
|
|
|
|
|
|
How many editions of Cay Horstmann’s Core Java do you own? Personally, I have three printed sets, not counting the new 12th edition (which I have in a digital format). Over the past few years, my instance of the 11th edition has seen a lot of use, particularly as I transitioned over to my current role for Java Magazine.
My predecessor, Andrew Binstock, writes occasional book reviews for this magazine; he even wrote up that 11th edition back in August 2019. You may be interested to know that some of Andrew’s comments about the 11th edition continue to apply to his brand-new review of the 12th.
If you read or use Core Java, please tell me what you think. If you don’t care for those books, I’d enjoy hearing about that too. Tweet me at @oraclejavamag or write me at javamag_us@oracle.com.
Take care, Alan Zeichick Editor in Chief, Java Magazine @zeichick
P.S. JavaOne is back! Mark your calendars to attend Oracle’s official Java tech conference October 16–20 in Las Vegas, Nevada. |
|
| The newest Java Magazine articles |
Java 18’s Simple Web Server: A tool for the command line and beyond Julia Boes, one of the designers of the new Simple Web Server, explains how the server shines in the context of prototyping, ad hoc coding, and testing. Its simplistic design also avoids any confusion with feature-rich or commercial-grade servers—after all, far better alternatives exist for production environments, and the Simple Web Server is not the right choice in such cases.
Curly Braces #3: Let’s have fun with Java arrays Eric Bruno guides us on a journey that covers a lot about Java: declaring and allocating arrays of primitives, allocating arrays of Object elements, using reflection, using generics, and using lambdas. Best of all, he undertook this voyage for a noble cause: to write elegant and compact Java code.
Bruce Eckel on Java records Java 16 finalized the addition of the record keyword, which defines classes designed to be data transfer objects (also called data carriers). Records automatically generate immutable fields, a canonical constructor, an accessor method for each element, and the equals(), hashCode(), and toString() methods. Bruce shows us how all this works.
Book review: Core Java, Volumes I and II, Twelfth Edition Core Java is written for experienced developers, explains book reviewer Andrew Binstock. That is, Cay Horstmann’s audience for these two hefty volumes is programmers who already know how to write code in some language and who want practical information without the need to be taught basic concepts or entertained by code samples of little value. |
|
| A half dozen recent Java certification quizzes |
|
|
|
|
|
| Complimentary subscription to Java Magazine |
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.
Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox. |
|
|
|
|
|