Skip to content

XAware Community - Sponsored by Sparxent

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Adapters in XAware (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Adapters in XAware
#4963
mohitkumarjoshi (User)
XAware member
Posts: 4
User Offline Click here to see the profile of this user
Adapters in XAware 1 Year, 2 Months ago Karma: 0  
Hi,

what type of Adapters are available in XAware?

Here Adapter means if i want to transform XML result to File/Text, EJB, CopyBook, Java, Excel, RMI and so...

I think Adapter is a part of XAware Software Component.How can i use this component.So that the result/response will be the File/Text, EJB, Java, Excel, RMI and so.

 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4981
prichards (User)
XAware expert
Posts: 317
User Offline Click here to see the profile of this user
Re:Adapters in XAware 1 Year, 1 Month ago Karma: 18  
In XAware, the term "Adapter" is used to refer to the Engine's bridge to data sources. Adapters enable the XAware Engine to communicate with data sources and applications, including RDBMS, CRM, file, queues, etc. Through the "Adapter" XAware can access data and return the result as XML, or XAware can process XML and send data to a data source through an Adapter. As an XML integration engine, the result of every XAware service (BizDoc/BizView) is an XML document. (Newly available in 5.4 GA, you also have the option of returning the result as JSON, which is a translation of the XML created by the BizDoc and automatically transformed to JSON format by the Engine.)

So in XAware, an Adapter is basically equivalent to a BizComponent (with BizDriver as needed). A BizComponent encapsulates a single request to a specific data source (such as RDBMS), and the BizDriver contains the detailed connection information for that data source (such as the DB driver, login, and properties info for a specific database instance/schema). If you look at the BizComponents in the XAware Designer Help -> XAware Script Reference -> BizComponents, you will see all the data sources that are supported. We can also access a data source with a Java API, using the Java BizComponent.

Please review the list of BizComps and their capabilities in the Help. For example, the File BizComponent allows you to read a delimited or fixed file format and transform it to XML. However, you can also take that (or other) XML and use the File BizComp in write mode, to write that XML out to a file in a different format. The BizDoc will still return XML, such as the status of your write operation, but the main behavior of the File write mode is to create a text file. Likewise, the SOAP BizComp sends a SOAP Message, the HTTP BizComp can send an http request, and the JMS BizComp can send XML or text to a queue.

We don't currently have an EJB or RMI Adapter/BizComp, but you can call any Java code through the Java BizComponent. We don't have an Excel BizComponent, but there is an example and instructions on the wiki for using an ODBC driver, DSN and API for working with Excel to read/write data to a spreadsheet.

After you have had a chance to look through the Help and Examples, let us know if you have any specific questions on the use of any of the BizComponents.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com