Java

93 articles in this topic

JavaBeans Architecture: Introspection, Properties, Events and a Worked Bean

Trace a StudyTimerBean from builder discovery to runtime events, and see why a constrained change is checked before a bound change is announced.

Updated 27 Nov 20266 min readJava

JDK (Java Development Kit): Components, Compile-to-Run Workflow and Exam Traps

Follow one Java class from source to bytecode, exact output and executable JAR. Along the way, learn what each JDK tool does and how to diagnose common launch and version errors.

Updated 26 Nov 20266 min readJava

Servlet Cookies and CGI Explained: State Management with a Worked Login Trace

Follow Asha's login from the first request to logout, then compare how a Java Servlet and a CGI program connect HTTP to trusted server-side session state.

Updated 25 Nov 20266 min readJava

Methods in Java: Define, Invoke and Trace Calls Step by Step

Learn how Java methods are declared, invoked and traced through a connected PracticeTracker example. Follow call frames, pass-by-value, overloads and common traps.

Updated 25 Nov 20266 min readJava

JRE and JVM Explained: How Java Loads and Executes Bytecode

Trace one Java program from source to bytecode and execution, then use the exact output to separate compilation, loading, linking, initialization and JIT.

Updated 24 Nov 20265 min readJava

Java Servlets: Server-Side Request Handling with a Worked HTTP Trace

Follow one request from servlet mapping to doPost(), validate its inputs, calculate a score, and return JSON. Then test error paths and concurrent requests.

Updated 23 Nov 20266 min readJava

Java Applet Life Cycle: Initialization, Execution and Termination

Learn the legacy applet callback model per instance, then trace exact field values across repeated start, paint, stop and destroy events.

Updated 22 Nov 20266 min readJava

Enterprise JavaBeans (EJB) Architecture Explained: Bean Types, Container Services and a Transaction Walkthrough

See where the EJB container sits, how each bean type behaves, and what the database and message queue retain when a booking transaction commits or rolls back.

Updated 21 Nov 20265 min readJava

Database Connectivity in Java: JDBC Transactions with a Worked Transfer

Follow one JDBC money transfer from connection setup to verified update counts, commit, query, forced failure and rollback, with exact balance calculations.

Updated 21 Nov 20266 min read60 viewsJava

Arrays in Java: Indexing, Traversal and Worked Examples

Build a reliable model of Java arrays, then trace mutation, traversal, copying, logical deletion and ragged rows with exact values.

Updated 20 Nov 20266 min readJava

Java Servlets MCQs: 12 Solved Request Handling Questions

Solve 12 Java Servlet MCQs with teacher-led explanations, an exact request trace, lifecycle checks, JSP translation, and shared-state pitfalls.

Updated 19 Nov 20267 min readJava

Methods in Java MCQs: 12 Solved Questions on Defining and Invoking Behaviors

Solve 12 Java method questions covering declarations, constructor chains, overloads, overrides, runtime binding, and recursive call traces.

Updated 18 Nov 20268 min readJava