Archive for the Category: Programming

Links for WMQ Automatic Client Reconnect

Here are some links to information on the Automatic Client Reconnect in WMQ v7.0.1 or higher: WMQ Client manual: Automatic client reconnection WMQ Using Java manual: Automatic client reconnection WMQ System Administration Guide manual: Automatic client reconnection Exploiting the Automatic Client Reconnect feature in WebSphere MQ JMS 7.0.1 Exploiting the Automatic Client Reconnect feature introduced […]

Also posted in C, IBM i (OS/400), IBM MQ, Java, JMS, Linux, Unix, Windows, z/OS Comments Off on Links for WMQ Automatic Client Reconnect

MQAUSX without a Client-side Security Exit – Part 1

Quite often I get asked if MQAUSX can authenticate a UserID and Password without the requirement of a client-side security exit. The answer is yes. MQAUSX is actually 3 products in one: 1. If the client application is configured with the client-side security exit then the user credentials are encrypted and sent across the wire […]

Also posted in .NET, C, C#, C++, Capitalware, IBM MQ, Java, JMS, MQ Authenticate User Security Exit, Security Comments Off on MQAUSX without a Client-side Security Exit – Part 1

Eclipse 3.7 Released

Eclipse Foundation has just released 62 projects including Eclipse v3.7 (‘Indigo’). http://www.eclipse.org Highlights – EGit 1.0 provides tight integration with the Git version control system. – WindowBuilder, a popular GUI builder for Eclipse developers, is now open source and part of Indigo – Drag to Install support with Eclipse Marketplace Client. – Better integration with […]

Also posted in Java, Linux, macOS (Mac OS X), Open Source, Windows Comments Off on Eclipse 3.7 Released

Flocking

And now for something completely different: flocking (aka group behavior). If you ever had a need for an algorithm that handles flocking then have a look at this article (its really interesting): http://harry.me/2011/02/17/neat-algorithms—flocking Regards, Roger Lacroix Capitalware Inc.

Also posted in C, Java, Open Source Comments Off on Flocking

ProGuard v4.6 Released

Eric Lafortune has just released ProGuard v4.6. http://proguard.sourceforge.net/ ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code […]

Also posted in Java, Open Source Comments Off on ProGuard v4.6 Released

MQ Exit Programming Tips

Here are some things that MQ Exit developers need to be aware of: 1. Most people have never developed and will never develop an MQ Exit. Developing a MQ Exit is an ‘advanced topic’ – hence, you SHOULD have experience developing Windows DLLs or Unix shared Libraries and understand the concept of parallel processing (i.e. […]

Also posted in C, IBM MQ Comments Off on MQ Exit Programming Tips

Java Programming Tips

The following Java programming tips should help developers write Java programs that will have fewer bugs / problems and run faster: 1. Avoid “equals” conditional statements where the variable is checked against a constant. Always check the constant against the variable. If myStr (String) is ever null then the following conditional statement will throw an […]

Also posted in Java Comments Off on Java Programming Tips

Information on MQ Message Behavior

The following is general information on WebSphere MQ (aka MQSeries) message behavior during normal and abnormal message processing. The first thing to understand about MQ is that, it is not a database but a real-time messaging system. It was built on the following 2 principles: Once-only delivery of a message Assured delivery of a message […]

Also posted in IBM MQ Comments Off on Information on MQ Message Behavior

JMSException and MQ Reason Codes

J2EE (JMS) programmers who are new to IBM MQ (formally WebSphere MQ, MQSeries) sometimes are confused as to why they are getting a particular JMS exception. The problem with the JMS / MQ layer is that the useful MQ information is hidden in the JMSException. By useful MQ information, I mean the MQ Completion Code […]

Also posted in IBM MQ, Java, JMS 2 Comments