Are WTC transactions loosely coupled?
Hello,
I am looking for a confirmation that XA transactions between Tuxedo and WLS (using WTC) are only loosely coupled.
I cannot find much details on how WTC handles transactions from and to Tuxedo.
On the Tuxedo side, it is stated clearly that transactions accross domains are loosely coupled. Since Tuxedo and WLS instances are in different domains, I am assuming that transactions between Tuxedo and WLS have the same constraints as Tuxedo inter-domain transactions. Unless WTC were to optimize such transactions.
The specific challenge we face is as follows (using Tuxedo 10.0, WLS 10.3, Oracle 11g):
1) A Tuxedo Corba App starts a transaction and does some work.
2) The Tuxedo Corba App calls an EJB service in WLS.
3) The EJB service does some work and updates a record in the Oracle DB.
4) The EJB service returns control to the Tuxedo Corba App.
5) The Tuxedo Corba App selects the same record that the EJB updated.
6) The Tuxedo Corba App does some more work, and the commits the transaction.
The problem is that in step (5) we don't see the update that the EJB made. If we replace the select in step (5) with an update, the update times out because the record is locked. However, the global transaction commits or rolls back correctly on both sides. This indicates that the transaction branches in Tuxedo and WLS are loosely coupled.
Roger
Across Tuxedo /Domain the transaction is loosely coupled. WTC is subjected to the same limitation. So you are correct, those XA transactions between Tuxedo and WLS are loosely coupled.
Similar Messages
-
How to create loosely coupled transaction branches with DBMS_XA ?
Hello,
I use DBMS_XA to start several sessions in the same database instance participating a global transactions. The local transaction branches are tightly coupled.
Do you know a way (Oracle 11.2) for the branches to be loosely coupled by using dbms_xa in one-only instance ?
Best Regards,
GregoryFor non XA datasource create a JDBC Connection with data source class
oracle.jdbc.pool.OracleDataSource
For xa datasource create a JDBC connection with data source class
oracle.jdbc.xa.client.OracleXADataSource -
Java data types are tightly coupled or loosely coupled ?
java data types are tightly coupled or loosely coupled ?
Is this another interview question? If so, the answer you should have given is, "You, sir, have been smoking too much crack."
-
Loose coupling transport in PI 7.0
Hi,
We are trying to implemet OTO.I am tring to do a loose coupling transport in PI 7.0 from DEV to QUA. I have created one workbench request in se09 and have exported my IR object. I can see my exported IR object in IR>Tools>Find transports. But Open transport organiser is disabled. Can anyone tell me why is it disabled and how to resolved it?
I feel configuration is not proper. Can any one tell me, where the configuration would be wrong.
Please also send me step by step procedures (links) for implementing OTO
Thanks,
Arivarasu S.Hi,
PI scenario is just used for XI
Regards,
michal -
Hi All,
Sorry to ask this question.but i need exact definition and adavantage of loosely coupled system to undersatnd client the usage of XI in this concept.
One more question same like above.
They are asking interdependency of exchanges , when exists and if not implemented through XI may cause error handling very difficult, how can u achive this in XI.
Though i have some view on the above questions I'm expecting live definitions and usage of above advantages.
Regards,
venu.Hi Venu,
Its better if you think of the concept of loosely coupled systems in a "Before" & "After" kind of approach. To make it simple,
1. System A & System B are a part of your integration landscape.
2. Before introduction of XI (for that matter any similar functionality product), these system integrate with each other making peer to peer connections.Say System A copies a file abc.txt into a folder of System B and vice versa for response messages if any.
3. After introduction of XI, you now leverage onto the integration capabilities of XI. So system A which had to handle copying of file abc.txt to some folder of System B now just has to ensure that it makes the file available to XI which in turn will connect to System B and send appropriate data in desired format.
In this way the two systems which were tightly integrated with each other now are loosely coupled with each other.XI can also take care of any specific requirements of polling periodically , format conversion and many other.
Rgds,
Amol -
Mapping Template : Loosely Coupled or hard Coupled
Hi All
I m using mapping template for graphical mappng. I have the following doubts:-
1. Whether the mapping template is loosely coupled or tight coupled , i mean whether it picks the template at run time or the fields are filled one time only.
2. If we use the mapping template and afterwards do some changes in the mapping template then whether the changes gets reflected in the mapping program or not?
3. Can we change some fields of the mapping templates used in the mapping program after impoting that template? ( Here changes means changes in the mapping program )
Regards
Amithi,
>> Whether the mapping template is loosely coupled or tight coupled , i mean whether it picks the template at run time or the fields are filled one time only.
i dnt know whether this is a standard term or not but in these terms i think it is " tight" coupled.
>> If we use the mapping template and afterwards do some changes in the mapping template then whether the changes gets reflected in the mapping program or not?
No changes dont get reflected automatically if u change the template after assigning it in a mapping program.
>> Can we change some fields of the mapping templates used in the mapping program after impoting that template
It becomes a complete separate mapping program altogether even if u use a template. template is only to save ur time of designing mapping it does not contain references at run time. u can change this mapping program at anytime u want.
[reward if helpful]
regards,
latika. -
Attemp to build loosely coupled WS using xsd:any & xsd:anyType?
Dear All,
i want to write a loosely coupled web service that allow
the server to evolve independently to the client. (main
purpose is to extend the service by adding more properties
in the request / response message)
i want to achieve the loosely coupled goal by adding
xsd:any or xsd:anyType to the request / response messages
(i.e. wsdl ComplexType). (just follow the normal XML
guideline).
i have try to write simple program with xsd:any (which
mapped to SOAPElement in JAX-RPC). And the result seems
good and can achieve my goal. ( i can consume the service
in java and .net without problem).
but later, i read some article, in the web, (like this: http://www.ibm.com/developerworks/xml/library/ws-tip-xsdcaution.html)
that clams it is better to use xsd:anyType instead of
xsd:any (as anyType is mapped to SOAPElement or java
object if server/client can deserialize it).
as far as i know, the support of xsd:anyType is not standardized / madatory.
could anyone tell me your comment about using xsd:anyType or xsd:any?
how about the support of xsd:anyType across different platform / tools?
xsd:anyAttribute seems not supported by jax-rpc, could you please comment on using this element in the wsdl? good or bad?
oracle will map this element to an oracle proprietary java object.
am i choosing the right way to achieve loosely-coupled WS? any other way?
some article claims to send request as xml doc. but it
seems that is not very convenient to server and client as
both sides need to write code for serialization /
deserialization.
why not use the existing automatic XML <--> java object provided by the jax-rpc standard?
Thank you very much
Message was edited by:
lspHello,
Is your question related to very specific element of your message or for the complete message.
Using any/anyType even if powerful could be sometimes complex for Web Service Client developer to handle since the Java object (SOAPElement or Object) is not typed so doing late binding of schema force people to do the mapping themself any.
So before choosing this in a wide scope on your project think also to its impact for end user/developers, and I think you are on the good path, as you said anyType will recognize the object.
I am inviting you to also look at the Oracle Web Services Interoperability documentation.
and this article from SUN: Interoperability With Patterns and Strategies for Document-Based Web Services
Regards
Tugdual Grall -
Tightly and Loosely coupled scenarios
Hi Experts,
Could you please provide a example for Tightly coupled and Loosely coupled scenarios from SAP Platform?
How to do the below scenarios from SAP platform?
1. Tightly coupled (Non-SOA):
Business Services : I have to create RPC encoded style webservices.
Business Process : I have to call other platform RPC encoded style webservices (More than 2 webservices).
2. Loosley coupled (SOA):
Business Service : I have to create Document literal style webserivces
Business Process : I have to call other platform Document literal style webservices ( More than 2 webservices)
Please provide the input to do the above scenarios from SAP platform and please inform me which tool/component I have to use do the scenarios.
Thanks & Regards
SaraHi Sara,
Can you please elaborate your question in detail .
1) Web Services are always examples of loosely couples architecture, either its document style or RPC style and whether you are creating WS or consuming WS.
Tightly coupled architectures were those whose business logic layer and presentation layer were tightly coupled and reusability or scalability was a problem
If you have user interfaces involved in your business process, then you should go for CAF( Composite Application Framework) to define a business process using VC, WebDynPro or Adobe Forms as UI.
If it doesn't involve any user interaction, then you can go for ccBPM of Netweaver-PI to automate the process.
Regards,
Piyush -
Tightly coupled and Loosely coupled scenarios
Hi Experts,
Could you please provide a example for Tightly coupled and Loosely coupled scenarios from SAP Platform?
How to do the below scenarios from SAP platform?
1. Tightly coupled (Non-SOA):
Business Services : I have to create RPC encoded style webservices.
Business Process : I have to call other platform RPC encoded style webservices (More than 2 webservices).
2. Loosley coupled (SOA):
Business Service : I have to create Document literal style webserivces
Business Process : I have to call other platform Document literal style webservices ( More than 2 webservices)
Please provide the input to do the above scenarios from SAP platform and please inform me which tool/component I have to use do the scenarios.
Thanks & Regards
SaraHi Sara,
Can you please elaborate your question in detail .
1) Web Services are always examples of loosely couples architecture, either its document style or RPC style and whether you are creating WS or consuming WS.
Tightly coupled architectures were those whose business logic layer and presentation layer were tightly coupled and reusability or scalability was a problem
If you have user interfaces involved in your business process, then you should go for CAF( Composite Application Framework) to define a business process using VC, WebDynPro or Adobe Forms as UI.
If it doesn't involve any user interaction, then you can go for ccBPM of Netweaver-PI to automate the process.
Regards,
Piyush -
Using a Singleton Mediator to provide loose coupling
I need to discuss the pros and cons of using a singleton mediator to provide loose coupling between component implementation classes.
Suppose you are building a SE or a BC where an endpoint is defined upon a SU deployment. In this scenario, you will end up finding out that the Component, ComponentLifeCycle and ServiceUnitManager implementations should know each others instances. I can figure out these solutions:
- Use tight coupling
- The component implements the three interfaces (or two of them and associates the third)
- Use a singleton mediator to hold the instances
- Use a third party solution, like Spring's ApplicationContext and ApplicationContextAware contracts
- Some other solution I didn't think of (the scenario has to be more specific)
Assuming the scenario as described above, I prefer the third solution.
I appreciate your opinions.
Hossam KarimWhen you evaluate the JBI implementations available, you will notice that each one has built a less abstraction layer over the JBI component contracts in order to simplify its subsequent tasks. As a component builder, you would either reuse one of these layers and get tight with a specific implementation, or start writing your own.
I recently proposed a simple framework to my team; you can find a class diagram here (http://www.gaiati.com/products/emee/framework.png), it has the following elements:
� AbstractBootstrapAdapter: Simple adapter for the Bootstrap interface
� ComponentApplicationContext: Provides a Spring based Application context for this component, the context beans should be loaded upon component initialization. An instance of this class will be available to all classes or interfaces that extend the ApplicationContextAware Spring interface. All classes and interfaces on the previous diagram that associate a ComponentApplicationContext instance (applicationContext) implement the ApplicationContextAware interface. One exception is the AbstractComponentAdapter class, because it actually creates the instance.
� AbstractComponentAdapter: Adapter for the component and lifecycle contracts. Upon initialization, this class creates a ComponentApplicationContext instance, and uses the beans to configure itself, the class recognizes other framework contracts and able to communicate with them.
� AbstractMessageListener: Consumes this component's DeliveryChannel message exchanges, and fires a handling trigger.
� DeployedEndpoint: Represents an endpoint that was deployed using a SU
� DeployedEndpointConfiguration: Holds the configuration needed by a DeployedEndpoint instance
� DeployedEndpointTarget: Represents the target JBI specific address that a DeployedEndpoint instance should route the messages to.
� GenericMessageListener: Handles the trigger fired by the AbstractMessageListener, delegating the work to an instance of the DeployedEndpoint interface
� GenericServiceUnitManager: Handles GenericServiceUnit instances
� GenericServiceUnit: Acts as a proxy and encapsulates a DeployedEndpoint instance
� AbstractDeployedEndpointFactory: An abstract factory for creating DeployedEndpoint instances using DeployedEndpointConfiguration instances
Yes, I ended up using Spring, and you are right, it might not be appropriate to attempt to separate the interfaces, may be I misunderstood or was mislead by Open-ESB implementation of the SOAP and file binding components.
It is true sometimes you can have "personal taste", but most important is to achieve best practice.
Finally, I hope the specification in its next versions, would provide us with a best practice framework or proposal, instead of so much choices.
Hossam Karim -
Hey guys,
I have 3 files: main.mxml, registration.mxml, and
update.mxml. The registration is a custom canvas component with a
datagrid, and the update is a popup activated by clicking the
datagrid. I understand how to dispatch custom events, but I'm
having trouble dispatching from popup back to main.mxml where my
remote code is located. I can successfully dispatch objects with a
custom event from reg component to main. What am I doing wrong?
Should I just add a remote command in the registration component
and run a function in the registration? Doesn't seem like loose
coupling to me?If your registration component is instantiated in main and
you dispatch an event that bubbles from registration to main, then
bubbling works. But forget about bubbling when dispatching an event
from a popup to any other component. You can do the following:
If you use a model (with Cairngorm, PureMVC ... or simply
Singleton), you can have an object in your model that extends
EventDispatcher and serves as a message target.
package com.mycompany.core.model
import flash.events.EventDispatcher;
// This class only serves as the target for messages that
concern objects that are not
// in the display list or that are in the display list but
cannot be reached by event bubbling
public class MessageTarget extends EventDispatcher
public function MessageTarget()
In your model:
// Message target
public var messageTarget:MessageTarget = new
MessageTarget();
In any component interested in some messages (e.g column
visibility) dispatched on the message target :
// Add event listener for column visibility change
this.model.messageTarget.addEventListener(ColumnVisibilityChangedEvent.COLUMN_VISIBILITY_ CHANGED,
this.onColumnVisibilityChanged);
Then, you can dispatch an event from anywhere that can be
listened to anywhere:
// Send Column Visibility Changed event
this.model.messageTarget.dispatchEvent(
new
ColumnVisibilityChangedEvent(ColumnVisibilityChangedEvent.COLUMN_VISIBILITY_CHANGED,
false, false)); -
There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report
When run as a batch program, (currently this is the case), or withT-Code ZJPVCS303 the selection screen is unchanged (except for additional sales area above)
- When run as T-Code ZJPVCS303_UL (UL stands for Upload) the selection screen is changed. The unix file option is no longer available, and the user is able to upload a local file (in the same format as the current unix file, but tab delimited) to the program for processing.
Requirements:
There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report.
->When ZJPVCS303 Transaction is executed, the file is uploaded from the Application
server to SAP R/3. The selection screen parameters would be:
Logical Filename:
Sales Organization:
Distribution Channel:
Division:
->When ZJPVCS303_US Transaction is executed, the file is uploaded from the Presentation Server
to SAP R/3. When this transaction is executed, it should not have the 'Logical
Filename' parameter anymore on the selection-screen. Instead it should only have
Local File name on the presentation server:
Sales Organization:
Distribution Channel:
Division:
The same thing is applicable for the other transaction ZJPVCS303. When transaction ZJPVCS303
is executed, it should not have the 'Local Filename' parameter anymore on the selection-screen. Instead it should only have
Logical Filename:
Sales Organization:
Distribution Channel:
Division:
So how should I make these parameters invisible depending on the transaction codes execution.
I have an idea of using MODIF ID, LOOPING AT SCREEN...MODIFY SCREEN.
I have an idea of using SY-TCODE.
EX:
AT SELECTION-SCREEN OUTPUT.
IF SY-TCODE = 'ZJPVCS303'.
LOOP AT SCREEN.
IF SCREEN-GROUPID = 'GRP'.
SCREEN-INPUT = 0.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF SY-TCODE = 'ZJPVCS303_US'.
LOOP AT SCREEN.
IF .....
ENDLOOP.
ENDIF.
ENDIF.
But I am not able to get the output which I require. Please help me out.Hello Rani
Basically the transaction determines whether upload starts from application server (AS) or presentation server (PC). Thus, you will have the following parameter:
PARAMETERS:
p_as_fil TYPE filename MODIF ID unx, " e.g. Unix server
p_pc_fil TYPE filename MODIF ID wnd. " e.g. Windows PC
AT SELECTION-SCREEN OUTPUT.
CASE syst-tcode.
* transaction(s) for upload from server (AS)
WHEN 'ZJPVCS303.
LOOP AT screen.
IF ( screen-group1 = 'UNX' ).
screen-input = 0.
screen-invisible = 1.
MODIFY screen.
ENDIF.
ENDLOOP.
* transaction(s) for upload from local PC (PC)
WHEN 'ZJPVCS303_US.
LOOP AT screen.
IF ( screen-group1 = 'WND' ).
screen-input = 0.
screen-invisible = 1.
MODIFY screen.
ENDIF.
ENDLOOP.
WHEN others.
ENDCASE.
Regards
Uwe -
What are the transaction codes we use for LSMW in MM, SD, PP & FI/CO gnrly
Hi all,
What are the transaction codes we use for LSMW in MM, SD, PP & FI/CO generally?
Help will be surely rewarded.
Thanks and Regards,
Creasy> What are the transaction codes we use for LSMW in MM, SD, PP & FI/CO generally?
General threads about LSMW in MM, SD, PP, FICO will be locked and deleted generally.
> Help will be surely rewarded.
&********************** Please read "the rules" if found usefull... ************************&
Cheers,
Julius -
What are the transactions we use day to day in the bw before go live
what are the transactions we use most in the bw before go live?
Tcodes for backend objects like creating infocube and so on.
Tcodes for front end objects like creating queries and so on.
Thank you.
YorkHi Les,
check previous posting
Transaction Codes for BW Developers
SAP BW n R/3 transactions.
table TSTCT contains all the transaction codes
RSA6 Maintain DataSources
RSA7 BW Delta Queue Monitor
RSA8 DataSource Repository
RSA9 Transfer Application Components
RSD1 Characteristic maintenance
RSD2 Maintenance of key figures
RSD3 Maintenance of units
RSD4 Maintenance of time characteristics
RSDBC DB connect
RSDDV Maintaining Aggregates
RSIMPCUR Load Exchange Rates from File
RSISET Maintain InfoSets
RSKC Maintaining the Permittd Extra Chars
RSLGMP Maintain RSLOGSYSMAP
RSMO Data Load Monitor Start
RSMON BW Administrator Workbench
RSOR BW Metadata Repository
RSORBCT BI Business Content Transfer
RSORMDR BW Metadata Repository
RSPC Process Chain Maintenance
RSPC1 Process Chain Display
RSPCM Monitor daily process chains
RSRCACHE OLAP: Cache Monitor
RSRT Start of the report monitor
RSRT1 Start of the Report Monitor
RSRT2 Start of the Report Monitor
RSRTRACE Set trace configuration
RSRTRACETEST Trace tool configuration
RSRV Analysis and Repair of BW Objects
SE03 Transport Organizer Tools
SE06 Set Up Transport Organizer
SE07 CTS Status Display
SE09 Transport Organizer
SE10 Transport Organizer
SE11 ABAP Dictionary
SE24 Class Builder
SE80 Object Navigator
RSCUSTA Maintain BW Settings
RSCUSTA2 ODS Settings
RSCUSTV*
RSSM Authorizations for Reporting
SM04 User List
SM12 Display and Delete Locks
SM21 Online System Log Analysis
SM37 Overview of job selection
SM50 Work Process Overview
SM51 List of SAP Systems
SM58 Asynchronous RFC Error Log
SM59 RFC Destinations (Display/Maintain)
LISTCUBE List viewer for InfoCubes
LISTSCHEMA Show InfoCube schema
DB02 Tables and Indexes Monitor
DB14 Display DBA Operation Logs
DB16 Display DB Check Results
DB20 Update DB Statistics
r/3 (bw related)
SBIW BIW in IMG for OLTP
BD61 Activate Change Pointers - Generally
BDLS Convert Logical System Names
BF11 Application Areas
RSA2 OLTP Metadata Repository
RSA3 Extractor Checker
RSA5 Install Business Content
RSA6 Maintain DataSources
RSA7 BW Delta Queue Monitor
RSA8 DataSource Repository
RSA9 Transfer Application Components
RSO2 Oltp Metadata Repository
RSO3 Set Up Deltas for Master Data
LO setup table
OLI1BW INVCO Stat. Setup: Material Movemts
OLI2BW INVCO Stat. Setup: Stor. Loc. Stocks
OLI3BW Reorg.PURCHIS BW Extract Structures
OLI4BW Reorg. PPIS Extract Structures
OLI7BW Reorg. of VIS Extr. Struct.: Order
OLI8BW Reorg. VIS Extr. Str.: Delivery
OLI9BW Reorg. VIS Extr. Str.: Invoices
OLIABW Setup: BW agency business
OLIFBW Reorg. Rep. Manuf. Extr. Structs
OLIIBW Reorg. of PM Info System for BW
OLIQBW QM Infosystem Reorganization for BW
OLISBW Reorg. of CS Info System for BW
OLIZBW INVCO Setup: Invoice Verification
Check out AHP's reply specifically in the link:
urgent
Assign Points if Helpful *****
Regards,
Ravikanth -
In bdc how we handle page phone area in transaction pa30
in bdc how we handle page phone area in transaction pa30.suppose one maintain phone no but not pager no.in that case how we will handle
in my system ..i have phone number only displayed...if you want to put page number also then add a ddition qualifier like PG or some number by contacting functional guys..
regards:)
Maybe you are looking for
-
I have a new laptop and would like to know how to get my music from my ipad to my dell laptop?
I have a new laptop and need to know how to get my downloaded music from my ipad to my new laptop?
-
My ipod touch will only charge on my computer. What should I do?
I have an iPod touch 3rd generation 32GB with iOS 4.3.3 that will charge and sync on my computer. But if it is plugged into a wall, car, or dock charger it will not charge. I believe it is a software problem because it works on the computer. I have a
-
Help! I've lost my Spotlight window and can't get it back!
I can't access two application windows -- Mail and Spotlight. I sometimes use a external monitor so this may be related to that. When I switch to Mail, the Mail menu appears on top, but I do not see the window with my mailboxes in it. When I use Expo
-
I recently added a dual monitor setup and now photoshop CC will not open. Here is my event log error Log Name: Application Source: Application Error Date: 4/30/2014 10:30:48 AM Event ID: 1000 Task Category: (100) Level:
-
DAG Kerberos Authentication Issue Exchange 2010 on 2008R2 Servers
I have 2 Exchange 2010 servers in a DAG. The witness server is in site A along with one the Exchange servers. The second Exchange server is in a DR site. The DAG has been functioning fine for 1.5 yrs. Last weekend after a scheduled reboot of all 3 se