
While working on Jettison, I often need to convert XML to JSON. Here’s a simple method that uses XStream and Jettison:import java.io.StringReader;
import...
0 replies - 6675 views - 09/19/12 by Dejan Bosanac in Articles

The open source PostgreSQL could
already behave like its NoSQL peers, making it the database of choice...
1 replies - 7618 views - 09/12/12 by Eric Gregory in Articles

This post is broken down into 3 exercises. Exercise 1 Add a new class, called MySampleDataSource. This will replace SampleDataSource. MySampleDataSource ...
0 replies - 3338 views - 09/10/12 by Bruno Terkaly in Articles

Last year I was working on building a Solr based
log indexing and search. My idea was simple. Write a custom appender, use
XML Layout, parse the XML into...
0 replies - 4144 views - 09/01/12 by Arun Manivannan in Articles

Faster and faster, that is what we want from our databases. And the
biggest roadblock for the MySQL Dragster is the speed of the hard disk,
right? No, I'm...
0 replies - 4143 views - 08/07/12 by Anders Karlsson in Articles

Do you ever wish you could turn a Java object into a stream of bytes as
fast as it can be done in a native language like C++? If you use
standard Java...
0 replies - 5420 views - 07/25/12 by Martin Thompson in Articles

Here’s a license for a library you probably use right now. Notice the clause I circled in an alarmist shade of red:
If you saw this license...
0 replies - 39094 views - 03/12/12 by Brian Fox in Articles

Richer presentation. Deeper data in search results.Search UIs are getting richer and more interesting by the day.
Google page snapshots, animated...
0 replies - 7097 views - 02/20/12 by Matt Overstreet in Articles

XML is for dinosaurs, right? Everybody uses JSON these days. So you do, don’t you?
But what about things like XSD, XSLT, JAXB, XPath, etc – is it all...
0 replies - 5426 views - 02/08/12 by Christoph Beck in Articles

There’s a lot of good things about JSON — it’s a standards based,
language independent, representation of object-like data. Also, it’s
easy to...
1 replies - 6036 views - 12/29/11 by Francesca Krihely in Articles

JSON data format is simple and still powerful.
Nowadays you can encounter more and more web applications communicating
using JSON format then a couple of...
4 replies - 5089 views - 09/09/11 by Ladislav Gažo in Articles

0 replies - 1016 views - 08/08/11 by Snippets Manager in Uncategorized

In order to improve development efficiency
of Web Application, we need to implement the parallel development between Web Front
End and Web Back End. To...
0 replies - 1471 views - 07/08/11 by Jacky Cui in Articles

0 replies - 4788 views - 06/27/11 by Snippets Manager in Uncategorized

Hey all faithful readers! Next week we will be posting a new tutorial series. The series will focus on transfering information from a php webservice to your...
1 replies - 9673 views - 05/19/11 by Mark Mooibroek in News