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
在这篇文章中,我想说明如何的JSON(JavaScript对象
符号)和Java Servlet可以同时使用在一个小的AJAX((Asynchronous JavaScript and XML)的应用。
为了作简要介绍那些谁不熟悉使用JSON密切。JSON是一种表示数据,这使得工作轻量级语法
它比更愉快,使AJAX应用程序的XML 快。此外,当使用JSON工作,没有任何一个XML需要
解析。
Read Full Post »
Posted by Alexander Zagniotov in: ajax, servlets, xml on Jul 10th, 2010 23:33
In this article I would like to show how JSON (JavaScript Object Notation) and Java servlet can be used together in a little AJAX (Asynchronous JavaScript and XML) application. To give brief description to those who are not closely familiar with JSON – JSON is a lightweight syntax for representing data, which makes working with [...]
Read Full Post »
Posted by Alexander Zagniotov in: ajax, java, javascript, json, servlets, xml on Sep 13th, 2009 14:00
I was reading about JBoss security today, and came across the following page: JBoss Security vulnerability JMX Management Console. The guy tells how common is to come across servers on the Internet that run completely unsecured JMX-Console. I gave it a try, typed few keywords in Google, and voilà – around one third of the [...]
Read Full Post »
Posted by Alexander Zagniotov in: jboss, xml on Aug 27th, 2009 12:46
Its quite common when you create an application, there is a need to create an audit trail on the application level where all entity insert, update and delete events are logged. In this post, I would like to describe a simple approach that can help you to avoid littering with unnecessary statements in your application [...]
Read Full Post »
Posted by Alexander Zagniotov in: hibernate, java, xml on Mar 8th, 2009 15:42