background preloader

Tutorial

Facebook Twitter

Simple and efficient XML parsing using JAXB 2.0. Update 2: Performance Numbers (see below)Update: 1.5 results (see below) One of the things I often need to do is to parse an XML document that doesn’t have a DTD or schema but has a well defined format and load the information I find into a database. Not only do I need to parse it, but I also have to be very careful when I do because generally the XML document could be arbitrarily large. Generally, these two requirements have often been at odds with one another when you needed to pick an XML parsing technology.

Java Concurrency / Multithreading. Asynchronous task handling is important for any application which performs time consuming activities, as IO operations.

Java Concurrency / Multithreading

Two basic approaches to asynchronous task handling are available to a Java application: application logic blocks until a task completesapplication logic is called once the task completes, this is called a nonblocking approach. To invoke an applet packaged as a JAR file : Jar « Language « Java Tutorial.