IBM Support

Should getdefaultclient() be used or getclient? ClientFactory vs YIFClientFactory ?

Troubleshooting


Problem

Should getdefaultclient() be used or getclient? ClientFactory vs YIFClientFactory ?

Symptom

PART: Platform 4.0 Platform
COMPONENT: <None>
OS: <None> - <None>
DATABASE: <None> - <None>
WEB SERVER: <None> - <None>
WEB BROWSER: <None> - <None>

Cause

Resolving The Problem

You should use YIFClient factory if you are using ejb or http or local.
There is sample code in documentation/code_examples/java/TestJAXClient.java

The ClientFactory also can be used, however this is more suitable when you are using JMS, MSMQ or DB as your communication group

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI48577

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21535640