Example Code:HWThreadedHash (Multithreaded Hashtable), a Multithreaded hash table will improve your applications performance

December 30th, 2005

I have written a multithreaded hash table framework. You can put multiple tasks to do work for you with a simple “put” with a key,Then when it completes you can do a “get” to return the data worked on. The “get” will block until that requested thread is finished working.
Read the rest of this entry »

Example Code: Simple Java Text File Reader

December 29th, 2005

Here is a small example of a simple text file reader.
TextFileReader.java

Message Beans: Container Vs. Bean Managed Transactions, XA Transaction problem

December 27th, 2005

I recently tried to get a container managed transaction message bean to read from a MQ queue then read from an oracle database. I got an error indicating that I did not have XA Transactions turned on in my MQ queue. Then I dug a little deeper….
Read the rest of this entry »

Configuring Optimizeit 6.0 to work with Dynamo 6.4

December 16th, 2005

I wanted to profile an ATG Dynamo 6.4 app, so I down loaded a 10 day trial version of Optimizeit 6.0, but it only came with instructions for configuring ATG Dynamo 4.5.

So here are the instructions for configuring Optimizeit with ATG Dynamo 6.4
Read the rest of this entry »

MQ 5.3 performance testing with Message Beans and Websphere 6.0

December 15th, 2005
Earlier in the week I did some testing of MQ with message beans.
This is what I got.
10,000 very small messages of 10 bytes going through 1 queue with persistence turned on takes about 37 seconds.
10,000 large messages of 10,000 bytes through 1 queue with persistence turned on takes about 90 seconds

Technorati Tags: , , , ,

JNDI look up in Websphere 6.0 to Test MQ 5.3 Queue, Message Beans with JMS

December 12th, 2005
If you have read my other post Configuring Rational Software Development Platform Test Environment 6.0 to use a WebSphere MQ 5.3 Queue
I used JMSAdmin as my service provider for inserting objects into the queue.
QueueIBMTest.java uses websphere 6.0 as my service provider to insert items in an MQ queue using JMS.
Read the rest of this entry »

Configuring Rational Software Development Platform Test Environment 6.0 to use a WebSphere MQ 5.3 Queue

December 12th, 2005

If you have ever tried to get a Message Bean working in Rational Software Development Platform 6.0 and Websphere MQ 5.3, you would know why this tutorial is needed good luck….

As you go through this tutorial there are things to keep in hand

  • Queue Manager Name : QM_headley (default on my machine)
  • Queue Manager Port :1414 (default)
  • Queue name: headleyqueue (created this under QM_headley in MQ explorer )
  • File System url : file:/C:/JNDI-Directory/mq
  • File System JNDI Connection Factory name : headleyCF
  • File System JNDI Queue name : headleyq
  • Websphere Provider Connection Factory name: jms/headleyCF
  • Websphere Provider Queue name: jms/headleyq
  • Listener port name: headleyListener
  • Test Java code: QueueTest.java QueuePut.java

Read the rest of this entry »