Nauka programowania dla początkujących. Przykłady programowania w języku Java
Coding Conventions
Java Code Conventions (from Sun Microsystems)
- Introduction
- File Names
- File Organization
- Indentation
- Comments
- Declarations
- Statements
- White Space
- Naming Conventions
- Programming Practices
- Code Examples
Collections Framework
- The Quintessential Collection
- Array Example
- ArrayList Example
- LinkedList Example
- TreeSet Example
- Predicate (Filtering) Example
- Collections in Java

Data/Time/Calendar Functions
Input and Output (I/O)
- Provides Convenience Methods for Converting HEX Values
- Filenames and Pathnames Example
- Files Example
- Directories Example
- Reading and Writing Example
- Custom Logging Example
JavaCC
JDBC
- Connection Example
- Connection Options (i.e. SYSDBA)
- Password Management/Password Aging Features In JDBC
- Query Example
- DDL Example
- DatabaseMetaData Example
- Tablespace Usage Query
- Serialize Objects to Oracle
- Fetch Size
- Large Objects - (LOBs)
- PL/SQL and JDBC
- Write Text File to Table
- JDBC Application (with Oracle JVM and complete Ant Example)
JNDI
LDAP - Netscape LDAP SDK
Logging Facilities
- Core Objects
- Logging Priority Levels
- Introduction to Java Logging Facilities

- Logging Demo (1) - Java SDK 1.4 Logging API
- Logging Demo (2) - Java SDK 1.4 Logging API
- Logging Demo2.xml
- Logger Relationship Example
Math
Miscellaneous Java
- Using CLASSPATH and SOURCEPATH
- Java Primitive Types
- Java Options For Garbage Collection
- Using javap
- Converting Data Types
- Auto increment/decrement operator
- Play standard audio files (WAV or MID)
- Java Statement Runner
- Using the CLASSPATH or Other Packaged APIs

- Using the JAR Utility

- The Java Class Disassembler

- Garbage Collection (verbose option)
Networking
- Java Networking Programming Overview
- Get Service By Name
- Internet Protocol (IP) Address Example
- Client Sockets Example
- Server Sockets Example
- Uniform Resource Identifier (URI) Examples
Object-Oriented Techniques
- Object-Oriented Techniques
- Object Equality
- Printing Objects using toString()
- Overriding the hashCode() Method
- Cloning Objects
- The Class Class
Parameters Passing
Properties
Random Numbers
Reflection
- Introduction To Using Reflection
- Understanding Class.forName()

- Reflect Class Example
- Reflection Demo
Regular Expressions
Running External OS Commands
Security
Serialization
Strings
- Strings
- Substrings
- String tokenizer
- StringBuffer versus String
- Reverse string (by characters)
- Reverse string (by words)
- Accessing a string one character at a time
- Controlling the case of a string
- toString Example
- Beep / Date Example
Swing / AWT
- Events and Their Associated Listeners
- AWT Example
- Exit Application On Frame Close
- Confirm Exit Dialog
- FlowLayout Manager
- BorderLayout Manager
- CardLayout Manager
- Pack() vs. setSize()
- Change Pluggable Look and Feel
Threads
- When Is a Thread Considered Active?
- Starting, Stopping and Joining Threads
- Thread Countdown (extending Thread)
- Thread Countdown (implement Runnable)
- Using the isAlive() method
- Using the join() method
- Using the join() method - (Another Example)
- Thread Naming
- The currentThread() method
- Enumerating Threads in an Application
- Parallelism Example
XML
- XML / Example Notes
- Example XML and DTD File
- Example CDATA File
- DTD Overview

- Declaring Zero or One Occurrences of the Same Element
- All about JAXP (by Enhydra Strategist)

- XML APIs ll_About_JAXP.pdf

- DOM Example (Generic)
- SAX Example (Generic)
- Oracle XML Parser Example (DOM)
- Xerces2 XML Parser Example (DOM)
- Crimson XML Parser Example (DOM)
- JAXP Example (Uses default parser - which is Crimson)
- JAXP Example (Using Crimson Parser)
- JAXP Example (Using Xerces Parser)
- JAXP Example (Using Oracle Parser)
- XML Tree Viewer (SAX)