Archive for August, 2007

Using XPath for Efficient Parsing of the XML Documents in Java

Tuesday, August 28th, 2007

If you ever had to write a document parser that uses DOM API in Java, you may have mixed feelings about the simplicity of using of this API. Yes, it is simple and the concept of the document tree is very easy to understand. However, if you want to write some really good (i.e. reliable) [...]

Sending and receiving GSM SMS on Blackberry using RIM APIs

Tuesday, August 14th, 2007

One of the most interesting aspects of the mobile applications is the asynchronous messaging. SMS messages, despite their small size and other limitations represent a very important mechanism the applications can use for various purposes: sending small connectionless notifications from the client to the server, waking up the inactive application on the user’s [...]

Using HTTP-Over-Socket and HTTP Proxy in J2ME Applications

Tuesday, August 7th, 2007

As you know, MIDP version 2 (in fact, CLDC 1.x) offers very limited networking support. While trying to come up with a very simple, highly portable and as much flexible as possible networking API, Sun has missed a couple of important things. One of them is the ability to open HTTP connections through a proxy [...]