|
-
May 14th, 2004, 06:14 AM
#1
Thread Starter
Frenzied Member
Using COM+, Component Services.
I want to centralise some utilty code, so I created a DLL and created a COM+ Application in Component Services.
The problem is I'm not sure how I or others will access/reference these classes.
Is it just a case of referencing the dll like any other one.
At the moment it's very much proof of concept, so I've done all this on my machine, And when I add a reference as would normally be done and execute a method the Golden Globes start spining,so it appears to be working but what happens if someone else is developing from a different machine how would they make a reference.
I didn't think this would be the part to confuse me! I've just read a 400 page book which went into minute detail of everything to do with COM+, but said nothing about what to do once you've creted your COM+ application 
Any thoughts from anyone about their experiences with COM+ would be welcomed.
-
May 14th, 2004, 06:18 AM
#2
Fanatic Member
-
May 14th, 2004, 06:22 AM
#3
Thread Starter
Frenzied Member
So if I export this to DeveloperA he can then use the classes to create an Application.
Do I then have to export again to anyone using DeveloperA's Application.
Seems more effort than it's worth.
-
May 14th, 2004, 06:26 AM
#4
Fanatic Member
Sorry not the best at explainng thing ( been a while see done stuff like this and it was in MTS).
No you Com+ application will always reside on the Transaction server but for any machine to call the DLL they must Know where they reside hence the need for the Com+ Servwer to produce a file stating where it is and placeing relevant registry keys on a client machine. COM+ allows you to a your DLL in 1 central place.
-
May 14th, 2004, 06:31 AM
#5
Originally posted by DeadEyes
So if I export this to DeveloperA he can then use the classes to create an Application.
Do I then have to export again to anyone using DeveloperA's Application.
Seems more effort than it's worth.
If you are just putting it into COM+ for development purposes, and weren't planning on using it in production, then its probably a waste of time.
Just put the DLL on a shared drive that all the developers have access to and have them register it from there.
But if you are planning on using COM+ in production, then yes, any client will need to run the export MSI in order to have a proxy back to the DLL on the server.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
May 14th, 2004, 06:36 AM
#6
Thread Starter
Frenzied Member
It will be going into production at some stage, altough I won't be giving them any firm dates yet!
Thanks for the replies I'll check out this export wizard.
-
May 14th, 2004, 08:03 AM
#7
Re: Using COM+, Component Services.
Originally posted by DeadEyes
I've just read a 400 page book which went into minute detail of everything to do with COM+, but said nothing about what to do once you've creted your COM+ application 
Which book?
-
May 14th, 2004, 08:07 AM
#8
Thread Starter
Frenzied Member
Programming Distributed Applications with COM+ And Visual Basic
By Ted Pattison.
Sample Chapter
-
May 14th, 2004, 08:10 AM
#9
Fanatic Member
Slightly Off topic.
But can you share variables in a COM+ componet if the are in a publi module as is the case with ActiveX EXEs if one sets the clasess to multiuse and limit the instances of the EXE as a whole to 1
Last edited by Bombdrop; May 14th, 2004 at 08:18 AM.
Useful Links
.Net
#Develop, GhostDoc, CodeKeep , be.PINVOKE, Good Code Snippet Site
Krypton Toolkit, XPCC / XP Common Controls, QSS Windows Forms Components
VB.COM
VB.Classic Help File, MB Controls, MZTools, ADO Stored Procedure Generator add-in,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|