codaland
Saturday, June 21, 2003
       
How to Convert Dates To Different Time Zones in Java
After spending (wasting?) a great deal of time on this issue, I found
out the following about converting dates in Java from one time zone to
another. Please add any comments or corrections from your knowledge and
experience if it will help prevent wasting a lot of time.
#


       
Treebeard: Open Source XSLT IDE
Often XSLT is used in a background process. For example, transforming an XML document into an HTML page. The process used to write an XSLT document, at least for me, was to write the XSLT in a text editor, save it to a server, and then run the page to see if it transformed correctly. This is a very tedious process if one is just learning XSLT. Most commercial XSLT editor / IDEs are rather expensive, especially if you are an individual just trying to learn XML / XSLT.

Treebeard will also fill the need for small business' who are just getting started with XML/XSLT, are on a tight budget, or don't quite need a full featured IDE.
#


       
Jump the hurdles of Struts development
Building and maintaining enterprise applications is very difficult. Designing elegant and easily maintainable user interfaces for these applications can be the most daunting task of all. The Struts framework from the Apache Jakarta Project has brought Model 2 architecture to J2EE (Java 2 Platform, Enterprise Edition) applications. In this article, Michael Coen and Amarnath Nanduri discuss the issues that face developers using Struts and their approaches to simplifying these problems. (3,000 words; April 18, 2003)
#




Friday, June 20, 2003
       
jfcUnit Tests Swing GUIs
Swing is difficult to test. It's big and complicated, and GUIs change frequently during development. To simplify things, you should ensure that you always separate business logic from presentation logic. The most common way to do this is to implement the MVC pattern (Erich Gamma, et al.). MVC allows you to concentrate your testing on the model and the controller, which are significantly easier to test.


Eh, not so useful. #




Tuesday, June 17, 2003
       
Using Hibernate to Persist Your Java Objects to IBM DB2 Universal Database
Let's face it, if you're hand-coding SQL statements in your enterprise application, you are spending a significant amount of your development time updating and maintaining your persistence layer. Wouldn't it be nice if you could easily persist your existing Java™ objects to a relational database like IBM® DB2® Universal Database™ (UDB)?

Fortunately, there is way to do this. Object/Relational (O/R) mapping tools are sophisticated tools that map objects to rows in a relational database, obviating the need for a complicated persistence layer and minimizing, and in most cases eliminating, the need for developers to write any SQL.
#


       
Find a way out of the ClassLoader maze
Although not frequently asked, this question is rather tough to correctly answer. It usually comes up during framework programming, when a good deal of dynamic class and resource loading goes on. In general, when loading a resource dynamically, you can choose from at least three classloaders: the system (also referred to as the application) classloader, the current classloader, and the current thread context classloader. The question above refers to the latter. Which classloader is the right one?
#


       
hope for pixel pushers
...build solutions that solve real-world problems and bring truth and beauty to our users. Apple gets it. So do we.
#




Monday, June 16, 2003
       
Working with James, Part 1: An introduction to Apache's James enterprise e-mail server
This article is the first in a two-part series on the Java Apache Mail Enterprise Server, also known as James. It lays a foundation for understanding James and for developing server-side e-mail applications. The article provides a high-level overview, briefly touches on the Apache group's design objectives, and describes how to install and configure a workable development environment. You can also take a brief tour of the features supported by James. You'll find descriptions for both the matcher and the mailet implementations that come with James, and a comparison of the existing functionality with that found in traditional e-mail servers.
#


       
Introduction to JAAS
The Java Authentication and Authorization Service (JAAS) extends the Java security model to perform checks based on the identity of the caller. Before you use JAAS, you need to understand some key concepts. These are:

* Subject
* Principal
* Client and LoginContext
* Configuration File
* Provider
* Java Policy File
* JAAS Policy File
#


       
Java look & feel themes
Besides enhanced looks and advanced features, one of the best things about Swing is its pluggable look and feel (PLAF). PLAF architecture allows seamless changes in the appearance of an application and the way an application interacts with the user. However, designing and developing a PLAF is much more exhaustive and complex. On the other hand, themes provide a simple alternative to change look and feel of the swing application. Themes are easier to implement and they enhance the visual appeal of the application UI using the default Java look and feel.

Theme mechanism allows a developer to easily specify the default colors, fonts and icons used by the look and feel (L&F). It allows developers to write their own themes; giving them a choice to show their application GUI the way they want it, rather than depending on the defaults provided by the system.

This article discusses how to use different themes for Swing's default "Metal" look and feel. The metal look and feel, which is also known as Java look and feel is supported on all Java 2 platforms.
#




Sunday, June 15, 2003
       
Java Look and Feel Design Guidelines
Java Look and Feel Design Guidelines provides essential information for anyone creating cross-platform applications and applets in the Java programming language.

Along with design guidelines for using the Java Foundation Classes and the Java look and feel, this book offers a thorough resource for the creation of effective Java technology-based applications and applets.
#


       
Cool Swing Examples

A page containing many examples of the ultra-nifty things you can do with Swing. #




blogroll:

winer
slashdot
javalobby
the server side
developerWorks
news.com
dotnet247
dotnet junkies
gotdotnet
sam gentile
sam ruby
paul prescod
.net guy
0xdecafbad
jon udell
john robb
dj's
rebelutionary
blogging roller
desktop fishbowl
servlets.com
cafe au lait
be blogging
kevin burton
paradox1x
james strachan
the truth is out there
brett morgan
blogging roller #2
joe's jelly
psquad's corner
zopen-x
rickard oberg
the saturn times
russel beattie
gerhard froelich
pete drayton
clemens vaster
weakliem
reinacker
drew
wagner
ingo rammer
ken rawlings
system.error.emit
tomas
simon fell
bit working
justin rudd
chris sells
john lam
jim murphy
brian jepson
john burkhardt
matt pope
better living through software
windley
caetano
kulchenko
loosely coupled
understanding software engineering
rest lst,rdf-interest lst,tag lst ucapi lst
archives:


A man, his puppy, and a double barreled shotgun.

Powered by Blogger