Archive for the ‘Technobable’ Category

Write a Stored Procedure in Postgres 8+

Stored Procs Sometimes as a developer we’re tasked with data intensive work like importing data into a database, cleaning up sets of incomplete records or transferring data from one table to another through some kind of filter. While our application would normally be in charge of creating and maintaining the data, sometimes we don’t want [...]

Posted on May 5, 2010 at 7:52 pm by Ant · Permalink · Leave a comment
In: Technobable · Tagged with: , ,

XML, Xalan, Endorsed dirs and &..

So recently, we’ve been working on a project that makes use of OpenSAML. As it turns out OpenSAML required newer Xalan libraries (2.7.1 to be precise), the kind that don’t ship with the older incarnation of jboss we are using for the project – version 4.02. Some of you might be more familiar with the [...]

Posted on January 28, 2010 at 12:32 am by Ant · Permalink · 3 Comments
In: Jboss, Technobable · Tagged with: , , , ,

Java, XML and XStream

What’s an object/xml serializaing/deserializaing library? If you’ve never worked with an object/xml serializer and are considering writing your own from scratch, you may want to consider using a library like XStream. XStream is very good at moving java into xml and back. It allows a high level of control over how the xml can be [...]

Posted on January 22, 2010 at 12:36 am by Ant · Permalink · 9 Comments
In: Java, Technobable, xml · Tagged with: , , , ,

5 ways to make XML more XPath friendly

As java developers we should always do what we can to optimize outbound xml from our side of the fence. I mean, its our job to build and design awesome, elegant and efficient software whenever possible right? We have our data and we want to serialize it into xml, how can we make our xml [...]

Posted on January 19, 2010 at 9:26 am by Ant · Permalink · Leave a comment
In: Technobable, xml · Tagged with: , , , ,

Basic Ant scripts

What’s an Ant script? Do I need bug spray? Ant is a scripting tool commonly used to build, compile and deploy projects. This is in no way an all encompassing inventory of what Ant can do. It is extensible and its instructions are expressed in an xml format whose nodes comprise a framework of abilities [...]

Posted on January 13, 2010 at 8:22 pm by Ant · Permalink · Leave a comment
In: Technobable, xml · Tagged with: , , , , , ,

All things XPath

What’s XPath? So XPath is really just a means of accessing data on xml nodes. XML has structure, with node and branches and attributes; XPath is the notation we use to express which nodes, branches or attributes we want to access. XSL makes use of this notation in order to change the structure and layout [...]

Posted on January 10, 2010 at 8:02 pm by Ant · Permalink · Leave a comment
In: Technobable, xml · Tagged with: , , ,

N-Tier architecture

History Lesson Long, long ago.. in a galaxy far, far away… People once known as computer nerds started writing code… They walked 20 miles a day to get to the keyboard, and walked 20 miles more to copy a 3.5 inch floppy disk, remember those? 512k ram was huge! Well, back in those days people [...]

Posted on January 5, 2010 at 9:20 am by Ant · Permalink · Leave a comment
In: Technobable · Tagged with: , , ,