Archive for the ‘Xml’ Category
Thursday, August 14th, 2008
Most SVN users who use the command line client understand how to create a log in XML format:
[java]
svn log --xml -v svn://some/url > svnlog.xml
[/java]
But this dumps the whole log, and I really just want to see a specific user. Plus, I hate XML and definitely do not want to read ...
Posted in CodeSnippets, Tools, Xml | No Comments »
Friday, May 2nd, 2008
Adding a database back end to Spring Security seems deceptively simple. And to be fair, there are several ways to do it. The way I had in mind looked like a shortcut.
In my application there is basically one table for all users. It contains the values I need for username, ...
Posted in Hsqldb, Java, Security, Spring, Xml | No Comments »
Thursday, May 1st, 2008
Astute readers of my last Acegi article will note that Acegi has been assimilated into the Spring project, and is now called Spring Security. This next example is how I was able to get Spring Security running on my webapp.
I decided early on that I did not want to mess ...
Posted in Java, Security, Spring, Tutorials, Web, Xml | No Comments »
Monday, April 28th, 2008
Note; This was my first day of adding Acegi to an existing webapp.
You can find a lot of Acegi security framework examples on the web these days. Unfortunately, nearly all of the examples use Acegi use the pre 1.0 version, which is before someone removed the SecurityEnforcementFilter..
The official description ...
Posted in Java, Security, Spring, Tutorials, Web, Xml | No Comments »
Saturday, July 14th, 2007
If you want a simple way to marshall / unmarshall your pojo -> Xml files, Castor could be very handy. Before reading the docs on the setup and overview and breaking your nerves on it's rich feature set, lets get going in less than 10 minutes. Castor is extremely powerful ...
Posted in Java, Tutorials, Xml | 1 Comment »
Friday, June 1st, 2007
Most every Java developer these days has written an ant script. Some of us have had the great fortune of writing a lot of ant scripts. And as cool as it is, it gets extremely tedious writing XML.
Enter Groovy's AntBuilder. I've been writing some groovy scripts lately and have wanted ...
Posted in Java, Xml | No Comments »
Tuesday, December 26th, 2006
I've added an extensive article to the wiki about parsing XML with Digester. The article is cut from two articles I found useful, covering the basics of parsing with Digester. Then I also added how to add custom Rules to handle more complex parsing situation.
I've been working with Digester for ...
Posted in Java, Xml | No Comments »