Guest
Welcome login


TIBCOmmunity > Products > ActiveMatrix SOA > Resources
Home   Members Communities
Conversations () Resources () Blogs ()

Resources

Up to Resources in ActiveMatrix SOA

Using external dlls as references to the .NET component's implementation

VERSION 1 Published

Created on: Jun 5, 2009 2:58 PM by Setumadhav - Last Modified:  Jun 5, 2009 3:22 PM by Setumadhav

The project demonstrates how how to use the external dlls in your .NET Implementation Type's implementation logic. The external dll that we use here is a simple class library that greets the user depending on the time of the day.

 

The external dll is added as a reference to the ActiveMatrix Visual Studio project. The the implementation of the ActiveMatrix service in C# is routine makes a call to the external dll to compute the response. The ActiveMatrixImplementation dll and the .tai file are imported into a TIBCO BusinessStudio project and the entire implementation is completed. (The completed projects, both Visual Studio and BusinessStudio along with a readme, are attached.)

 

This is as far as the design of the Visual Studio project is concerned. At runtime, the ActiveMatrix .NET service is going to look for this external dll in either the GAC or in the BaseDirectory of the Application Domain in which the ActiveMatrix .NET service dll is. Hence, there are two ways in which you can make the external dll available at runtime:

 

  • Install the external dll in the GAC. For this purpose, you will need to ensure that the dll is strongly named.

 

OR

 

  • Package the external dll along with the Service Assembly so that the dll is co-located with the ActiveMatrix .NET service dll.
Attachments:
  • Attachment ExternalDLLinNET.zip (82.2 K)
  • You are currently not logged in. To be able to access attachments, please login.
Average User Rating
(0 ratings)







There are no comments on this resource

More Like This

  • Retrieving data ...