Grundkurs Programmieren in Java 1 by Detlef Seese

By Detlef Seese

Show description

Read Online or Download Grundkurs Programmieren in Java 1 PDF

Best programming: programming languages books

Prototype and Scriptaculous: Taking the Pain out of JavaScript

This brief minimize demonstrates how one can use Prototype for a variety of initiatives, together with occasion dealing with, DOM processing, string and shape approach, and Ajax communications. It explores Scriptaculous' visible results library, from pulsate to squish to fold and past. desire interface elements? you can find shape autocompletion in addition to drag and drop aid.

Fast Track to Sun Certified Java Program

If you would like to profit the hot beneficial properties in Java SE five. zero and go the solar qualified Java Programmer improve examination (CX-310-056), then this booklet is for you. It covers all of the Java SE five. zero new positive factors required within the examination. you do not need to examine the present good points that you simply already recognize. 117 overview questions and ridicule examination questions are incorporated.

Additional resources for Grundkurs Programmieren in Java 1

Example text

It was originally developed for Delphi 1 by Per Larsen as MemMonD32. After compiling your Delphi program, you simply run it through Memory Sleuth (loading and running it from this environment instead of from the Delphi IDE). The tool detects memory and Windows resource leaks, providing a detailed output with the source code lines causing problems. This tool hooks into the Delphi memory manager and monitors the allocation of Delphi objects but also checks the Windows memory status. Besides giving you a report about the problems, the program can also detect peak memory and resource usage, and even draw some nice graphs.

Aside from the memory information displayed, the program is not particularly interesting; you should add this form to one of your complex applications, so that you can test its memory status. 20: The Memory Status window of the simple VclMem example. You should add this window to your own programs to check how much memory they use over time. This program is a reduced version of a test example from Delphi Developer’s Handbook (Sybex, 1998). That book goes into more depth, discussing not only some cases in which the memory manager might cause problems but also how you can write a custom memory manager.

You might do that to replace Delphi’s memory management scheme with your own or to hook into the memory manager; for example, to count the number of memory blocks allocated and deallocated or checking for memory leaks. Third-Party Tools Delphi’s integrated debugger, the stand-alone Turbo Debugger, and the remote debugger are great for helping you to trace source-code errors, but they won’t help you much with memory problems, and they are still quite limited in some areas. Besides the techniques I’ve just discussed here, there are a few third-party tools that can be extremely helpful in tracing and solving memory problems and other debugging issues.

Download PDF sample

Rated 4.35 of 5 – based on 33 votes