Skip to main content

Evan Summers

Evan Summers lives in Cape Town and plays Java, PostgreSQL and Linux. Most interested in crypto, systems monitoring and BI right now. Past interests include Swing, and future interests include mobi web.

 

Weblogs

We introduce a generic table model supporting a list of backing beans, with simplistic "beans binding" facilitated by java.beans.PropertyDescriptor.
...

I gave an overview of what and where JSR 295 and 296 are, with special emphasis that both have public java.net sites with active mailing lists, where all the excitement is happening, and open to...

We expose a "presentation model" bean using an interface, used to create a dynamic proxy,
with a backing Map of property/values eg. for GUI prototyping, or otherwise a java....

Let's define a minimal property interface.

public interface Property<V> {
  public void set(V value);
  public V get();  ...

Things to Streamline

I recently started writing a Swing feed reader (FeedTrove.dev.java.net) - which i was on my checklist, so that's ticked - but i have still more things to do...

I spotted this handy blog entry and so decided to give it a go, on a brand new $15 linux VDS. Here...

Another reason why we need properties in the language is ... for "native" database queries, e.g.

Person person = createQuery(new WhereLikePredicate(Person.name...

Let's look at neatening up those messy equals() and hashCode() methods in our entities.

I have one very simple rule for design, namely to create as many classes as possible! Let's name this "Evan's Rule of Simplicity by Multiplicity."

Let's build a trivial client/server demo using SSLServerSocket and SSLSocket as provided by the...

In the Hyper Text Processor prequel, we processed half-baked HTML for this "Foundation Beans" series of...

If it's gonna take a while to start up our Swing app, then we probably wanna display a splash screen.

It's easy with Java6 - just add a -splash command-line option.
...

Earlier we considered using straight Base-64 for hiding sensitive data from prying eyes.

Let's take...

We hear talk of introducing "native XML" into Java7. I'm not sure what form that might take?

Embedding HTML and SQL (and JavaScript et al) "text" into Java is cumbersome eg. using multi-...

For documentation purposes (and perhaps remote support), we need snapshot images of our application. So let's build such support directly into our application itself.

...

i was just reading a blog "Google Hasn't Improved Search" where the author says,

In the HTML Builder prequel, we generated a HTML artifacts for QHyperTextProcessorProperties.

So...

I was just reading a nice tip by Peter Bromberg, in his blog entry Simple XOR...

Let's check out some Java Cryptography, considering both symmetric and asymmetric algorithms.

Let's use reflection to set a bunch of configurable values via the command-line using "system properties."

The "Google Operating System" blog entry "Google Docs & Spreadsheets vs Microsoft Office"...

Passwords should never be seen in clear text eg. in transfer objects, or in database columns. So we hash them up. Nothing to it.

...

We implement a event listener list singleton supporting weak references.

Then we can add listeners to an object we wish to observe, and fire events to its observers, without implementing...

In the Gooey Beans Info prequel, we explicitly declare properties. Now we allow a bean info instance to be...

See our editor highlights, and Bruce Eckel's...

Having defined style objects in the Hyper Style prequel, we build an "HTML builder" to generate HTML/...

Do you use Google Reader? But why not?! ;)

googleReader