Skip to Content
0
Former Member
Nov 25, 2006 at 12:10 AM

Alternative Connection to MDM SP04 Patch 2

21 Views

Hi All,

I´m trying to connect my legacies apps to MDM SP04 patch 2 with the MDM Java API released , but i have 2 problems:

1. When i try to connect to repository , spend many time to connect (about 3 minutes) and i'm using a web service the connection have a time out, i'm using this code

CatalogData catalog = new CatalogData();

catalog.Login(server, 2000, "Admin", "", "Spanish ");

2. I'm using a web service (EJB exposed like WS )and supposed that may be the last code was incorrect and decided to use a connection pool to MDM with this code :

Context ctx = new InitialContext();

IConnectionFactory connection =(IConnectionFactory)ctx.lookup("deployedAdapters/MDM Factory/shareable/MDM Factory");

but in the tutorial use a clase IConnectionSpec that i can not find ,

What is happening?????, is not supported in SP04 ???? how can i do the connection pool in SP04????

Best regards