Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Frameworks

  • submit to reddit

jOOX and XSLT. An XML love story, continued

The somewhat functional way of thinking involved with jOOX’s XML manipulation cries for an additional API enhancement simply supporting XSLT. XSL transformation has become quite a standard way of transforming large amounts of XML into other structures, where normal DOM manipulation (or jOOX manipulation) becomes too tedious. Let’s have a look at how things are done in standard Java

0 replies - 1281 views - 02/05/12 by Lukas Eder in Articles

Tapestry Advantages

A summary of the advantages of Tapestry over Struts.

0 replies - 1228 views - 02/04/12 by Howard Lewis Ship in Articles

Testing asynchronous applications with WebDriverWait

If you’re testing a web application, you can’t go far wrong with Selenium WebDriver. But in this web 2.0 world of ajax-y goodness, it can be a pain dealing with the asynchronous nature of modern sites.

0 replies - 1626 views - 02/03/12 by David Green in Articles

Use Xalan's extension functions natively in jOOX

jOOX aims at increased ease of use when dealing with Java’s rather complex XML API’s. One example of such a complex API is Xalan, which has a lot of nice functionality, such as its extension namespaces. When you use Xalan, you may have heard of those...

0 replies - 1017 views - 02/02/12 by Lukas Eder in Articles

Tapestry 5.4: Focus on JavaScript

Tapestry 5.3.1 is out in the wild ... and if Tapestry is to stay relevant, Tapestry 5.4 is going to need to be something quite (r)evolutionary.

0 replies - 1464 views - 02/01/12 by Howard Lewis Ship in Articles

Adapters in JAXB

Java XML Binding (aka JAXB) is part of many applications since it provides a convenient API to marshall/unmarshall Java to/from XML. Like so many area, the devil is in the detail, like when one has to unmarshall a JAXB-incompatible class. Such classes come...

3 replies - 2050 views - 01/30/12 by Nicolas Frankel in Articles

Approaches to XML - Part 3 - JAXB

If you remember from my previous blogs, I’m covering different approaches to parsing XML messages using the outrageously corny scenario of Pete’s Perfect Pizza, the pizza company with big ideas. In this story, you are an employee of Pete’s and have...

1 replies - 2389 views - 01/21/12 by Roger Hughes in Articles

Associating Xtext editors to file names, instead of file extensions

I’m currently working on a Xtext-based editor for Google’s BUILD language, as described in our Google Engineering Blog. BUILD files do not contain an extension, they are simply named “BUILD.” This naming convention make working with Xtext quite...

0 replies - 1826 views - 01/13/12 by Alex Ruiz in Articles

Adding 'Ajax Throbbers' to Zone updates

A common desire in Tapestry is for Zone updates to automatically include a throbber (or "spinner") displayed while the Ajax update is in process. This is, unfortunately, a space where the built-in Tapestry 5.3 Zone functionality is a bit...

1 replies - 896 views - 01/13/12 by Howard Lewis Ship in Articles

Google Guava's Predicates

So the other day I was working away on some rather tricky rules for validating an incoming identifier code. Like 999392304II+TJAJEIAJTI901119 or EPFOOMNNVLLALOWEIITOE

1 replies - 2315 views - 01/08/12 by Thomas Ferris N... in Articles

Dissecting a Tapestry Operation Trace

I'm helping out a client who is having a problem using Spock and Tapestry 5.3 together. The Spock/Tapestry integration was created for Tapestry 5.2, and some subtle change in the Tapestry 5.3 IoC container has boned the integration, so running even a simple...

0 replies - 799 views - 01/08/12 by Howard Lewis Ship in Articles

Multivalue AutoComplete for Tapestry

I have been very experimenting with tapestry-jquery plugin and it is great to finally go back to jquery. Not only using jquery is very easy but it also comes with a lot of plugins. There are some improvements that I think can be added to the...

1 replies - 946 views - 01/06/12 by Taha Siddiqi in Articles

Testing Email Notifications with Apache James 3.0

On windows machines I have been using Mailster for testing email notifications. Unfortunately, I had issues with Mailster in the past running on non-Windows machines. Thus, on Mac I have been using a local Postfix instance, which forwarded email to...

1 replies - 2010 views - 01/02/12 by Gunnar Hillert in Articles

Guava Presents Java Throwable Stack Trace as Single String

Tip #5 of my blog post Ten Tips for Using Java Stack Traces demonstrates two example of using Java code to extract a Throwable's (implying Error or Exception) stack trace into a single

1 replies - 2034 views - 01/02/12 by Dustin Marx in Articles

JAXB, SAX, DOM Performance

 This post investigates the performance of unmarshalling an XML document to Java objects using a number of different approaches. The XML document is very simple. It contains a collection of Person entities. 

3 replies - 2360 views - 12/31/11 by Alex Staveley in Articles