Java Code Fragments
Dynamo
An example of using the Dynamo
RelationalViewManager
outside of Dynamo
Code for sending
mail
A
Schedulable
object
A
Form Handler
used for validation
Dynamically get a handle to another Dynamo component using a
NameContext
Database
How to get the
version
of the Oracle JDBC Driver
An example of using the Dynamo
RelationalViewManager
outside of Dynamo
Toplink
sample code
Creating a
subquery
in
Toplink
Mail
How to send an HTML Mail message through the
JavaMail
API
Graphics
Read a
JPEG
, scale it using
Java2D
and resave as a new JPEG
Miscellaneous
Reading and Writing a
Properties
file
A sample of some
Javadoc
comments
A custom task to run Dynamo BeanMaker from
Ant
How to
Base64
encode a file
A Swing utility app for
deleting
and
Zipping
files.
A class that checks text for proper HTML code. demos a lot of stuff.
Read and Write files using
Reader
and
Writer
classes
An XML file for building a project using
Ant
An object caching mechanism user inner classes, threading and a hashmap
A utlity class that traverses a directory tree and writes file names to a file
XML
Convert a
SQL Query to XML
using Oracle's XSQL classes
An example of instantiating DOM and SAX parsers using
JAXP
Client Side
Write a file from an HTML file using
JScript
and
VBScript
on Windows