Open Resource Window

May 15th, 2008

Eclipse provides a window called ‘Open Resource’ window to locate the required files in no time.

Read the rest of this entry »


RecordStore with examples - III

May 15th, 2008

I will continue exploring RecordStore with examples in this post.
Read the rest of this entry »


RecordStore with examples - II

May 14th, 2008

Let continue exploring RecordStore.
Read the rest of this entry »


RecordStore with examples - I

May 14th, 2008

I will use several examples to show how to use RecordStrore in J2ME applications.
Read the rest of this entry »


in.use file

May 13th, 2008

A lot of J2ME developers face problems when running multiple instance of Nokia Wireless Toolkit emulators. Some of the problems are linked with in.use file. This post is all about that.
Read the rest of this entry »


ANT’s best practices - IX

May 13th, 2008

Testing the build file is important. You don’t want other coders complaining about your ANT script.
Read the rest of this entry »


ANT’s best practices - VII

May 12th, 2008

It is common to use Ant to create WAR, JAR, ZIP, and EAR files. These files generally require a particular internal directory structure. Its normal that the archive files directory structure won’t match directory structure of your source code and build environment.

Read the rest of this entry »


ANT’s best practices - VI

May 12th, 2008

It is always a good idea to keep the build process self-contained. This post is all about this.

Read the rest of this entry »


ANT’s best practices - V

May 11th, 2008

Do read the previous posts on this very topic before going through this one. I assume that you have some understaing of the ANT build precess.
Read the rest of this entry »


ANT’s best practices - IV

May 11th, 2008

In this post, I have discussed how dependency management can make build process faster and more manageable.
Read the rest of this entry »


ANT’s best practices - III

May 10th, 2008

Do read the first two parts of this post for better understanding. This post continues to list ANT’s best practices.
Read the rest of this entry »


ANT’s best practices - II

May 10th, 2008

In this post, I will continue talking about ANT’s best practices.
Read the rest of this entry »


ANT’s best practices - I

May 10th, 2008

ANT makes building complex Java applications easier. But many people argue that managing ANT scripts is itself a cumbersome task and involves a lot of effort. In the next few posts, I will talk about how one can adopt best practices for creating and managing ANT scripts that will make the life of developers and configuration managers easier.
Read the rest of this entry »


Transformations API for XML - IV

May 9th, 2008

Do read the first 3 posts on this topic before going through this one.
Read the rest of this entry »


Transformations API for XML - III

May 9th, 2008

The six steps discussed in the last posts makes XSLT transformation based on the StAXSource/StAXResult classes very simple and easy. The actual task is to create the StAXSource/StAXResult objects and the using the required constructor.
Read the rest of this entry »


Transformations API for XML - II

May 8th, 2008

Do read the first postr on this topic before going through this one.
Read the rest of this entry »


Transformations API for XML - I

May 8th, 2008

In the next few posts, I will write about how to perform an XSLT transformation using StAX APIs: Cursor API and Event Iterator API.
Read the rest of this entry »


Creating MessageDigest - 2

May 7th, 2008

This post is in continuation of “Creating MessageDigest - 1″. Do read that before going through this one.
Read the rest of this entry »


Creating MessageDigest - 1

May 7th, 2008

Message digests are secure one-way hash functions that take arbitrary-sized data and output a fixed-length hash value. Thing to remember is that it I s not any encryption technique. It’s simply hashing. Same message will always generate the same hash code and a slight change in the message will generate completely different hash code. In the next few posts, I will talk about how we can generate message digests in our Java programmes.
Read the rest of this entry »


Behavioral Pattern - Iterator Pattern (Example) - 2

May 6th, 2008

The defined channel iterator will be common for all the remote controls. So we know which method will do our required task, but the method has to be implemented by the class implementing this interface.
Read the rest of this entry »


Behavioral Pattern - Iterator Pattern (Example) - 1

May 6th, 2008

The aim is to iterate through a collection of data using a common interface and more importantly, underlying implementation should not be known. We have a behavioral design pattern called ‘Iterator Pattern’ for this. I will introduce you to it in this post.
Read the rest of this entry »


Path vs ClassPath

May 5th, 2008

I have found may people asking the difference between ClassPath and path. They tend to mix these and find this confusing. I will address this issue in this post.
Read the rest of this entry »


Sync4J - II

May 5th, 2008

Although the sync4j project has not actually published any source, it is still under active development.
Read the rest of this entry »


Sync4J - I

May 5th, 2008

To create an implementation of SyncML protocol, you may use sync4j. I will introduce you to sync4j in this post.
Read the rest of this entry »


Asynchronous method calls - II

May 4th, 2008

Do read the first part of this post. In this post, I will prenset another example of asynchronous method calls in EJBeans.
Read the rest of this entry »


Asynchronous method calls - I

May 4th, 2008

Methods called on the asynchronous proxy will be executed asynchronously, and the results can be obtained later on.
Read the rest of this entry »


Defining annotations

May 3rd, 2008

It is right to say that a typical application programmer won’t need to define annotations in normal routine. But still, one should know how to define annotations.
Read the rest of this entry »


Hibernate Queries - III

May 3rd, 2008

I will continue exploring Hibernate queries with example.
Read the rest of this entry »


Hibernate Queries - II

May 2nd, 2008

In this post, I will continue presenting HQL tips and trick that will help you in development.
Read the rest of this entry »


Hibernate Queries - I

May 2nd, 2008

Hibernate is a popular OR (Object Relational) mapping framework. To access database, we have to use Hibernate Query language. I will present the basics in this post that will help you starting quering database tables using HQL.
Read the rest of this entry »


MIDP packages - 3

April 30th, 2008

In this post, I will present the CLDC java.io, CLDC java.util along with collection classes.
Read the rest of this entry »


MIDP packages - 2

April 30th, 2008

The CLDC java.io package contains many of the standard J2SE io package classes. Following are CLDC java.io input classes:
Read the rest of this entry »


MIDP packages - I

April 29th, 2008

MIDP provides a standard run-time environment that allows new applications and services to be deployed dynamically on end-user devices like cellular phones and pagers. The MIDP is built upon CLDC (Connected Limited Device Configuration).
Read the rest of this entry »

Posted in Java ME

Top Of Page | Comments Off

GPS location / Cell id / Placing a call

April 29th, 2008

This post presents miscellanoeous tasks that you can do in your J2ME application.
Read the rest of this entry »


Sending SMS (snippet)

April 29th, 2008

This post presents a snippet for sending short text messages from J2Me applications.
Read the rest of this entry »


Reading/writing files

April 29th, 2008

This post is all about reading and writing text files on mobile device.
Read the rest of this entry »


Subclipse

April 28th, 2008

Consider that you are working on a large/medium size Java project in teams. This is an ideal senerio for using Subversion to distribute and maintain source code. Good news is that youc an use integrate your source code with Subversion within Eclpise environment.
Read the rest of this entry »


Subversion (intro)

April 28th, 2008

Subversion is a centralized system for sharing information. It comprises of a repository, which is a central store of data. The repository stores information in the form of a file system. Clients can connect to this repository, and can read or write to these files. When a client writes data, it actually makes the information available to others; and when a client reads the data, it actually receives information from others. Its a typical client server system which uses versioning model.
Read the rest of this entry »


JSR 75 (2)

April 25th, 2008

In this post, I will write about how to read a file from the file system of a mobile device.
Read the rest of this entry »


JSR 75 (I)

April 25th, 2008

JSR 75 specifies 2 optional packages for mobile devices. I will be talking about these in the next few posts.
Read the rest of this entry »


XML Pull Parsing (Demo)

April 25th, 2008

XML Pull Parsing makes marsing XML documents easier and efficient. This post introduces this API.
Read the rest of this entry »


Maven (intro)

April 24th, 2008

Maven is a software project management tool, based on project object model. It aims at retusing the load of developer by making in software build process simple and faster.
Read the rest of this entry »


Record Management System (III)

April 24th, 2008

In this post, I will continue writing about RMS - but more specifically relavent to codding.
Read the rest of this entry »


Record Management System (II)

April 24th, 2008

Do read the first part of this post. This post is code specific. I will present some sode snippets to make things obvious.
Read the rest of this entry »


TextField vs TextBox (2)

April 23rd, 2008

I will write about TextBox (javax.microedition.lcdui.TextBox). This class inherits from javax.microedition.lcdui.Screen, so you should know that its a Screen and unlike TextField, it cannot be appended to a Form.
Read the rest of this entry »


TextField vs TextBox (1)

April 23rd, 2008

javax.microedition.lcdui provides TextField and TextBox which are sometimes confusing. Both are to allow the user to enter text, but question arises, when to use which one? In this post, I will try to address this issue.
Read the rest of this entry »


Record Management System (I)

April 22nd, 2008

RMS is a database (flat file) which MIDlets can use to persist data. In this post, I will introduce the audience with RMS.
Read the rest of this entry »


OMA standard for data synchronisation - SyncML

April 22nd, 2008

SyncML is the standard for data synchronization and is accepted by Open Mobile Alliance (OMA). All the major players, including Ericsson, Nokia, IBM, Motorola, and Symbian support this protocol.
Read the rest of this entry »


Using the DocumentBuilderFactory

April 22nd, 2008

In this post, I will prensent an example to show how to use the DocumentBuilderFactory.
Read the rest of this entry »


Working with the DOM parser

April 21st, 2008

You will be introduced to the working of DOM parser in this post.
Read the rest of this entry »


Next Page »