ASP and COM
-
Im developing a web application using ASP.net, my client have this COM, actually a TLB file. How can i use that COM in my application? I have 2 options, 1) is to add it as reference and 2) as a Web Service using SOAP... Which is better in these 2 options? or if there's any other option please introduce it to me.... tnx
-
Im developing a web application using ASP.net, my client have this COM, actually a TLB file. How can i use that COM in my application? I have 2 options, 1) is to add it as reference and 2) as a Web Service using SOAP... Which is better in these 2 options? or if there's any other option please introduce it to me.... tnx
Hi The choice depends upon the context and future extensions and scalability options. If you want to re-write the component all over again in .NET, then I would recomend to write wrapper arround it in .NET and use it. This way in future you can change the implementation without disturbing the whole system. Now about webservices, if you are writing wrapper, then it is extremely easy to convert a .NET class into webservice. If you require load balancing or things like that then go for webservices. But do consider, webservices have slow response time as compared to component level communication. mE! ------------------- Therez No Place like ... 127.0.0.1
-
Hi The choice depends upon the context and future extensions and scalability options. If you want to re-write the component all over again in .NET, then I would recomend to write wrapper arround it in .NET and use it. This way in future you can change the implementation without disturbing the whole system. Now about webservices, if you are writing wrapper, then it is extremely easy to convert a .NET class into webservice. If you require load balancing or things like that then go for webservices. But do consider, webservices have slow response time as compared to component level communication. mE! ------------------- Therez No Place like ... 127.0.0.1
i guess that's clear enough, thanks.. by the way, this COM that im working on is a TLB file written, i think in Java if not in VB6. Im not sure cause I don't have the info. but then how can i re-write or wrap this again in VB.Net? Im not experienced yet in "wrappers".