In many cases the supplied jar files can be used without change, however there are instances where this is not the case. In particular, on some environments where footprint is limited, the set of classes that are deployed must be reduced to the smallest possible size. The supplied jar files are general purpose and contain more than is necessary for an optimized environment.
The table below separates the classes into groups associated with a particular function or configuration and will help determine which classes will be required to optimize an applications footprint. Using this table the minimum required set of classes can be deduced by taking the mandatory classes for the required categories and then adding in required optional classes for that category.
Due to the wide ranging set of Java™ runtimes that are now available, not all classes can run on all runtimes. The table lists all classes, and unless otherwise stated, each class will run on a J2SE runtime. Because of the differences between a J2SE and a J2ME runtime, some of the classes are not appropriate for a J2ME runtime. There are two columns marked with an X to show a class that can be used on J2ME MIDP or J2ME CDC/Foundation runtimes.
Category | Detail | ||||
Type | Details | Midp | CDC | ||
Classes required (com.ibm.mqe) | |||||
Mandatory classes | |||||
For all queue managers | X | X | |||
MQe MQeAdapter MQeAttribute MQeAttributeDefaultRule MQeAttributeRule MQeAuthenticator MQeCompressor MQeCryptor MQeEnumeration MQeException MQeExceptionCodes MQeField MQeFields MQeKey MQeLoaderMQeProperties MQePropertyProvider MQeQueueControlBlock MQeQueueProxy MQeQueueManager MQeQueueManagerRule MQeResourceControlBlock MQeRule MQeRunnable MQeRunnableInstance MQeThread MQeThreadPool$1 MQeThreadPool$PooledThread MQeThreadPool$Target MQeThreadPool MQeTrace MQeTraceHandler MQeTraceInterface registry.MQeRegistry |
|||||
Registry type | One option in this category must be selected | ||||
File registry | Add required: Storage adapter | X | X | ||
registry.MQeFileSession registry.MQeRegistrySession |
|||||
Private registry w/o credentials | Add: File registry | X | |||
registry.MQePrivateRegistry registry.MQePrivateSession |
|||||
Private registry with credentials | Add: Private registry w/o credentials | X | |||
attributes.MQeMiniCertRequest attributes.MQeSharedKey attributes.MQeWTLSCertificate |
|||||
Mini-certificate management functions | X | ||||
attributes.MQeListCertificates registry.MQePrivateRegistryConfigure |
|||||
Public registry | Applicable to types of message-level security, Add: Private registry with credentials | X | |||
registry.MQePublicRegistry |
|||||
Queue manager type | For all types add required: Administration Storage adapters Message store Authenticators Cryptors Compressors Rules Security | ||||
Standalone qMgr. | No additional classes | ||||
Client qMgr. | Add required: Communications | X | X | ||
MQeTransporter adapters.MQeCommunicationsAdapter communications.MQeChannel communications.MQeChannelCommandInterface communications.MQeChannelControlBlock communications.MQeCommunicationsException communications.MQeCommunicationsManager communications.MQeConnectionDefinition communications.MQeListener communications.MQeListenerSlave |
|||||
Server qMgr. | Add: Client qMgr. Add required: Communications | X | |||
Note: whilst MQeListener is not used in the Client, they need to be included when preverifying a J2ME application | |||||
Gateway qMgr. | Add: Server qMgr. Add required Communications Transformers | ||||
MQeBridgeLoadable MQeBridgeManager mqbridge.* |
|||||
Communications | |||||
TCP/IP w/o history & persistence | X | ||||
adapters.MQeTcpipAdapter adapters.MQeTcpipLengthAdapter |
|||||
TCP/IP with history & persistence | Add: TCP/IP w/o history and persistence | X | |||
adapters.MQeTcpipHistoryAdapter adapters.MQeTcpipHistoryAdapterElement |
|||||
HTTP 1.0 Not to WES Proxy Authentication server | X | ||||
adapters.MQeTcpipAdapter adapters.MQeTcpipHttpAdapter |
|||||
HTTP To WES Proxy Authentication server | X | ||||
adapters.MQeTcpipAdapter adapters.MQeWESAuthenticationAdapter |
|||||
HTTP 1.1/1.0 J2ME | MIDP only | X | |||
adapters.MQeMidpHttpAdapter |
|||||
UDP | X | ||||
adapters.MQeUdpipBasicAdapter$Initiator adapters.MQeUdpipBasicAdapter$InternalAdapter adapters.MQeUdpipBasicAdapter$Responder adapters.MQeUdpipBasicAdapter$Writer adapters.MQeUdpipBasicAdapter |
|||||
Queue Types | For all queue types add required: Authenticators Cryptors Compressors Rules | ||||
Local | Add: Storage adapter Message storage | X | X | ||
MQeAbstractQueueImplementation MQeEventTrigger MQeMessageEvent MQeMessageListenerInterface MQeQueue MQeQueueRule (or replacement) |
|||||
Remote | Add: Local queue (storage adapter & msg. storage only if needed) | X | X | ||
MQeRemoteQueue |
|||||
Home server | Add: Remote queue (no storage adapter or msg. storage) | X | X | ||
MQeHomeServerQueue |
|||||
Store and forward | Add: Remote queue | X | X | ||
MQeStoreAndForwardQueue |
|||||
Bridge queue | Add: Remote queue | ||||
mqbridge.MQeMQBridgeAdminMsg mqbridge.MQeBridgeServices mqbridge.MQeMQBridgeQueue mqbridge.MQeMQQMgrName mqbridge.MQeMQQName |
|||||
Message storage | |||||
Base | X | X | |||
MQeMessageStoreException MQeAbstractMessageStore messagestore.MqeIndexEntry |
|||||
Standard | Add: Base | X | X | ||
messagestore.MQeMessageStore |
|||||
Short filename. Always use 8.3 file name for messages. | Add: Standard | X | |||
messagestore.MQeShortFilenameMessageStore |
|||||
4690 specific | Add: Short filename | ||||
messagestore.MQe4690ShortFilenameMessageStore |
|||||
Message type | |||||
Basic | X | X | |||
Support for MQeMsgObject is in Mandatory classes | |||||
WebSphere® MQ | |||||
mqemqmessage.* |
|||||
Storage adapters | |||||
Assured disk | Independence from OS lazy writes | X | |||
adapters.MQeDiskFieldsAdapter |
|||||
Non-assured disk | Dependence on OS lazy writes Add: Assured disk | X | |||
adapters.MQeReducedDiskFieldsAdapter |
|||||
Case-Insensitive | Add: Assured disk | X | |||
adapters.MQeCaseInsensitiveAdapter |
|||||
Long to Short Filename Mapping | X | ||||
adapters.MQeMappingAdapter |
|||||
Midp RMS Storage | MIDP Only | X | |||
adapters.MQeMidpFieldsAdapter com.ibm.mqe.adapters.MQeMidpFieldsAdapter$RMSFile |
|||||
Memory | Volatile storage | X | X | ||
adapters.MQeMemoryFieldsAdapter |
|||||
Administration | |||||
Basic administration capability | Add: Local queue | X | X | ||
MQeAdminMsg MQeAdminQueue MQeAdminQueue$1 MQeAdminQueue$Timer |
|||||
Manage queue manager | Add: Basic administration capability | X | X | ||
administration.MQeQueueManagerAdminMsg |
|||||
Manage connection definitions | Add: Basic administration capability | X | X | ||
administration.MQeConnectionAdminMsg |
|||||
Manage communications listeners | Add: Basic administration capability | X | X | ||
administration.MQeCommunicationsListenerAdminMsg |
|||||
Manage local queue | Add: Basic administration capability | X | X | ||
administration.MQeQueueAdminMsg |
|||||
Manage administration queue | Add: Manage local queue | X | X | ||
administration.MQeAdminQueueAdminMsg |
|||||
Manage remote queue | Add: Manage local queue | X | X | ||
administration.MQeRemoteQueueAdminMsg |
|||||
Manage home server queue | Add: Manage remote queue | X | X | ||
administration.MQeHomeServerQueueAdminMsg |
|||||
Manage store and forward queue | Add: Manage remote queue | X | X | ||
administration.MQeStoreAndForwardQueueAdminMsg |
|||||
Manage bridge queue | Add: Manage remote queue | X | |||
mqbridge.MQeMQBridgeQueueAdminMsg mqbridge.MQeCharacteristicLabels |
|||||
WebSphere MQ | Add: Remote queues | ||||
mqbridge.*AdminMsg mqbridge.MqeCharacteristicLabels mqbridge.MqeRunState mqbridge.MqeBridgeServices mqbridge.MQeBridgeExceptionCodes |
|||||
Queue manager creation and deletion | MQeQueueManagerConfigure |
X | X | ||
Authenticators | |||||
mini-certificate | X | ||||
attributes.DHk (source may be generated) attributes.MQeSharedKey attributes.MQeRandom attributes.MQeWTLSCertificate attributes.MQeWTLSCertAuthenticator |
|||||
Compressors | |||||
GZIP | attributes.MQeGZIPCompressor |
X | |||
LZW | attributes.MQeLZWCompressor attributes.MQeLZWDictionaryItem |
X | X | ||
RLE | attributes.MQeRleCompressor |
X | X | ||
Cryptors | |||||
triple DES | attributes.MQe3DESCryptor |
X | |||
DES | attributes.MQe3DESCryptor |
X | |||
MARS | attributes.MQeDESCryptor |
X | |||
RC4 | attributes.MQeRC4Cryptor |
X | |||
RC6 | attributes.MQeRC6Cryptor |
X | |||
XOR | attributes.MQeXorCryptor |
X | X | ||
Application security services | |||||
Local security | Add required: Cryptors | X | X | ||
attributes.MQeLocalSecure |
|||||
Message-level security | Add required: Cryptors | X | |||
attributes.MQeMAttribute |
|||||
Message-level security with digital signature & validation | Add: Public registry. Add required: Cryptors | X | |||
attributes.MQeMTrustAttribute |
|||||
Trace | |||||
Collect binary trace in J2SE/CDC | X | ||||
trace.MQeTraceToBinary trace.MQeTraceToBinaryFile |
|||||
Collect binary trace to Midp RMS Store And or send to MIDP Trace servlet | X | ||||
trace.MQeTraceToBinary trace.MQeTraceToBinaryMidp |
|||||
Base trace renderer | X | ||||
trace.MQeTracePoint trace.MQeTracePointGroup trace.MQeTraceRenderer |
|||||
Decode a binary file to readable form | Add: Base trace renderer | X | |||
trace.MQeTraceToReadable trace.MQeTraceFromBinaryFile |
|||||
Trace to a readable output stream | Add: Base trace renderer | X | |||
trace.MqeTraceToReadable |
|||||
Servlet collection of Midp binary trace | Add Base trace renderer | ||||
trace.MQeTraceToReadable examples.trace.MQeServlet |
|||||
Miscellaneous | |||||
Cryptographic support | Application or installation use only | X | |||
attributes.MQeCL (footnote?) attributes.MQeGenDH (generates a version of attributes.MQeDHk.java) |
|||||
MQeServerSupport SupportPac™ ES06 | MQeServerSupport (See ES06 installation instructions) | ||||
Bindings | Access to Java classes from other languages | ||||
C language | bindings.* |
||||
JMS | Support for the Java Message Service API | XX | |||
jms.* transaction.* |
|||||
User-defined MQe extensions | |||||
Authenticators Communications adapters Compressors Cryptors Logging classes Message classes Rule classes Security control Storage adapters Trace handler |