In this example I would like to show how unmarshall XML into a POJO using HierarchicalStreamReader. I am new to a HierarchicalStreamReader, so I decided to write a tutorial about it. In the current example, I will develop an application which will convert customer’s purchase history into a domain model. The domain objects Purchase, Item [...]
Read Full Post »
Posted by Alexander Zagniotov in: java, xml on Aug 29th, 2010 17:55
I wanted to start a discussion what is the better choice for an application server when building an enterprise J2E application? Should one go for a Tomcat + Spring combination which provide light-weight simplified alternative to JEE container or should more heavy weight app server like JBoss be considered? I have found some resources on [...]
Read Full Post »
Posted by Alexander Zagniotov in: app servers, java, jboss, tomcat on Aug 28th, 2010 10:05
I came across a video called Java 4-Ever Trailer. Produced by guys at Java Zone. Its a trailer about supposedly upcoming movie about an average family living in .NET world. Their son grows up to be rebellious by starting to experiment with Java as a teenager. I think it is absolutely hilarious. I had to [...]
Read Full Post »
Posted by Alexander Zagniotov in: java, off topic on Jul 11th, 2010 18:43
In this post, I would like to show how to load font files and format specific sections of the document at run time, when generating PDF document using Flying Saucer and iText libraries. I will create a String that has a structure of valid XHTML file. The content of String is what going to be [...]
Read Full Post »
Posted by Alexander Zagniotov in: java on Feb 23rd, 2010 21:04
For the past thirteen days Java Beans dot Asia was offline. Normally I would not care, but in this case I was a bit disappointed, as my web host provider has decided that my blog takes too much CPU resources. As a result, I had to disable my online PDF generator
Read Full Post »
Posted by Alexander Zagniotov in: java on Nov 6th, 2009 16:13