Learn Java from the Source

Learn Java from the Source

I’m continually suprised by the number of veteran Java programmers(those with more than six months’ experience) I encounter who aren’taware that the full source code for the standard Java libraries isincluded with most Java development distributions. In a typicalWindows installation of Sun’s Java Development Kit, the source code ispackaged in a JAR file called “src.jar,” which is usually in thetop-level directory where the JDK is installed (for example,C:jdk1.3src.jar). The source tree can be extracted with the jarutility command:

     jar xvf src.jar

It can be quite informative to browse through this source code and seehow the “magic” behavior of many of the common Java classes isimplemented. Those familiar with the concept of object-oriented designpatterns will see many excellent examples of applied patterns,particularly in the design of the Swing library and the Java 2Collections framework.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular