Slashdot Mirror


Programming .NET Components

Gianluca Insolvibile writes "I plead guilty: I have always admired Microsoft's COM architecture and the relative simplicity that allows you to reuse already installed components to create even complex programs. And I have always been fascinated by the distributed nature of DCOM, which seemed to me much more graspable than complex monsters like CORBA and J2EE. While looking for equally expressive Open Source component technologies among GNOME and KDE, I was never able to find something fitting my needs (I never got into Bonobo deeply enough, though)." Read on to see how this led Gianluca to Juval Loewy's O'Reilly-published Programming .NET Components, and what he thinks of the book. Programming .NET Components author Juval Loewy pages 460 publisher O'Reilly rating 7.5 reviewer Gianluca Insolvibile ISBN 0596003471 summary An introduction to components-oriented development with the tools and services provided by the .NET framework

One day, I stumbled upon the mono and Portable.NET projects, which are trying to bring all the .NET stuff to the penguin platform. This was the main reason that convinced me to learn more on .NET: open specs, a component-enabling technology, the cross-platform mirage, a completely new (well, sort of) set of concepts to be grasped, and something which I could use both on Linux and on Windows.

Armed with these expectations, I decided to look for a good introductory text on the .NET framework focused on components development. Among the plethora of publications on the subject, I decided to stick with a publisher having a long and respectable tradition in Open Source related books. Among the herd of funny beasts that populate O'Reilly's catalog, I picked out a "land hermit crab," aka Programming .NET Components, by Juval Loewy.

Overview The book begins with a chapter giving a rationale behind component-oriented programming versus object-oriented programming, that is, interfaces versus inheritance. The second chapter shows how those concepts are reflected in the .NET Framework, briefly introducing the Common Language Runtime (CLR), the Intermediate Language (IL) and .NET Assemblies. The following three chapters deal with interface-based programming, objects lifecycle management and versioning, gradually introducing the underlying concepts and showing how they become concrete in the .NET framework (more specifically, by using the C# language). No formal introduction to C# language constructs is given, but if you are familiar with C++ or Java you will be able to follow the code snippets fairly easily.

Events and asynchronous code execution are the subjects of Chapters 6 and 7, respectively. While the former is just a quick introduction to the C# approach to delegates and events (yet useful if you are new to the matter), the chapter on asynchronous calls is much more substantial. The mechanics behind async calls are explained, together with pros and cons of using callbacks, BeginInvoke() and EndInvoke() calls, one-way methods, and so on.

Chapter 8 is devoted to Multithreading and Concurrency. Commonplace concepts like threads application and usage are explained, as always dressed with a bit of C# syntax. While such concepts are easily found in any multithreaded programming tutorial on the Internet, explaining them from the basics never hurts -- and prepares the reader to the most insidious traps of multithreaded programming. Synchronization appropriately takes a fair part of Chapter 8: automatic and manual synchronization provided by the .NET runtime environment are explained, together with the concepts of contexts and synchronization domains. This part is quite interesting, since it delves into .NET specific concepts which are quite new to programmers who had a happy Microsoft-less childhood (though they might not be so new to people who speak COM fluently). Other .NET threading related services (such as timers) are presented at the end of the chapter.

Chapter 9, devoted to object serialization and persistence, describes how live objects can be transformed (formatted) into a stream of bytes to be sent over a network channel, or stored on a persistent storage medium. This chapter lays the grounds for the exacting chapter on remoting, which follows immediately. Chapter 10 is the longest and most content-rich chapter of the book: first, the entire story of native processes, .NET app domains and assemblies is told. After reading it here, it won't look so confusing as before. Then, objects marshaling, remote callbacks, synchronization and activation modes are described, including client and server activated, single-call and singleton modes. Afterwards, the author gets to a global overview of the .NET remoting architecture, its basic building blocks (like proxies, transport channels and call dispatchers) and working mechanisms (like type registration and environment configuration). A reprise on objects sponsorship and leasing closes the chapter and completes the discussion on objects' lifecycle left pending in Chapter 4. Chapter 10 offers a lot of interesting cues, but unfortunately cannot dig deeply enough in the subject (after all, this is not a book on remoting). Many people (including Juval himself) recommend Ingo Rammer's Advanced .NET Remoting (APress) to learn more on the topic, but I have yet to get my hands on it.

Chapter 11 reprises the description of contexts in .NET, this time focusing on calls interception. The whole interception architecture is described with a fair level of detail and, as always, in a clear and understandable way. Context-agile and context-bound objects are described, as well as .NET and custom component services. While reading this chapter, you start understanding that contexts, app domains, call interception and remoting are tightly interwoven and that their full understanding is the real key to the exploitation of the .NET platform potential. Unfortunately, this is where the book leaves you alone -- but I strongly suspect that a full coverage of these topics would have required an entire book on its own.

The last chapter of the book deals with the .NET Security architecture, introducing the concepts of permissions, code groups and policies. Security administration is explained, both from a system configuration and a programmatic point of view.

What's to like What I liked most is the straightforward approach of the author in introducing the rationale behind components, components-based programming and their support in the .NET Framework: each concept is walked through step-by-step, instead of being presented in a complete working example with little or no explanation. Hence, you won't get working code on page 3 of the book -- instead, you will gradually learn how to write some.

Indeed, I found the description of awkward concepts like asynchronous calls, multithreading and remoting very clear, even for someone with no previous experience with .NET and C#.

I also consider a plus the broad experience the author has in the field, which shines through the many programming hints given, and in lots of references to concepts in COM which have an homologous in .NET.

I finally found the book to have the right balance between printed code and text (that is: do not fill hundreds of pages with code, I'll look at it online).

What's to consider Programming .NET Components is just an introductory book: it points you in the right direction toward components programming with .NET, but does not bring you very far. If you are really serious about learning .NET advanced topics, you will need a more specific tome to complement (or substitute for) this one.

More specifically, the 70 pages which cover remoting are just an introduction to the matter. The same applies to some of the most important concepts revolving around .NET (app domains, contexts, and the like).

Finally, despite the subtitle ("Design and Build Maintainable Systems using Components-Oriented Programming"), be warned that this is not at all a book on software design (components oriented programming is covered in just 15 pages).

The summary Reading the book goes without a glitch, thanks to a smooth writing style and a very structured approach to explaining concepts. Still, when I turned the last page of the book I felt that my understanding of components within the .NET platform was far from complete.

.NET Components Programming is quite fair to its title: it will teach you how to program components by using .NET constructs, but (apart from some quick notes here and there) it will not provide extensive coverage of components oriented design and development. If you are already familiar with .NET concepts and are looking for something shedding light on components programming, this book will not help you significantly. On the contrary, if you know something about components and want to start developing them into the .NET Framework, this will surely be an interesting read.

Table of Contents
Preface
Chapter 1. Introducing Component-oriented programming
Chapter 2. .NET Component-oriented Programming Essentials
Chapter 3. Interface-based Programming
Chapter 4. Lifecycle Management
Chapter 5. Version Control
Chapter 6. Events
Chapter 7. Asynchronous Calls
Chapter 8. Multithreading and Concurrency Management
Chapter 9. Serialization and Persistence
Chapter 10. Remoting
Chapter 11. Context and Interception
Chapter 12. Security
Appendix A. Interface-based Web-services
Appendix B. Custom Security Principal
Appendix C. Reflection and Attributes

You can purchase Programming .NET Components from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

327 comments

  1. For your crimes by Anonymous Coward · · Score: 0, Funny

    I plead guilty: I have always admired Microsoft's COM architecture and the relative simplicity that allows you to reuse already installed components to create even complex programs.

    For your crimes, Slashdot hereby sentences you to a living death. You are ordered to use Windows 95 until the end of your days! May Gates have mercy on your soul.

  2. Longest Ever? by Anonymous Coward · · Score: 1, Funny

    Dare I say this is the longest /. news item EVER?

    1. Re:Longest Ever? by Anonymous Coward · · Score: 0

      Arina, Kiev

      The Rasmus! Ukraine loves you! Are you love us!? "In the shadows" is the best! Whoooohoooo!

    2. Re:Longest Ever? by Anonymous Coward · · Score: 0

      I've seen longer articles (some interview not too long ago), but I think they got the book title wrong:
      Programming .NET Bloatlets

    3. Re:Longest Ever? by Anonymous Coward · · Score: 0

      Just like my dick!

  3. This is what this article is about. by Anonymous Coward · · Score: 5, Insightful

    This article from earlier today explained it all
    The lack of starndardized libraries. KParts, Bonbobo, XParts, DCOP, XUL, OpenOffice are all competing technologies. No one component model for linux. Wan't the KHTML part to display a webpage in your gnumeric spreadshit? No, you can't do it yet.

    I just hope the proposed Xembed standard gets implemented soon, or Linux will be screwed on the desktop for a while

    1. Re:This is what this article is about. by pmz · · Score: 0

      Wan't the KHTML part to display a webpage in your gnumeric spreadshit?

      Please explain why this is even desirable to begin with? Highly cross-embedded technologies are ripe for breakage (even in cozy Microsoft Land), and have a high overall effort/payoff ratio. Embedding also creates unforeseen data dependencies, which are often technology-independent and volatile (what if a URL is no longer valid due to some person reorganizing a website?).

      While flashy and glitzy many of these "tools" are, "useful" they most often are not.

    2. Re:This is what this article is about. by CyberKnet · · Score: 2, Insightful

      Wow. based solely on this logic, I am convinced we should stop using search engines and remove plugin capability from our web browsers (no more flash, ra, java, acrobot or others, please). While while we're at it, we should probably stop reusing and refactoring code, remove pipe and redirect capability from our shells, and stop using those damn ATMS and credit cards. Use cash people, cash!

      Depending on other things is a REALLY stupid idea.

      Thanks for enlightening me.

      --
      Video meliora proboque deteriora sequor - Ovidius
    3. Re:This is what this article is about. by Anonymous Coward · · Score: 0

      I think that the point was why have a khtml component display html in your spreadsheet, why not just pop open a new khtml process (or attach to an existing one) and communicate with standard IPC?

      We should remove plug-in capability from our browsers, and leave it to external apps, I hate when acrobat brings down my whole webbrowser, when it should be a separate process.

      Why are components better than separate apps?

    4. Re:This is what this article is about. by penguin7of9 · · Score: 1

      The lack of starndardized libraries. KParts, Bonbobo, XParts, DCOP, XUL, OpenOffice are all competing technologies. No one component model for linux. Wan't the KHTML part to display a webpage in your gnumeric spreadshit? No, you can't do it yet.

      And you never will be able to. And that's a good thing. To many people, it's questionable whether component models are ever a good thing, and there are big differences in how to implement them. By creating many different desktops and having them compete, good concepts survive and bad ones die. That's how a free market works.

    5. Re:This is what this article is about. by __past__ · · Score: 1
      Wow. based solely on this logic, I am convinced we should [...] remove plugin capability from our web browsers (no more flash, ra, java, acrobot or others, please).
      Nah, that's what we have to do because it's patented.
    6. Re:This is what this article is about. by Dalroth · · Score: 2, Informative

      XUL is not a component framework, it's a javascript/xml based interface language that just happens to use XPCOM, which IS a component framework. XPCOM is very similar to COM+, with some of the more obscure cruft taken out and some things missing (like a global standard transaction manager and remoting support).

      You make a good point, however, I just wanted to clarify what exactly XUL is, becuase it is definitely NOT a component framework.

      Bryan

    7. Re:This is what this article is about. by ddennedy · · Score: 1

      I actually like the world you describe. While Flash is admittedly cool, too many animations suck up too much of my CPU, which is esp. bad when its just an advertisement. Fortunately, Java applets are passe because I dislike their constant loading and latent interactivity. Embedded streaming media might be nice if there were some concensus on formats and not crutched up by broken javascript. Seems HTML and CSS are working rather well for 99% of my needs.
      In addition, I am really becoming disgusted with ATM fees and credit card interest rates. So many businesses wanting me to pay them to use my own hard-earned money!

    8. Re:This is what this article is about. by Anonymous Coward · · Score: 0

      KParts, Bonbobo, XParts, DCOP, XUL, OpenOffice are all competing technologies.

      That's bollocks and you know it. OpenOffice isn't a component model, neither is DCOP or XUL.

    9. Re:This is what this article is about. by pmz · · Score: 1, Insightful

      Wow. based solely on this logic, I am convinced we should stop using search engines and remove plugin capability from our web browsers (no more flash, ra, java, acrobot or others, please). While while we're at it, we should probably stop reusing and refactoring code, remove pipe and redirect capability from our shells, and stop using those damn ATMS and credit cards. Use cash people, cash!

      Get a grip. Search engines are singular in purpose, they are transparent (gee a list of websites), and there are enough options returned that one broken link isn't a big deal.

      Browser plugins are best used in niche markets like computer-based training. Flash-based websites, for example, are trash and only reflect on the arrogance and ignorance of the companies that employ them (of course it is fair to expect paying customers to also have fast computers with modern browsers and the latest Flash plugin; of course we won't be alienating potential customers driving them to competitors; that would never happen to us because we just spent $100K on this flashy website)

      UNIX pipes and redirects are fundamentally simple and use only one or two unidirectional byte streams as the only interface. If you can get that level of understanding about crap embedded in spreadsheet cells, then you must have inside documentation or god-like omnipresence.

      ATM machines and credit cards are on their way to being the ultimate tool used against consumers by large corporations and federal governments. Using exclusively cash is inconvenient, but it should be used as much as possible.

    10. Re:This is what this article is about. by Anonymous Coward · · Score: 0

      Translation: incomplete functionality is actually good rather than bad, as long as it's Free Software we're talking about. This doublespeak always shows up any time someone points out something good in Windows, and it's always bullshit.

    11. Re:This is what this article is about. by pmz · · Score: 1

      This doublespeak always shows up any time someone points out something good in Windows, and it's always bullshit.

      No, because you haven't answered how embedding things other than numbers and formulas into a spreadsheet makes it more "complete". I'd rather they put that effort into making more functions, more stability, and better visualization tools. All embedding HTML objects does is increase the number of bullets in the marketing materials. Simply, there is no bullshit or doublespeak here except in Microsoft's marketing department.

    12. Re:This is what this article is about. by Anonymous Coward · · Score: 0

      Jesus fucking christ. Are you working on a nine-year old machine running Win 3.1? Please. If a Flash plug-in able machine is beyond your needs, you are most likely NO ONE'S valuable customer.

    13. Re:This is what this article is about. by pmz · · Score: 1

      Jesus fucking christ. Are you working on a nine-year old machine running Win 3.1? Please. If a Flash plug-in able machine is beyond your needs, you are most likely NO ONE'S valuable customer.

      I've seen flash websites saturate 500MHz CPUs for several seconds at a time...just for a nifty menu system! What happens is a web developer gets their brand-spankin-new dual 3 GHz P4 workstation and goes crazy developing all sorts of crap in his little micro-universe of top of the line computers. Does he test on a 300MHz Pentium II? Does he test on a 28.8Kbaud modem? Of course not, because he is an idiot.

      I wouldn't mind seeing a distribution of what computers people have in the real world. My bets are that all the people that bought sub-gigahertz computers in the late 1990s are still going strong today. Hell, I haven't owned anything faster than 500MHz myself. There's only one computer in my whole family that is less than one year old. The other computers are two to ten years old...and the ten-year-old still gets used (by me, occassionally as a X terminal).

  4. What? by JohnwheeleR · · Score: 5, Funny
    And I have always been fascinated by the distributed nature of DCOM, which seemed to me much more graspable than complex monsters like CORBA and J2EE


    Why anyone would say DCOM is more graspable than J2EE is IUnknown

    1. Re:What? by borgboy · · Score: 0

      +1 Somewhat obscure, funny

      --
      meh.
    2. Re:What? by finkployd · · Score: 1

      Why anyone would say DCOM is more graspable than J2EE is IUnknown

      I would say that only because DCOM is nothing more than a watered down DCE/RPC with all the Kerberos security removed (in fact, it is wire compatible).

      However not many people bothered to learn DCE/RPC so that puts me in a sad minority.

      Finkployd

    3. Re:What? by mrlpz · · Score: 0, Troll

      While this may be my first post to be classified as "Troll"...here goes...

      A) Clearer documentation
      B) Though built on ( unstable as dung Windows ),
      it does DO what it purports to do, and without as many poodle loops as you have to jump with Corba and J2EE

      Though...just because you can "grasp" DCOM doesn't mean you want to "jerk" around with it....you know...having to deal with that whole "hairy palms" business, and such.

    4. Re:What? by Anonymous Coward · · Score: 0

      As can COM and DCOM objects. If you think IDL is too hard to write by hand then maybe you shouldn't be coding.

    5. Re:What? by Anonymous Coward · · Score: 0

      The only good thing about programming with COM and DCOM is that it feels so good when you stop.

    6. Re:What? by Anonymous Coward · · Score: 0

      If you think high level developers should be wasting their time in a tedious and error prone activity like manually editing IDL files, then maybe YOU shouldn't be a developer. Why pay somebody to tweak plumbing when I can pay somebody to implement functionality.

    7. Re:What? by mrlpz · · Score: 1

      Because too often you have to wonder about what version some server component is under Java RMI ( because the Corba implementation you had to use didn't support it ). And, more importantly, because it's no harder to write IDL than designing Java RMI interface stubs.

      When the PLUMBING to YOUR CORBA enterprise application gets plugged.....who're you going to blame, the JVM ?

    8. Re:What? by mrlpz · · Score: 1

      What ? And you're the RMI Interface STUD, are you ? It's NO different than coding a COM interface. Or are you that deluded into thinking that running regsvr32 is SO much more difficult than dealing with rmiregistry ?

      Oh ? You're using rmic ? Well...I thought you were using nothing more than a text editor to generate your stubs ?

    9. Re:What? by dnoyeb · · Score: 2, Funny

      Of course DCOM is simpler than CORBA or J2EE.

      CORBA is cross-language.

      J2EE is cross-platform.

      DCOM is cross-yourfingers.

      (j/k, I actually like DCOM, but it has a much simpler task)

    10. Re:What? by dnoyeb · · Score: 1

      Probably should not have said j2EE. Should have said RMI. I think thats what java uses for object passing and such.

    11. Re:What? by mrlpz · · Score: 1

      Look at that...self-modifying moderation. Even if the technical content of a post is SPOT-ON, leave it to the moderation crew to always oblige someone just "bucking" for "Troll".

      I hope whomever actually moderated my post took the time to READ the whole post, and glean something from it, before sliding that scroll bar down to the troll setting.

  5. DCOM vs .NET? by chochos · · Score: 1, Offtopic

    So you admire DCOM and that's why you recomment a book about .NET which brings a new way of doing things to get away from the mess that is DCOM? now it looks a lot more like J2EE...

    1. Re:DCOM vs .NET? by Pfhreakaz0id · · Score: 3, Interesting

      umm, his comment was And I have always been fascinated by the distributed nature of DCOM, which seemed to me much more graspable than complex monsters like CORBA and J2EE.

      DCOM, can, indeed be a mess when things go wrong. Show me a dcom programmer who doesn't know how to use dcomcnfg fluently and you're probably looking at someone padding their resume. But so can EJB's (want to see our organizations Oracle TAR's on EJB context lookups? There are many... and you have no clear idea to track down the problems).

      I think .NET remoting is an attempt at a compromise between those two (caveat: I haven't done a lot with it), we'll see how it works out.

  6. Re:Yes! by RobertB-DC · · Score: 2, Funny

    Thanks to the Binary Decoder:

    I've been waiting for a good review on .NET!

    It could have been a *lot* worse. Never click on anything that references 01100111 01101111 01100001 01110100 01110011 01100101 00101110 01100011 01111000 !

    --
    Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
  7. Microsoft by Nuttles · · Score: 4, Insightful

    Finally, someone that at least indirectly acknowledges that Microsoft oriented programming is at least worth reading about. I am like many people who read slashdot in that I think Microsoft doesn't play nice in the industry, but they are, like it or not, the de facto standard out there.

    Nuttles
    Christian and proud of it

    1. Re:Microsoft by Winterblink · · Score: 4, Insightful

      Well, whether the greater /. crowd realizes it or not, there's a lot of us who regularly contribute around here that develop on the Microsoft platform and do so willingly. Lets face it, there's lots of work out there for this stuff, and if I can make money doing it then great. While at times Slashdot can be rather hostile towards Microsoft anything, it's still a pretty good resource for interesting IT information and wacky links.

      --
      "I'm a leaf on the wind. Watch how I soar."
      -Hoban Washburn
    2. Re:Microsoft by Anonymous Coward · · Score: 0
      Christian and proud of it

      Humility somehow dropped off the list of Christian virtues. Anyone know where we dropped it?


      Seriously though, it's one thing to be proud and another thing to inform the world of your pride when Christianity isn't in any way under attack. One of those things sounds a lot like boasting.

    3. Re:Microsoft by stephenry · · Score: 1

      "Microsoft... the de facto standard out there"

      That's because, if they weren't the de facto standard, they'd simply integrate it into their product line and force everyone to use it. Can you say Monopoly?

    4. Re:Microsoft by rutledjw · · Score: 3, Insightful
      "de facto standard" how? On server-side stuff? They are not. On Web Servers? Nope. App Servers? No. DB? Programming Language(s)?

      They control the desktop and have a majority of the browser market. How that makes them a "de facto standard" for server-side and/or OO programming languages I'm not certian.

      Especially considering that .NET is an attempt to implement Java / JVM concepts within an MS-only environment

      --

      Computer Science is Applied Philosophy
    5. Re:Microsoft by Anonymous Coward · · Score: 0

      Not in any way under attack, huh? Try being a Christian sometime.

      Just because there are supportive communities doesn't mean there aren't people who wish it dead. Sometimes I'm led to think the only difference between anti-Christian zealotry and racism is that the former is legal.

    6. Re:Microsoft by twocents · · Score: 3, Insightful

      but they are, like it or not, the de facto standard out there.

      Unless you count databases, web, mail, and print servers.

      Sorry if I missed some.

    7. Re:Microsoft by Anonymous Coward · · Score: 1, Insightful

      Oh, please... the U.S. is filled with christians... nearly every one with power is one- George Bush, the vast majority of members of congress, etc... cry me a freakin' river about all the "hate" a typical christian must experience.

      Apply your arguement to every single group out there... it'll work just as good. grow up and get a thicker skin. And a spine for that matter...

    8. Re:Microsoft by arkane1234 · · Score: 0, Flamebait

      Nuttles
      Christian and proud of it


      You know, I actually had respect for you until I read the last line.

      It's a shame...
      WTF does your religion have to do with anything on Slashdot? Reminds me of the many cases of homosexuals just out of the blue spouting off that they're gay. So? Just move the chess piece, already.

      --
      -- This space for lease, low setup fee, inquire within!
    9. Re:Microsoft by Red+Avenger · · Score: 1

      You obviously dont have a job. You might like to step outside into the real world...

    10. Re:Microsoft by Anonymous Coward · · Score: 0

      Force everyone to use it? Hardly.

      Show me where MS came into your house and put a gun to your head whilst you installed Windows.

      What they do, however, is make sure competitors cannot enter the market. Having a monopoly is NOT against the law( if it was no new businesses could be started- they would be monopolies until competition entered the market).

      Perpetuating a monopoly, IS.

    11. Re:Microsoft by Anonymous Coward · · Score: 1, Informative

      I happen to be that original poster, and let me run something past you:

      "Proud to be white"

      Has a nice ring to it, doesn't it? In fact, outside its historical context, there's nothing at all wrong to it. But nothing is outside its historical context. "Proud to be white" is something Klansmen say.

      I happen to be white and I happen to be Christian. Allow me to reassure any readers that, as the vast majority of Americans are Christians (over 90%!), and we are not under attack.

      Being Christian in America is no harder than being Norwegian in Norway. Sure, some minority group might give you some flack, but you run the show and always have.

    12. Re:Microsoft by rutledjw · · Score: 1
      Are you talking to me?

      If you are, you're much mistaken. I'm Java/J2EE and Linux/*nix. For those who know what they're doing in those fields, there are jobs.

      And yes, I know what I'm doing

      --

      Computer Science is Applied Philosophy
    13. Re:Microsoft by sco08y · · Score: 1

      WTF does your religion have to do with anything on Slashdot? Reminds me of the many cases of homosexuals just out of the blue spouting off that they're gay.

      Tell us more about all these homosexuals who spontaneously tell you they're gay. How does that make you feel?

    14. Re:Microsoft by Nuttles · · Score: 1

      Excuse me, people put their own little sayings or sigs after their name and I am sure you thought some of them were lame or stupid, but did you reply to theirs hostily, probably not(if you did you have too much time on your hands). Why should me being a christian bring on such hostility. Every one in my office knows I am a christian, I keep a bible on my desk, right next to my programming reference. Is it your anonymity that gives you the freedom to bad mouth what I believe? It matters not what you think about me professing my faith we I wish to. Christian and proud of it!!!

      Nuttles
      Christian

    15. Re:Microsoft by MrBlint · · Score: 0
      This space for lease, low setup fee, inquire within

      WTF does that have to do with anything on Slashdot?

      --
      That's very perceptive of you Mr Stapleton and rather unexpected in a G Major
    16. Re:Microsoft by arkane1234 · · Score: 1

      About the same way as people who ask about it :P
      Like giving them a wierd look, and ignoring them.

      --
      -- This space for lease, low setup fee, inquire within!
    17. Re:Microsoft by arkane1234 · · Score: 1

      Excuse me, people put their own little sayings or sigs after their name

      It wasn't a sig, that's why I commented. It was typed out manually.

      Every one in my office knows I am a christian, I keep a bible on my desk, right next to my programming reference

      Imagine the looks if you kept a Quaran or Satanic Bible beside your Programming Reference.

      Is it your anonymity that gives you the freedom to bad mouth what I believe?

      Nah, if I wanted anonymity, I would have posted Anonymous. I had the balls to login.

      It matters not what you think about me professing my faith we I wish to.

      Great, I'm happy you feel this way. Now, expect the same reprocussions as a person who types in "Allah Akbar!" along with some other reference to the Muslim religion that I cannot think of off the top of my head.

      --
      -- This space for lease, low setup fee, inquire within!
    18. Re:Microsoft by arkane1234 · · Score: 1

      Share and enjoy.

      The same as this.

      It's a sig.. generic. His wasn't, it was purposely typed in at that specific time. That's why I commented.
      HTH

      --
      -- This space for lease, low setup fee, inquire within!
  8. Simplicity??? by Stiletto · · Score: 4, Interesting

    I have always admired Microsoft's COM architecture and the relative simplicity that allows you to reuse already installed components

    "Simplicity" is probably the one word you can't use to describe that nightmare called COM. COM makes programmers jump through hoops to achieve what plain vanilla C++ (mostly) already provides. Anyone who has ever tried to do a large project using COM (no, that little DirectX Tetris game doesn't count) can attest to the pain and suffering the architecture inflicts on those unlucky enough to have to use it.

    1. Re:Simplicity??? by AKAImBatman · · Score: 2, Insightful

      Thank you! And please, while you're at it, remind the Slashdot crowd of the stupid "one install per system" idiocy that M$ forces on you. Want to test multiple versions of something some COM component? Buy more windows boxes!!!

    2. Re:Simplicity??? by Anonymous Coward · · Score: 0

      Not everybody are as clueless like you, you know...

    3. Re:Simplicity??? by msheppard · · Score: 4, Interesting

      COM was a pain in C++. COM was easy as pie in VB. .NET components work equally easy in C# or VB.NET

      M@

      --
      Krispy Cream is people
    4. Re:Simplicity??? by Anonymous Coward · · Score: 0

      Or version your interfaces.

    5. Re:Simplicity??? by anonymous+loser · · Score: 5, Interesting
      COM makes programmers jump through hoops to achieve what plain vanilla C++ (mostly) already provides. Anyone who has ever tried to do a large project using COM (no, that little DirectX Tetris game doesn't count) can attest to the pain and suffering the architecture inflicts on those unlucky enough to have to use it.

      COM can definitely be challenging sometimes when things don't work properly, but in my experience it makes my life easier much more often than it makes my life more difficult.

      For example, I'd say it's MUCH easier to use the COM-reliant WSH (Windows Scripting Host) to add scripting capabilities to my application than it is to write my own interpreters for all those languages, or make my own scripting language. I've done both, and using WSH takes almost no time or effort, whereas writing my own backend and/or language compiler/interpreter can take days.

      If I want to integrate my application with other windows apps, COM is pretty much the only way to go. Some programs MIGHT offer a native C++ or Java API, but 99% of the time the applications I have to integrate with expose a COM API exclusively. So, writing my app using vanilla C++ doesn't do much since I have to do all that COM programming anyway.

      Similarly, if I want other programs to be able to talk to mine, exposing a COM API is usually my best bet, since it allows people to choose from a variety of languages, perform rapid prototyping quickly and easily, and be able to quickly integrate my application into other applications I hadn't even considered. Anyone can pick up a bit of VBScript or VBA and figure out how to use my application through its COM API. I've had managers muddle through simple excel macros to control my software and do some great customization that way, but a C/C++/Java API means only other programmers will be able to take advantage of that feature. IMHO There's no point in developing features only a select few users will be able to take advantage of.

      And getting back to WSH, this also means that users don't have to be programmers to use other windows programs from my application, either. Want to make my app export data directly to Excel and plot it? No problem! Record a macro in Excel and you're halfway there!

      When all bets are in, I'd much rather have COM than not have it. All of the hoops you refer to are what make COM so easy to use from a higher level of abstraction, which was the goal in the first place. The places where it runs into problems are generally where the spec (IMHO) is ill-defined (or undefined) such as how to effectively handle multi-threaded apps talking to single-threaded apps and vice-versa, determining how and when to display a user interface for a program that is being controlled via COM, determining how and when a program should clean-up and exit that is being controlled by its API (e.g. some programs require you explicitly to call a "quit" function, even though releasing the object should be sufficient), and the semantics for getting/using/releasing COM objects for programs that users are already running. Despite those flaws, I still get a lot of mileage out of COM, and I spend a lot more time making useful things happen than being mired in the tedious bits.

    6. Re:Simplicity??? by g_bit · · Score: 1

      Or run VMWare you dolt. You obviously don't develop software, and if you do I'd hate to have to use it.

    7. Re:Simplicity??? by RelliK · · Score: 4, Interesting
      For example, I'd say it's MUCH easier to use the COM-reliant WSH (Windows Scripting Host) to add scripting capabilities to my application than it is to write my own interpreters for all those languages, or make my own scripting language. I've done both, and using WSH takes almost no time or effort, whereas writing my own backend and/or language compiler/interpreter can take days.

      This example is stupid. You are saying that it is much easier to use a third-party library than to write your own implementation. Well, duh! And it makes no difference whether you access the library via COM or plain C++ / Java / whatever interface.

      If I want to integrate my application with other windows apps, COM is pretty much the only way to go. Some programs MIGHT offer a native C++ or Java API, but 99% of the time the applications I have to integrate with expose a COM API exclusively. So, writing my app using vanilla C++ doesn't do much since I have to do all that COM programming anyway.

      There! Now we get to the real reason windows programmers use COM: they are forced to!

      I've had managers muddle through simple excel macros to control my software and do some great customization that way, but a C/C++/Java API means only other programmers will be able to take advantage of that feature.

      There are other ways to do it. There is no reason why excel couldn't have a scripting library to link with your application. It's no different from linking with WSH. But Microsoft chose COM...

      --
      ___
      If you think big enough, you'll never have to do it.
    8. Re:Simplicity??? by Anonymous Coward · · Score: 0

      I disagree. I've done two transactional processing systems in two separate companies and COM was easy. If you had your object model planned out and the naming already assigned it was great. We automated roll out to the developer machines so that everyone could use the latest versions of teh libraries. It had problems but it was simpler than it's competitors as far as registering shared libraries and makeing sure that the given interfaces existed for all developers so as to be backwards compatible at least as far as calls to the library.

    9. Re:Simplicity??? by mrlpz · · Score: 1

      Probably because you were using the wrong tools.
      C++ Builder is FAR, and AWAY to work with then any of the Visual Studio product ever were.

      Hell...I'm using it now...want to use a third party ActiveX control ( even a one written in Stupid VB ), just bring it in.

    10. Re:Simplicity??? by arkanes · · Score: 1

      ... because COM has alot of technical advantages over static linking. Like not needing to worry about binary compatability, for example, just interface compatability. Thats a massive gain for anyone who cares about backwards compatability, which is a big deal to Microsoft.

    11. Re:Simplicity??? by mattgreen · · Score: 2, Interesting

      COM was designed to erode the differences between programming languages on the Win32 platform. Obviously this isn't easy or elegant. Most painful is probably querying for interfaces using the awful ID strings, and marshaling all your parameters. In addition, I don't see how equalizing the languages is a good thing. If I develop an extensible application, I would *not* want users writing plugins using VB. With that in mind .NET can be seen as COM 2.0, because all the languages compile to a common format, and are really just a choice of your favorite grammar.

    12. Re:Simplicity??? by Mooncaller · · Score: 1

      VB - Large Project? You gotta be kiddin.

    13. Re:Simplicity??? by AKAImBatman · · Score: 1

      Or run VMWare you dolt.

      You can do that. It's still an expense that you shouldn't HAVE to incur. There's also the expense of setting up and reconfiguring each VM installation. They don't configure themselves, so you have to spend annoying amounts of time doing it. If you could simply load different COM versions simulataneously, you'd have a much easier time. Take Java for example. Thanks to class loaders, I can load an inifinite number of JavaBean versions IN THE SAME JVM!

      Call me when Windows gets past the 1960's mainframe design (one instance of a program in the entire system). Of course, even COBOL programs were more stable than Windows "components"....

    14. Re:Simplicity??? by arkanes · · Score: 1
      Using COM is easy in C++ with good compiler support (Visual C++ can automagically import COM definitions just like C++ Builder can, although it lacks a handy wizard to use, so some people never learn about it). WRITING a COM server, and especially an ActiveX control is a pain in C++, although IDE wizards can help. Debugging them is even harder.

      VB makes it pretty simple.

    15. Re:Simplicity??? by mrlpz · · Score: 1

      I'd say that's more a reflection on the programmer's skill and/or knowledge of the programming language than utility provided. Sure VB dumbifies things ( Hell, you can even pseudo-do stored procedures in MS ACCESS, if you implement things in VBA ). C++ Builder also supports creating COM Server components as well....check it out...download a trial version of it....What you'll see is what MS has only gotten around to puttin into Visual Studio until just this year ( and Builder's been around a few years already ).....You want component programming....Builder and Delphi are far and away ahead of the curve. And let's not forget Kylix for our Linux friends...

    16. Re:Simplicity??? by Jugalator · · Score: 2, Insightful

      COM was a pain in C++.

      COM is pretty easy in C++ with the #import key word. Actually, it's very easy with that one as VC++ will generate wrapper classes for you to communicate with the component. The only difference from VB should be the syntax; you wouldn't write much more code to accomplish the same thing. Sure, #import is probably a VC++ specific key word, but as COM is an MS-specific technology and VC++ is the dominating IDE on Windows, I don't really see a problem with that.

      --
      Beware: In C++, your friends can see your privates!
    17. Re:Simplicity??? by Gaijin42 · · Score: 3, Informative

      for VB = 6 I agree 100%

      For vb.net, it is fully featured, and just as powerfull as c#

      I personally prefer c# syntax, because it is more terse, and more strict. Its also closer to Java and C (obviously) so I dont have to do as much mind shifting about case sensitivity, semicolons, etc.

    18. Re:Simplicity??? by Digital11 · · Score: 2, Informative

      *ring ring* Hello? Is this AKAImBatman? Yes, I'd like to inform you that the article you're posting on is about the very technology that you're stating doesn't exist in MS-land....

      No, but seriously, dotnet is all about versioning.. You could have as many different builds of the same software in the GAC as you wanted. Dotnet allows XCopy deployment without registering components, etc and a pretty darn decent versioning management system. Heck, with ASP.NET you can deploy a new version of your dll's for your web app while the app is still running and any new requests will use the new dlls while any still-running requests at the time of deployment will continue to use the old dll's until the request is finished processing.

      --
      I am a leaf on the wind. Watch how I soar.
    19. Re:Simplicity??? by AKAImBatman · · Score: 1

      Okkkaaayyyy... So, responding about how "COM was such a great technology" is now offtopic? Maybe you need to get out a little more?

    20. Re:Simplicity??? by Digital11 · · Score: 1

      What in the world are you talking about? I never said you were offtopic. All I said was that you need to wake up and smell the .NET.

      --
      I am a leaf on the wind. Watch how I soar.
    21. Re:Simplicity??? by anonymous+loser · · Score: 2, Interesting
      This example is stupid. You are saying that it is much easier to use a third-party library than to write your own implementation. Well, duh! And it makes no difference whether you access the library via COM or plain C++ / Java / whatever interface.


      No, you are both oversimplifying what I said, and putting words in my mouth. What I'm saying is that thanks to the COM interface architecture, there are ubiquitous components that can all talk to each other with relative ease, making stuff like adding a scripting language relatively painless. Conversely, I have used C and C++ libraries for doing that stuff as well, and it is anything but painless. It's better than coding everything by hand, but not as easy as COM and WSH make it.

      There! Now we get to the real reason windows programmers use COM: they are forced to!


      Huh? Most programs expose a COM API exclusively because it gives you the most functionality for the effort required. It isn't costly to implement, you can access it from any language with relative ease, and it's strongly supported by the OS. Nobody is forced to use COM, and frankly I would love it if I could use COM on UNIX, too. It would make UNIX component programming much easier than it is. CORBA is a clusterfuck that really takes a lot of work to implement even if you are using the latest whiz-bang commercial libraries. I spent a lot of time doing CORBA and other component integration before I finally learned COM. COM is downright simple by comparison.

      There are other ways to do it. There is no reason why excel couldn't have a scripting library to link with your application. It's no different from linking with WSH. But Microsoft chose COM...


      And there's no reason UNIX apps couldn't support COM, either. It's an open standard, and IMHO it's better than what you suggest since it allows my to dynamically declare and use interfaces. Meaning, I don't have to link to the programs I wish to integrate with. Instead I can just say "create an instance of this object" when I want to use it, and the OS takes care of the rest-it figures out if it needs to link to a library, start an executable, or whatever.

    22. Re:Simplicity??? by grungeKid · · Score: 1

      I found writing COM servers in C++ using ATL to be fairly painless (including stuff like implementing the ActiveX interfaces and IEnumerable). Certainly not as painless as doing it with VB, but not that bad.

      Dr. GUI on Components, COM, and ATL helped me a lot by covering what happens behind the scenes.

    23. Re:Simplicity??? by mrlpz · · Score: 1

      That's funny....you and I had the same Doctor.

    24. Re:Simplicity??? by twaltari · · Score: 1

      Amen brother. VB6 is a nightmare. It tries to hide away complexities of COM programming by doing this and that automagically, but usually swrews up things big time. You'll spend incredible aomunts of time trying to guess what VB is doing this time. No wondwer Microsoft has discontinued this crappy programming language...

    25. Re:Simplicity??? by omibus · · Score: 1

      I've implemented a number of very large projects using COM (one written using VB, the other using Delphi). The larger of the 2 had over 800 COM dlls, the smaller has 30 COM dlls and is being used around the world in multiple languages. So yes, I have. The only thing that would have been insane about these projects was thinking about doing them in C++. That would suck. Delphi and VB make it easy (Delphi being the more powerful of the 2).

      I've also read this book, I thought it was more of a methodology book with a few examples than a how-to book. Of course some of my bias is because I think of a Component as a Delphi Component where is something you can drop on a form (like a text box or a timer). The authors view of a component is a class/object, reguardless of what it does. I find that bogus.

      Frankly I think the book was mis-titled, it should have been: Component-Oriented Programming in .NET.

      --
      Bad User. No biscuit!
    26. Re:Simplicity??? by ebyrob · · Score: 1

      I was wondering if somebody was gonna say that. I was beginning to doubt my gut-reaction. (ie: COM sucks donkey nads, especially when you wind up bailing out collegues who try to use it)

      Who ever thought exporting Microsoft's C++ vtable and calling it a "standard" was a good idea should have at least 2 fingers removed for the pain and suffering they've caused. Binary artifacts like that belong *below* the abstraction level!!

    27. Re:Simplicity??? by nixer · · Score: 2, Insightful
      Actually you can put two copies of the same COM component on the same system - it's called side-by-side running. It aint pretty, but it works.

      There was nothing particularly wrong with the approach M$ took with only allowing one instance of a single version of a component to be installed. The problem was all the hackers out there who didn't understand the versioning schema - and hence failed to provide backwards compatibility for their components under the same GUID.

      COM is complicated - but then again so is J2EE (which is what I'm now developing with).

      Under .NET everything gets much nicer with the fine grained versioning and scoping on assemblies. Oh yes, and let's see how Java approaches the issue - ah yes - we ignore it entirely. OK we don't have system wide issues, but if you've ever played the game called "which version of Xerces works with all my third party utilities" you'll know what I mean.

      Microsoft has its problems - but they think through their stuff well.

    28. Re:Simplicity??? by AKAImBatman · · Score: 1

      COM is complicated - but then again so is J2EE (which is what I'm now developing with).

      Actually, you'd have to compare J2EE with DCOM Transaction Server not COM. COM is comparable to JavaBeans. JavaBeans themselves are super-simple to deal with. J2EE is an overkill, but that's because it's designed for REALLY FRICKING GOD AWEFUL HUMUNGOUS enterprise systems. If you don't need the scability of EJBs, drop them and develop your own object model. Just PLEASE don't drop the object model entirely. That makes a mess.

      nder .NET everything gets much nicer with the fine grained versioning and scoping on assemblies. Oh yes, and let's see how Java approaches the issue - ah yes - we ignore it entirely.

      Heh. If you've read the JAR spec, there's support for file versioning. But, like with COM, noone uses it. Although for a completely different reason. XML is the only example I'm aware of where backward compatability has been pretty much completely dropped. Of course, the early version that everyone used was technically "Project X" from Sun that was "Beta". Later on, the SAX standard changed a bit and resulted in a complete change to the XML libs. That did suck, but it hasn't been too big of a problem. (DataDino still uses the old external parser, completely ignoring the one in Java 1.4.)

      BTW, congrats on being the first person to respond to me without being an ass. It reminds me that intelligent people do still exist here. :-)

    29. Re:Simplicity??? by aled · · Score: 1

      I tried C++Builder once. Created a hello world project named hello. Tried to create a hello.c. The ide says it can't be named that, the name is used by the project. Time to throw C++Builder through the window and return to Visual C.
      If I wanted to do it in Delphi, I would have done it in Delphi. If I use Java, I put each class in it's own .java, if I use C I put everything where I want and that is.

      --

      "I think this line is mostly filler"
    30. Re:Simplicity??? by sdokane · · Score: 1

      COM wasn't designed to erode differences between languages, but is cross-language in the following way: COM objects provide interfaces - if your language can handle that interface, Great! If your language can't handle that interface, then try another one.

      In practise, this often meant that looking for IDispatch if you were using VB. If you want to allow your component to be used by VB then you need to stick to VB data types plus some other rules.

      If you want a specialised fast C++ interface, then that fine also, but it wont be visible in VB. No surprise

      It has to be said that cross language COM / .NET is far more elegant than using (ugh) JNI.

      In practise, ID strings and parameter marshalling was never a major problem (at worst, C/C++ marshalling was no more difficult than RPC)

    31. Re:Simplicity??? by ckaminski · · Score: 1

      If I develop an extensible application, I would *not* want users writing plugins using VB.

      <P>

      Why not? Aren't you in effect giving the users ultimate control over your product; the great OSS feature we all want, without having to GPL your product? I would want my customers using my product with any programming language they wanted. It only boosts my ability to sell said product.

      <P>

      C++ software can cause your component hell just as easily (if not more so) than a VB program. Protecting your own nuts (so to speak) is YOUR problem, and if you want to write shitty code that VB can break, C++ and Java will break it just as easily.

      <P>

      Although the technical nitty-gritty of COM sucks, Microsoft got it right. Easy to use component based architectures make building applications easy. Unix really doesn't have this today, although EJB and CORBA are striving for it.

    32. Re:Simplicity??? by Anonymous Coward · · Score: 0

      The example is valid if you want it to be flexible enough to include more scripting languages after your main app is shipped. COM is very good at this.

      Since you're advocating C++ for 3rd party extensibility, you probably have never worked with real 3rd party code. Different C++ libraries have different ways of doing basic shit like memory allocation, exceptions, call semantics, etc... These are very loose in pure C++, but they are well-defined in COM. You should think of COM just as a standard way of writing C++ libraries.

    33. Re:Simplicity??? by ncc74656 · · Score: 2, Interesting
      And please, while you're at it, remind the Slashdot crowd of the stupid "one install per system" idiocy that M$ forces on you.

      MSDN includes access to all of the desktop and server versions of Windows, and you can have up to 10 machines running desktop Windows. They figured that a coder would have multiple machines and accomodated that.

      Nice attempt at a troll, though. Not.

      --
      20 January 2017: the End of an Error.
    34. Re:Simplicity??? by julesh · · Score: 1

      frankly I would love it if I could use COM on UNIX, too.

      So get hacking. Here's a starting point that nearly works...

      http://sourceforge.net/projects/gcom/

    35. Re:Simplicity??? by mrlpz · · Score: 1

      Obviously you have no business coding in C++ if you can't understand how to put together a program. Each IDE has it's own way of separating the main() and the rest of the application. If you wanted to create a hello.c to printf("Hello World\n" );, then you should've had the IDE create a console application....putz.

    36. Re:Simplicity??? by AKAImBatman · · Score: 1

      *raises eyebrow*

      You *still* have to buy the machines. Or are you saying that 10 machines per developer at a company is ok? Not to mention that if you screw up the config, you then have to re-ghost the machine which takes time. VMWare helps in that you don't need a physical machine, but you still have to do setup and maintenence.

      Got trolls calling me troll these days...

    37. Re:Simplicity??? by ncc74656 · · Score: 1
      You *still* have to buy the machines. Or are you saying that 10 machines per developer at a company is ok?

      Hardware is cheap (unless you're getting ripped off)...besides, just because you can install Windows on ten machines clustered around your desk, does that mean you will? Granted, not everybody needs multiple machines, but I'd like to see you try debugging (for instance) videoconferencing software using just one machine. Last time I checked, VMware and DirectX don't play well together. (Besides, you can build a second, reasonably powerful computer for what VMware costs.)

      --
      20 January 2017: the End of an Error.
    38. Re:Simplicity??? by AKAImBatman · · Score: 1

      Video conferencing is a specialized app. Developers doing a word processor or web development or ActiveX controls shouldn't need more than one machine. It's just wasteful.

    39. Re:Simplicity??? by aled · · Score: 1

      What I meant is that doesn't make sense to me that a n IDE for C/C++ imposes you a naming schema like this, given that traditionally C sources haven't.
      Java has a cool standard and the compiler enforces it, but does make sense only for Java.

      --

      "I think this line is mostly filler"
    40. Re:Simplicity??? by mrlpz · · Score: 1

      What kind of "by the side of road growth" are you smoking ? "but does make sense only for Java" ? What kind of statement is that ?

      There have been naming schemes for EVERY programming language at one time or another. Obviously you've never programming in COBOL, or such, where variables and constructs are "NAMED" down to the Nth degree. Learn a little bit about what naming schemes are all about before you go sprouting whatever little quote your college professor told you "back in the day".

    41. Re:Simplicity??? by aled · · Score: 1

      Ok you got me, I must confess that I have programmed in COBOL for a year and half. I didn't wanted, I was young and the market made me do it. My dark secret has gone out. Are you happy now?

      --

      "I think this line is mostly filler"
    42. Re:Simplicity??? by mrlpz · · Score: 1

      Grow up, and get a grip.

  9. Re:.NET is crap by the_rev_matt · · Score: 3, Interesting

    No technology is trying to become Cold Fusion. .Net is trying to become Java, and so is Java, but no one in their right mind wants to aspire to be an evolutionary dead end like CF. Macromedia (who now one CF) are slowly migrating all CF to J2EE and will kill of CF.

    --
    this is getting old and so are you

    blog

  10. He Belongs in Space Jail w/ Win 3.1! by Mr.+McD · · Score: 1

    Win ME and 95 are nothing compared to the pile of crap know as Windows 3.1, have you alll forgotten? I therefore Sentence him to life imprisonment in Space Jail with a 20Mhx 386 SX (remember?) running Windows 3.1. How that!?

    1. Re:He Belongs in Space Jail w/ Win 3.1! by Gherald · · Score: 1

      Win 3.1 was OK for its time.

      Under the story about the Linux GUI being standardized, /.ers were complaining about Win 3.1 --> Win 95 being too much of a change, and now you are complaining about Win 3.1 being a pile of crap?

      Back to topic, I need a .NET component programming book about as much as I need a Satanic ritual manual.

    2. Re:He Belongs in Space Jail w/ Win 3.1! by Anonymous Coward · · Score: 0

      The sad thing is that my ancient 16MHz 386SX running MS_DOS 6.22 and Windows 3.1 with 5MB RAM still boots up faster than my dual Athlon system running Linux. Not that I ever would want to go back to Win3.1...

    3. Re:He Belongs in Space Jail w/ Win 3.1! by Anonymous Coward · · Score: 0

      Everyone knows beards don't grow in space, so you must be an alien.

    4. Re:He Belongs in Space Jail w/ Win 3.1! by u19925 · · Score: 1

      not good enough. have a 3.2 GHz Xeon. You see, Win 3.1 crashes after about 2 hours on 20 MHz machines. So, it would crash an average of 7 seconds on 3.2 GHz xeon.

    5. Re:He Belongs in Space Jail w/ Win 3.1! by Anonymous Coward · · Score: 0

      You are so evil you do not need a manual to show you how? I do not understand.

    6. Re:He Belongs in Space Jail w/ Win 3.1! by Prong · · Score: 1

      Back to topic, I need a .NET component programming book about as much as I need a Satanic ritual manual.

      Are you a very proficient satanist, then?

    7. Re:He Belongs in Space Jail w/ Win 3.1! by Derek · · Score: 1
      Win 3.1 was OK for its time.
      Are you mad!?!?! I was happily using OS/2 about the same time win3.1 was out and I can tell you there was no comparison. OS/2 rocked and even had a comparable selection of software. When windows 95 came out I was moving to GNU/Linux and I've never looked back.

      I must admit, however, that the .Net framework is a radical idea for microsoft and it is certainly worth looking into. Mono and GNU.Net may be some of the most important projects that free software has seen recently. Nice book review too -- seemed like a balanced look.

      -Derek

    8. Re:He Belongs in Space Jail w/ Win 3.1! by Gherald · · Score: 1

      As proficient as I am in .NET programming, yes. Which is to say, not at all. And I hope it remains that way.

      But at least .NET is a step up from VB, if that is any consolation.

  11. Re:Did I miss a memo or something? by cpct0 · · Score: 3, Insightful

    Heheheh As a computer programmer myself, I tend to like to see everything that exist in the world. I don't care if it's made by the evil monopolistic giant or not.

    Like the reviews author says, I find COM concepts very easy to grasp and quite interesting. Compared to CORBA, it is indeed very easy to use.

    As a hacker (someone who likes to know how it works), I find that very interesting. As someone who code for Mac and Palm, I find I can apply many concepts of COM to my code and make it object-portable.

    As far as .NET goes (while we're on the subject), I think it's ... mmm ... nice ... Too big, too bulky, I prefer J2EE to .NET 10 folds. I choke and puke every time I see some small nibblets of C#, that aberration of a language. But it's intersting to know how it works and how to code anyways.

    By the way, LMAO yes hell is all frozen I think. What the heck, M$ coding book ? EEEK!

    Mike

  12. More reviews by $exyNerdie · · Score: 0, Troll


    If you plan on buying this book, more reviews of the book can be found here and here and you can buy it new for $24.50 here

    1. Re:More reviews by Anonymous Coward · · Score: 0
      What a conincidence that all those links have your seller code.

      Accidental, I'm sure.

    2. Re:More reviews by $exyNerdie · · Score: 1


      What a conincidence that all those links have your seller code.
      Accidental, I'm sure.


      My seller code ? I am not affiliated with any of these websites nor do I buy from them. I found the links by simple google search so you don't have to do the little effort (since I already did it ) !!

      If you don't believe me, just search yourself and you will get the same URLs !!

  13. Re:Did I miss a memo or something? by borgboy · · Score: 1

    bulky? how?

    --
    meh.
  14. Re:.NET is crap by cK-Gunslinger · · Score: 1


    ".Net is trying to become Java, and so is Java.."

    Yep, I hear that the next version of Java will be 98% Java. Then they just have to focus on removing that last 2% of Fortran... =)

  15. Re:.NET is crap by 110010001000 · · Score: 1

    Java is a language. .NET is not. .NET is a set of technologies.

  16. Re:Did I miss a memo or something? by airrage · · Score: 0

    I know, at first I thought Slashdot had been hacked or defaced!

    I have seen this book in the stores and it serves to fill in the little left-over space left behind by all the thicker, more-complete texts.

    DO NOT MOD BELOW HERE:

    I try and submit articles every now and usually to no avail. How clever to submit a Microsoft article under the guise of "research". Very clever. Like going against the grain coolness. Yes, very clever indeed.

    Peace out.

    --
    "This isn't a study in computer science, its a study in human behavior"
  17. April Fools? by Glock27 · · Score: 2, Insightful
    Upon finding the following statement, I realized I was either the victim of a hoax, or reading a review by a fairly unqualified reviewer. ;-)

    And I have always been fascinated by the distributed nature of DCOM, which seemed to me much more graspable than complex monsters like CORBA and J2EE.

    First of all, J2EE is not the relevant technology. Java RMI is. RMI is massively simpler than DCOM, which, contrary to this author's take, is a nasty mess of C-inspired foolishness. ;-)

    In fact, .Net is largely the latest kludge slapped on top of COM/DCOM to try and hide it's hideous complexity. The programming community should wake up and see the obvious fact that Java provides everything that .Net provides, but in a platform neutral and sane manner. It even works great on Windows. (And for those of you that would bring up Mono - we'll discuss that again the day that Microsoft sues for patent infringement under the DMCA.)

    Microsoft - Just Say No.

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
    1. Re:April Fools? by avandesande · · Score: 1

      In fact, .Net is largely the latest kludge slapped on top of COM/DCOM to try and hide it's hideous complexity.

      You have to be kidding me-- .net has nothing to do with dcom/com, other than provide a wrapper that can be used with old components.

      --
      love is just extroverted narcissism
    2. Re:April Fools? by f00zbll · · Score: 1

      the parent post did say a "slapped on top" or wrapped around DCOM/COM. A wrapper could/should hide any ugliness underneath to put it another way.

    3. Re:April Fools? by Glock27 · · Score: 1, Insightful
      You have to be kidding me-- .net has nothing to do with dcom/com, other than provide a wrapper that can be used with old components.

      Are you claiming that every .Net component isn't a COM component?

      Further, the "wrappers" you mentioned are exactly the kludge I was referring to. ;-)

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    4. Re:April Fools? by leerpm · · Score: 4, Insightful

      And upon reading your comment, I realized I was reading a statement by an unqualified critic.

      In fact, .Net is largely the latest kludge slapped on top of COM/DCOM to try and hide it's hideous complexity. The programming community should wake up and see the obvious fact that Java provides everything that .Net provides, but in a platform neutral and sane manner. It even works great on Windows. (And for those of you that would bring up Mono - we'll discuss that again the day that Microsoft sues for patent infringement under the DMCA.)

      No, .Net is not a kludge slapped on top of of COM. It is a platform created from the ground up to replace COM, among many other things. Many of the .Net APIs do call upon various services implemented in COM. But that is only because Micrsoft has not had the time to port that code to managed .Net code. I will agree that Java and .Net provide many similar services, they have more things in common than differences. However there are some things Java does better, and there are some things that .Net does better.

      And your statement about Mono? How on earth does the DMCA relate to patent law? It is called the Digital Millenium Copyright Act.

    5. Re:April Fools? by Burb · · Score: 1

      .NET is many things, but kludge slapped on top of COM it most certainly is not. Yes, DCOM is a bit of a mess, but much of .NET is a "new" take on OO and remoting. Well, yes, it owes a lot to Java and related technologies (only a fool would claim otherwise). But much is a clean code base and pretty good. There is COM interop for compatibility, and the EnterpriseServices namespace *Is* still dependendent on the COM+/MTS code base, but that will probably change anyway over time. Most of .NET is COM independent.

      --

    6. Re:April Fools? by penultimatepost · · Score: 1
      .NET is has nothing to do with COM/DCOM. It is a ground up effort to integrate a true object framework and the languages designed to take advantage of it. With that in mind, .NET is an umbrella that covers several different technologies.

      Of course, M$ has opened the environment so that legacy COM/DCOM can be used, however COM is NOT the underlying technology.

      Disclaimer, I despise M$' tactics, but, as a tech person, I cannot dismiss the merits of the .NET framework

      As for the review, some initial comments tipped the fact that this person has little in depth knowledge of the underlying technologies he is criticizing.

      i.e. (which seemed to me much more graspable than complex monsters like CORBA and J2EE.

      j2ee is much simpler to use than COM/DCOM/MSQM/IIS/VBSCRIPT and all the other technoogies that you would have needed to complete the functionality of a j2ee compliant app server

    7. Re:April Fools? by Anonymous Coward · · Score: 0
      I realized I was either the victim of a hoax, or reading a review by a fairly unqualified reviewer

      If you don't like it, don't read it. The (unfortunate ((for people like you)) fact is that most people who read this excuse for a website also use Windows. The "editors" are not stupid, so that's why they put them in the front page.

      First of all, J2EE is not the relevant technology. Java RMI is. RMI is massively simpler than DCOM

      It is if you have something that abstracts it as much as VB does, but you don't. .NET is a cross between RMI and J2EE actually, at least right now. But wait, you don't actually know anything about .NET, so I wouldn't expect you to figure that out.

      which, contrary to this author's take, is a nasty mess of C-inspired foolishness

      COM is elegant and powerful, and nothing in any other OS approaches it. That, whether you have the brain cells to admit it or not - but wait, you probably don't understant it anyway. People who are much brighter than you and write system-level stuff and applications for Unix-like operating systems have said as much.

      In fact, .Net is largely the latest kludge slapped on top of COM/DCOM to try and hide it's hideous complexity

      .NET is Microsoft's attempt at getting away from COM in the server application space. It would be stupid if you couldn't interop with COM, so you can do that. But you don't need it. Let me repeat that - .NET has nothing to do with COM or DCOM.

      The programming community should wake up and see the obvious fact that Java provides everything that .Net provides, but in a platform neutral and sane manner

      Mwahahaha. What was that - compile once, run everywhere? Mwahahaha. At least .NET doesn't try to bullshit me into thinking it's the answer to all my problems and world hunger.

      It even works great on Windows.

      Sure it does. Almost as great as everything else that happens to be an afterthought port of some wacky technology from another OS.

      And for those of you that would bring up Mono - we'll discuss that again the day that Microsoft sues for patent infringement under the DMCA.

      Let's not discuss it - why don't you read the Mono docs and inform yourself instead. But wait, that would probably mean you'd have to think before posting.

      Microsoft - Just Say No.

      You should have started and stopped there, since that's obviously your motivation. Instead you have to add some bogus uninformed fluff in an attempt to come across as knowing what you're talking about, which is obviously not the case.

    8. Re:April Fools? by Glock27 · · Score: 1
      And upon reading your comment, I realized I was reading a statement by an unqualified critic.

      Well, I'm certainly qualified in one sense of the word. I've developed COM components in C++(ATL). Have you? It was not a fun experience. Do you know the difference between a BSTR, and a WSTR? What a mess.

      In fact, .Net is largely the latest kludge slapped on top of COM/DCOM to try and hide it's hideous complexity. The programming community should wake up and see the obvious fact that Java provides everything that .Net provides, but in a platform neutral and sane manner. It even works great on Windows. (And for those of you that would bring up Mono - we'll discuss that again the day that Microsoft sues for patent infringement under the DMCA.)

      No, .Net is not a kludge slapped on top of of COM. It is a platform created from the ground up to replace COM, among many other things. Many of the .Net APIs do call upon various services implemented in COM. But that is only because Micrsoft has not had the time to port that code to managed .Net code. I will agree that Java and .Net provide many similar services, they have more things in common than differences. However there are some things Java does better, and there are some things that .Net does better.

      What, exactly, does ".Net do better"? What advantage could it possibly confer that would make up for platform and vendor lockin? Any sane manager should want platform independence, so they can get the most for their money down the road.

      Also, I'd be willing to wager that Java will be a more stable long-term platform than .Net.

      And your statement about Mono? How on earth does the DMCA relate to patent law? It is called the Digital Millenium Copyright Act.

      It also protects trade secrets. This is how it is used in connection with decss, for instance.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    9. Re:April Fools? by Glock27 · · Score: 2, Interesting
      [uninformed attack snipped]

      Read some of my other responses, I think I covered almost everything there. The one bit I need to respond to is your comment regarding Java:

      Almost as great as everything else that happens to be an afterthought port of some wacky technology from another OS.

      First off, .Net is clearly the sincerest form of flattery: a blatant ripoff of Java in almost every respect.

      Secondly, the Windows port of Java is arguably the most robust port of any, so calling it an "afterthought" simply labels you as ignorant.

      Finally, comparable Java code often outperforms C# on Windows...so any imaginary advantage you think .Net might have on it's "native platform" is exactly that. Imaginary.

      Very courageous posting as an AC, BTW. ;-)

      Have a nice day.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    10. Re:April Fools? by d_lesage · · Score: 1

      The programming community should wake up and see the obvious fact that Java provides everything that .Net provides, but in a platform neutral and sane manner.

      And .Net provides everything that Java provides, but in a language-neutral manner. Much more desirable in my opinion.

      --

      Ich werde nie wieder denken
    11. Re:April Fools? by killthiskid · · Score: 1

      I'm pretty sure that my worst programming experience thus far was trying to write multi-threaded COM object in ATL that talk to hardware via parallel and serial ports. All the worst parts of each one of those technologies rolled into one horrible experience.

      I did, however, get it to work.

      ATL... ack... better than MFC, but not by much.

    12. Re:April Fools? by Anonymous Coward · · Score: 0
      [uninformed attack snipped]

      [i can't really argue with you, so I won't]

      Read some of my other responses, I think I covered almost everything there

      No you didn't. You complained about "BSTR vs. WSTR" (and isn't that stupid) but nowhere did you qualify your assertion that ".NET is a kludge on top of COM". I'd like to see that, if you don't mind.

      First off, .Net is clearly the sincerest form of flattery

      It's a rip-off, and it's also better. It fixes everything that is wrong with Java. If you can't see that, well, that's not my problem. But then again, it also rips off C++ and Delphi and VB. Take your pick.

      Secondly, the Windows port of Java is arguably the most robust port of any

      Wow, I didn't get the memo on that.

      Finally, comparable Java code often outperforms C# on Windows

      Perhaps you'd like to provide some backing to that? I mean, just about everyone and their mother has proved that given the same non-trivial app on the same hardware any of the .NET languages are far faster than Java could ever hope to be. That's the advantage of not selling "write once run everyhwere" bullshit - it's optimized for Windows. And that's the way most of us like it, sicne we couldn't give a rat's ass if it runs anywhere else.

      Very courageous posting as an AC, BTW. ;-)

      I fail to see why you bothered to reply then.

      Have a nice day.

      Sure.

    13. Re:April Fools? by arkanes · · Score: 1

      I'll claim it. a .NET assembly is NOT a COM component. They have similarities in design, because they address much of the same problem space, but thats as far as it goes. .NET provides wrappers for COM interop. These wrappers are needed because (suprise) .NET isn't COM and can't interact with it directly.

    14. Re:April Fools? by arkanes · · Score: 1
      You don't know what the fuck you're talking about. I've written COM components in C++ too, it's a pain in the ass. It's easier in VB, which is why there's a ton of VB ActiveX controls out there.

      .NET doesn't have anything to do with COM, and is certainly not a wrapper on top of it. Your initial post claiming this is bullshit and trying to redirect the argument to whether or not .NET is a good idea is irrelevent.

      The DMCA was used against DeCSS by claiming it was a copyright infringment tool, which is one of the things that the DMCA makes illegal. The DMCA doesn't apply to trade secrets, and while trade secret law may have been involved in the DeCSS case, I doubt it was, and it certainly wasn't used as part of the DMCA.

      Neither copyright law nor the DMCA nor trade secret law can do a damn thing to the Mono project. It's in danger from patent law, if it's in danger from anything, because MS holds patents on most of the implementation of .NET.

    15. Re:April Fools? by molarmass192 · · Score: 1

      And .Net provides everything that Java provides, but in a language-neutral manner. Much more desirable in my opinion.

      .NET is not language-neutral, it supports exactly 4 languages, namely C#, VB.NET, C++ and J#. With the sole exception of C++, these languages are all firmly controlled by Microsoft.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    16. Re:April Fools? by mrlpz · · Score: 1

      I take back my beratement of you earlier for programming in VB....well said....

      And as for Java RMI...puhleeze..easy ? GMAB...I program in both Java and C++ ( and a few other languages )...and Java RMI is not by ANY means a simpler a distributed method invocation invocation interface, than DCOM is...as a matter of fact, from what "Java Examples" from O'Reilly says, that deploying implementation stubs of server interfaces ( and I quote ), can be "burdensome".....they go on to explain how you go about this. I remember when I first read about this about 2 1/2 (!) years ago, and thinking to myself.....$hit, that doesn't sound very much different than, DCOM in the amount of work effort required. Not to mention you have to set up your security manager to have the proper policies set to allow RMI clients to make the necessary network connections to communicate with the server side pieces ( Geez...doesn't sound that much different than dealing with MTS/MSMQ ). So what you're left with is versioning, which JAVA RMI ( from what little information I've ever come across ) doesn't really address at ALL......which now, supposedly ( hey, I have to be objective ) .NET will do for you ( versus having to implement our own versioning management system, which we did ).

    17. Re:April Fools? by Tim+C · · Score: 1

      Java provides everything that .Net provides, but in a platform neutral and sane manner

      Java is not platform neutral. Java, the language, only *officially* runs on the JVM, the Java platform. This platform has been ported to a number of different hardware and operating system combinations, but it most certainly is not platform independent.

      Note that I'm not bashing Java in anyway - it's been my primary programming language for about three years now.

    18. Re:April Fools? by Anonymous Coward · · Score: 0

      Yes, the JVM has been ported to other platforms, and there are non-Sun JVMs also.

      Too bad Sun doesn't/won't figure out a way to make and bless valid JVM byte code from other language bases.

      If ActiveState can do Perl.Net, why not Perl.JVM?

      It would expose Java technology to more programmers (and minds...).

    19. Re:April Fools? by tc · · Score: 1
      It also protects trade secrets. This is how it is used in connection with decss, for instance.

      Trade secrets are also nothing to do with patent law. Indeed, a trade secret is almost the exact opposite of a patent. Perhaps if you layed off the caffeine and stopped incoherently slamming together the first legal terms that popped into your head, you might come across as a slightly more level-headed critic?

    20. Re:April Fools? by Anonymous Coward · · Score: 0

      >.NET is not language-neutral, it supports exactly 4 languages

      Oh really, what about JavaScript, Eifel, COBOL, Fortran (and many others?

      Please inform yourself before shooting your mouth off.

    21. Re:April Fools? by alext · · Score: 1

      The reference was clearly to Java-the-platform, therefore Java-the-language is irrelevant

    22. Re:April Fools? by EddWo · · Score: 1

      There are a Lot more than 4 .NET Languages

      Python
      Pearl
      Cobol
      Fortran
      Delphi

      Third parties have produced compilers for the languages that compile to CIL.
      Some of them integrate with Visual Studio
      http://builder.com.com/5100-6373-1045314.h tml

      --
      "Taligent is still pure vapor. Maybe they'll be the last who jumps up on Openstep... "
    23. Re:April Fools? by ckaminski · · Score: 1
      ...because MS holds patents on most of the implementation of .NET.

      How is that possible? How is .Net NOT a copy of Java and every language independant VM that has come before it? CORBA, RMI, RPC, really? I'm REALLY REALLY curious about this.

    24. Re:April Fools? by jerdenn · · Score: 1

      I'm surprised at the "(Score:2, Insightful)" that your comment currently displays, considering the fair lack of knowledge that you are displaying on this topic.

      Every .net component is not a COM component. It is true that the .net Framework Class Library sometimes wraps the underlying raw C based windows APIs, or wraps a COM component.

      The wrappers that the previous poster referred to was the RCW, or Runtime Callable Wrapper, which is a way for the runtime to automatically marshal .NET calls to COM, enabling a programmer to easily call COM or C type APIs. The concept is very similar to Java's JNI, though the implementation is far simpler to work with.

      Just because there is a way to marshal calls for purposes of backwards compatibility does not mean that the entire framework is built upon this concept.
      -jerdenn

    25. Re:April Fools? by arkanes · · Score: 1
      .NET, while similar in concept to Java is very different under the hood. It's true that it's broadly similiar in that it's a VM based language. Even if it wasn't, that doesn't mean they couldn't hold patents on it, thanks to the wide wonderful world of the USPTO.

      CORBA, RMI, and RPC are not VMs - I'm assuming you're comparing them with SOAP, and of course SOAP is implemented very differently although it address the same kind of problem. This isn't a hard concept, folks - .NET is NOT Java. It's like Java. It borrows alot of concepts from Java. But it ain't Java. It's got things Java will never have, like true language independence, and the remotest chance at being sucessful as a desktop application development environment.

    26. Re:April Fools? by Glock27 · · Score: 1
      No you didn't. You complained about "BSTR vs. WSTR" (and isn't that stupid) but nowhere did you qualify your assertion that ".NET is a kludge on top of COM". I'd like to see that, if you don't mind.

      To quote directly from Dr. Gui: "You can even use .NET components as you would any COM object-so your new .NET code can be used with old COM applications." However you are right, the purpose of .Net is to get rid of a lot of the pain of dealing with COM/DCOM (you should also remember the fawning over DCOM in the article summary that prompted my remarks in the first place).

      I hope that adding that COM compatibility neither added overhead to .Net, nor compromised it's internal architecture.

      It's a rip-off, and it's also better. It fixes everything that is wrong with Java.

      Well, it certainly "fixed" running on other platforms than Windows. ;-)

      Really, I think you should be more specific about the issues that .Net has "fixed", and by extension what you feel are Javas weak points.

      For instance, I would claim that the CLR's support of multiple languages has largely been a failure. VB.net (arguably Microsoft's real flagship language) has been ill-received. Here's a typical excerpt:

      Might not be the answer you want to hear but go back to vb6. Seriously, we deserve a better compiler. Since version 1 every new version has been worth using and relearning with the exception of .NET.

      The new generation of MS developers are trying to make a name for themselves by doing something radical and different. Doesn't mean it's better, faster, more portable, more secure or even smaller in filesize. .NET falls short in every single aspect.

      Here's the link.

      If you can't see that, well, that's not my problem. But then again, it also rips off C++ and Delphi and VB. Take your pick.

      It doesn't "rip off" any of the above, they are either public standards, or Microsoft has a right to use the associated intellectual property. If Microsoft were intellectually honest, though, C# would be clearly labelled as "derived from Java". Large chunks of the class libraries are almost verbatim identical.

      I would like to see Sun at least make older versions of Java open standards. Making JDK 1.2 (at least) open source at this point would go a long way for Sun I think.

      Secondly, the Windows port of Java is arguably the most robust port of any

      Wow, I didn't get the memo on that.

      Windows is a premier platform - Sun knew that Java had to work well there to have a chance. Believe me, I know Sun and Java have had problems too - don't get me wrong there. However, after a lot of blood, sweat and tears all around Java has progressed a long ways from the early days. The JDKs are actually even getting quite solid on Linux these days.

      Finally, comparable Java code often outperforms C# on Windows

      Perhaps you'd like to provide some backing to that? I mean, just about everyone and their mother has proved that given the same non-trivial app on the same hardware any of the .NET languages are far faster than Java could ever hope to be. That's the advantage of not selling "write once run everyhwere" bullshit - it's optimized for Windows. And that's the way most of us like it, sicne we couldn't give a rat's ass if it runs anywhere else.

      First of all, ".NET languages" are running on a VM just like Java is. That removes the single advantage (precompilation) that true native apps enjoy. I've already seen and personally verified several Java apps that run faster than comparable fully optimized VC 6 C++ programs regardless. I've also seen head-to-head be

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
  18. Re:Did I miss a memo or something? by cpct0 · · Score: 1

    where to start? ^_^

  19. It's all relative by tedgyz · · Score: 0, Flamebait

    I have always admired Microsoft's COM architecture and the relative simplicity...

    Are you high? Did you actually use COM or DCOM, or just admire it from afar? I have used COM and barely survived. I have not coded to DCOM, but I had to to install someone else's DCOM programs. That was torture enough.

    --
    "No matter where you go, there you are." -- Buckaroo Banzai
    1. Re:It's all relative by Anonymous Coward · · Score: 0

      I'm a J2EE developer and do some C++ as well. In the past I have been a COM developer and developed/used DCOM from time to time and COM+ (which is basically cramming the two together in a transaction server) a bit more. These things were simpler than the competitors. It may suck to hear it but the other distributed object technologies were much hard to program than COM/DCOM. That's why they were so popular.

      BTW, I develop on Solaris/WebLogic currently just so you know myh background and biases.

    2. Re:It's all relative by mrlpz · · Score: 1

      You want pain....try implementing version on a Java RMI-based app.....

      As for barely surviving coding in COM...what God-forsaken tools were you relegated to using ? Clay tablets and a stylus ( Maybe you were coding for the Tablet PC, who knows ? )?

    3. Re:It's all relative by tedgyz · · Score: 1

      I never made any comments regarding the benefits of other technologies.

      In answer to your question, I was using VStudio 6. Sure, all the COM stuff is great if you play within your own little box. It's when you integrate with other COM objects and things go wrong. It is when you try to decipher the insane implementation behind the "smoke and mirrors" that the true evil of COM rears it's ugly head.

      --
      "No matter where you go, there you are." -- Buckaroo Banzai
    4. Re:It's all relative by mrlpz · · Score: 1

      What the HELL do you mean by "decipher the insane implementation behind the \"smoke and mirrors\" ?

      The idea is that you're NOT SUPPOSED to both with it. Interfaces are there to be used, not reverse engineered. If you wanted to know what the F$%#king component was doing, you should've bought the source license.

      Visual Studio 6 was absolutely the WRONG IDE to use.

    5. Re:It's all relative by tedgyz · · Score: 1

      Obviously I cannot allieve you of your delusions. I'll just say this. I've been a software engineer for 20+ years. My experience with COM was one of the most painful in my career. Apparently you did not suffer the same fate.

      I will say that I have not seen ANY remote call interface that was easy to use. CORBA has it's own issues. In fact, I wrote my own lightweight RPC interface for a debugger I was working on so I could avoid using CORBA.

      BTW, please enlighten me on what IDE I should have used?

      --
      "No matter where you go, there you are." -- Buckaroo Banzai
    6. Re:It's all relative by mrlpz · · Score: 1

      "what IDE I should've used ?" .....to build what ?

      I've been in the business for a tad longer than you ( but not by much ), just the same, I have the impression ( not delusion ) that that sort of impression about COM is held by those who're "thrown into the fire" of using without being given adequate time to understand the technology itself, and WHY they're using it.

      I commend you on implementing your own RPC, because I wouldn't wish CORBA on my enemies, much less colleagues.

      You're also right, there is no "SIMPLE" RPC mechanism. And let's not get started on SOAP or XML as RPC mechanisms......

  20. Pearls of Wisdom from Morpheus by GillBates0 · · Score: 4, Funny
    Gianluca Insolvibile writes "I plead guilty: I have always admired Microsoft's COM architecture and the relative simplicity that allows you to reuse already installed components to create even complex programs. And I have always been fascinated by the distributed nature of DCOM.

    Before making any knee-jerk comments regarding the post, take a moment to ponder over these pearls of wisdom from none other than the great Morpheus, which are very relevant in this context. Take heed and realize that the poster is but part of the system. Forgive him.

    "Microsoft Windows is a system, Neo. That system is our enemy. But when you're inside, you look around and what do you see? Businessmen, Teachers, Lawyers, Carpenters...the very minds of the people we're trying to save. But until we do, these people are still a part of that system, and that makes them our enemy. You have to understand, most of these people are not ready to be unplugged from Windows. And many of them are so innerred, so hopelessly dependent on the system that they will that they will fight to protect it. Are you listening to me, Neo? Or were you laughing at the stupid MSN fairy again?"

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:Pearls of Wisdom from Morpheus by Anonymous Coward · · Score: 0

      I want that on a T-shirt.

  21. Re:Why I love Microsoft by too_bad · · Score: 3, Funny

    > I haven't see a single computer that runs Linux or any other alternative
    > at any of my friends house.

    I havent seen a single black man at any of my friends house. So they simply do not
    exist.

    --
    DO NOT PANIC
  22. Standard for what? by Dr.+Bent · · Score: 4, Interesting

    Microsoft doesn't play nice in the industry, but they are, like it or not, the de facto standard out there.

    Microsoft may be the defacto standard for client side apps. But on the server side it holds no such title, and enterprise development is supposed to be what DCOM is all about. Things like J2EE and CORBA have way more of a hold on enterprise development than anything that Microsoft has ever put out. There's a big difference between a single-user desktop operating system and a multi-user scalable enterprise platform. From what I've seen, Microsoft has only been sucessful with the former.

    1. Re:Standard for what? by Unequivocal · · Score: 1

      I am uninformed by current statistics but I wouldn't be surprised if Cobol is still the defacto standard for enterprise application by many measure that matter (codebase size, installed base, executions per second, users per second etc)

      Developers per second may go to sexier technologies.

  23. books on .NET threading by Anonymous Coward · · Score: 0

    I've read a couple .NET books on threading. How is this book on threading? Does it go into detail about how .NET threading differs from POSIX threading? Techniques for getting around the differences and the performance/scalability implications. .NET is definitely an improvement over the older VB/IIS model, but it still has a long way to go to reach high level scalability.

    1. Re:books on .NET threading by mrlpz · · Score: 1

      You want to see .NET Threading...look at Java...similar behavioral patterns...why do you think they put in Delegates ? For the same reason you make use of event listeners in Java.

      Not that you'd WANT to do multi-threading in Java ( or .NET for that matter ).

  24. portability by u19925 · · Score: 2, Interesting

    it was more than 5 years ago, microsoft mentioned that they will port DCOM to unix. This killed of many CORBA projects on windows at many organizations. COM specs are binary specs. I am not sure about DCOM and ActiveX. But microsoft hasn't been able to port to unix even after 5 years. Either they lied or it is extremely difficult. CORBA is the only architecture which is alternative to DCOM. Not sure, how much of its complexity is due to portability.

    1. Re:portability by Mr.+Objectivity · · Score: 1

      DCOM was ported by DEC to Digital UNIX, but no one really used it.

    2. Re:portability by u19925 · · Score: 1

      " DCOM was ported by DEC to Digital UNIX, but no one really used it."

      A philosophical question: Can it be still counted as ported?

    3. Re:portability by natbro · · Score: 1

      Yes it was ported, try googling "dcom unix", duh. two relevant links, software ag's entirex dcom on linux product and the Open Group's COMSource program. Granted there's no GPL'd com/dcom out there, wish we could have done that, but we never had the resources or mgmnt buy-in to do so. sigh. Are the ports used? Probably a little. You likely don't hear Microsoft making hay about these because they arrived on-scene just as the big .NOT shift was happening, and this was off-message. and no, it wasn't too hard to port except for sorting out threading, ld/.so, security, and process-model issues... haha, but actually pretty standard porting issues, esp back then when *nix threading was less settled.

      --
      n@
    4. Re:portability by DataCannibal · · Score: 1

      Much of CORBA's complexity is due to the fact that building distributed systems is complex. Lots of project that have tried to build middleware try to start off being simpler than CORBA but inthe end fininsh up just as complex (see J2EE). The complexity comes not from it being portable but being able to be used in C++, Java, Cobol etc etc

      --
      No but, yeah but, no but...
  25. Re:.NET is crap by orionware · · Score: 1, Interesting

    Obviously you don't use them both.

    Macromedia is not going to kill off Coldfusion and replace it with j2EE. CF is built on top of Java and co-exists very well with Java and can even be extended with Java. Other than that they are two completely different types of technology and have two different uses.

    Java is for those who still think that Java is the only serious development tool for the net regardless of the long dev cycle and CF is for those who understand that rapid development and ease of maintenance is often key in sucessfull projects.

    We were a huge JSP/J2EE/EJB shop and now rarely use it. It's just not necessary... CF is more than capable and just as fast for anything that is not massivly back end heavy.

    --


    Karma means nothing to me, so suck it...
  26. CORBA vs .NET by Anonymous Coward · · Score: 2, Informative

    Ok lets see we can choose something which works, is industry proven, IS a real standard set forth by a commitee (OMG) or we can have .NET a fake standard certified by ECMA (who got lots of $$$ for calling .NET a standard). .NET lacks a lot of cross platform availablity that CORBA has. Just about anything can use CORBA: C, PHP, PERL, C++, OBJC, JAVA, SMALLTALK, PASCAL, DELPHI, the list goes on. .NET has yet to prove itself, as well most java/.net interaction is done through CORBA.

    1. Re:CORBA vs .NET by Anonymous Coward · · Score: 0

      The problem I have with CORBA is that there is not a single COMPLETE implentation out there. All the GOOD stuff like remote service discovery is notabley absent from 9 out of 10 implementations. .NET is a complete package. If it's in the spec, you can use it, today. CORBA is always hit and miss, largely miss, making using it almost useless. (We actually wrote our OWN CORBAesque library that does everything we needed CORBA to do in about 3% the size. And much of that functionality was not even availabe in any CORBA implentation available to us, even though it's in the spec. Interoperability between CORBA implentations is also full of nasty suprises.

      CORBA was a great idea that went nowhere becuase noone really took the necessary steps to make it a real "product". Unfortunately typical of most "open" specs and implementations.

    2. Re:CORBA vs .NET by __past__ · · Score: 1
      Erm, you are aware that ECMA actually is a standards body, while the OMG is basically a private club of software vendors? And that few standards bodys do work just for fun?

      Not that I'm all that fond of .NET, but that argument is pretty weak.

    3. Re:CORBA vs .NET by mrlpz · · Score: 2, Informative

      Both of the previous replies respond to your point as well. But I don't see any language you've got listed up there who doesn't have some adapability to being able to utilize COM objects in one form or another ( When implemented on Windows, of course. ).

      I remember when CORBA was really "gathering steam" ( at least from the number of contracting projects out there calling for it ), and remember seeing some of my OOD/OOP bretheren head off to Corba-based projects. I can think of only two of them who ever said that their project achieved their goals. SPECIFICALLY, in one case, because of what one of the other respondents to your post state....SPOTTY implementations.

    4. Re:CORBA vs .NET by Anonymous Coward · · Score: 0

      Private as in including everyone but microsoft? Sure. How do you think microsoft's IE javascript became ecmascript btw?

    5. Re:CORBA vs .NET by Anonymous Coward · · Score: 0

      We've got a choice.

      CORBA for .NET

  27. editor can't complete train of by Anonymous Coward · · Score: 0
    Read on to see how this led Gianluca to Juval Loewy's O'Reilly-published , and what he thinks of the book.

    huh?

  28. Troll Alert by donutello · · Score: 1, Redundant

    have always admired Microsoft's COM architecture and the relative simplicity that allows you to reuse already installed components to create even complex programs. And I have always been fascinated by the distributed nature of DCOM, which seemed to me much more graspable than complex monsters like CORBA and J2EE.

    Ha! Be prepared to be modded down like the astroturfing troll you are! Ooops.. too late for that I guess.

    --
    Mmmm.. Donuts
  29. Re:.NET is crap by orionware · · Score: 0

    Who the fuck mods these things?

    Troll me but give a 2 informative to a post that is factually incorrect...

    --


    Karma means nothing to me, so suck it...
  30. COM and CORBA by u19925 · · Score: 2, Interesting

    If you were to program in C using COM and CORBA based purely on their specification, which one would be easy to program? COM spec is from MS and using their tools in C# and C++, you can simplify things, but that doesn't make COM or DCOM simpler.

  31. Technology is not the hard part by Dr.+Bent · · Score: 3, Insightful

    Understanding the ins and outs of J2EE is not the hard part of enterprise development. Understanding things like async messaging, transactions, and multithreaded logic are what makes enterprise development difficult. Switching to .NET because you don't 'get' J2EE will not magically make you understand these complex ideas.

    If this book does a better job of explaining those concepts using .NET examples, then fine. But it's not learning the particular technology that's the hard part...it's learning the theory that drives it.

    1. Re:Technology is not the hard part by deputydink · · Score: 1

      I couldn't agree more. Until Microsoft provides some kind of wizard in Visual Studio that provides insight to a developer in three easy steps i'm afraid .NET, however well implemented will unfortunately remain as hard to develop enterprise software.

  32. What? by Anonymous Coward · · Score: 0

    Don't trust a book review written by someone who thinks DCOM is more understandable that J2EE. Without MS's wizards that completely hide the complexity, DCOM and COM would be completely unusable. Distributed J2EE objects on the other hand can be written using nothing more than a text editor.

  33. Re:.NET is crap by Anonymous Coward · · Score: 0

    dude- want people to listen? Present an argument rather than an opinion.

  34. Simple != Pervasive by Anonymous Coward · · Score: 0

    > I have always admired Microsoft's COM architecture
    > and the relative simplicity that allows you to
    > reuse already installed components to create even
    > complex programs.

    One of the reasons COM is nice is the fact that there are so many components out there. There are frameworks (CORBA), that were much nicer (OpenDoc) but whatever the future brings (.NET) the reality is the platform with the biggest market share (Windows) and the most components will win.

    1. Re:Simple != Pervasive by Mooncaller · · Score: 1

      Wrong! That MS dominates the Desktop computer means nothing. CORBA has a lot larger presents then mere desktops. For .NET to win, Windows will need to be the ONLY platform, and that is not going to happen for a long long time.

  35. Re:.NET is crap by tesmako · · Score: 1

    No one in their right mind thinks Java is a language, Java is a computing platform. (a language howevere is a set of technologies typically. Actually almost everything is :)

  36. Questions left to be answered... by Chuck+Bucket · · Score: 1

    I appreciate that the metadata is the managed code and the Language neutrality of the project, but I still think questions need to answered about if this is really just a new way to try to kill Java, and how nice it'll play with projects like Mono after it takes off.

    CB

  37. Highly recommended by garoush · · Score: 1, Informative

    This is one of the best books I read in a while about .Net To give you some insight download and read C# Coding Standard by Juval Lowy

    --

    Karma stuck at 50? Add 2-5 inches.. err.. 2-5x Karmas Count to your pen1es.. err.. Karma all naturally and private
  38. Struts equiv in .Net? by xv4n · · Score: 1
    (Offtopic but WTH)

    Could somebody point me out to what's the Jakarta-struts equivalent in the .Net fmwk ---if there is such. Regards.

    1. Re:Struts equiv in .Net? by Cocteaustin · · Score: 1

      I don't think there is one. I don't know Struts (although I do a lot of coding in ASP.NET). The Struts FAQ says that Struts is "Struts combines Java Servlets, Java ServerPages, custom tags, and message resources into a unified framework." and "Struts uses a special Servlet as a switchboard to route requests from Web browsers to the appropriate ServerPage." .NET combined with Visual Studio .NET kinda does that, but it seems like there has to be more to it than that. Is there?

    2. Re:Struts equiv in .Net? by xv4n · · Score: 1
      Visual Studio .NET kinda does that, but it seems like there has to be more to it than that. Is there?

      The advantage of using Jakarta-struts (or any other [good] MVC framework) is that there is no need to waste time reinventing the wheel on handling client request/responses - the framework takes care of all that. Basically you concentrate on the business logic and presentation parts. My original question was if there is such a thing for .Net.. I'm pretty sure there is, just want to know how MS names that.

    3. Re:Struts equiv in .Net? by mrlpz · · Score: 2, Insightful

      There is...in this months ( Sept 2003 ) .Net magazine, there's an article about what they call "Rich Clients" ( though they throw in Macromedia Flash ). Which essentially are ASP.NET driven pages which can be manipulated by back-end assemblies. The example shown at: http://www-106.ibm.com/developerworks/java/library /j-struts/ ( almost half-way down the page ) is a model which can be implemented by server-side ASP and C#/VB components. You'd be using the MTS/MSMQ "parts" of .NET.

    4. Re:Struts equiv in .Net? by CausticPuppy · · Score: 2, Insightful

      Struts is a framework for development in the model-view-controller paradigm.

      Then again, ASP.NET is supposed to be more MVC-centric as well.
      From a high-level perspective, struts by itself focuses primarily on the "controller" part. I believe jakarta-tiles is now integrated with the latest version, and tiles focuses on the view part.

      You could actually build a framework in .net that closely resembles struts. But asp.net itself solves (or rather, makes it easier for the developer to solve) many of the same problems that struts solves, just in a different way.

      --
      -CausticPuppy "Of all the people I know, you're certainly one of them." -Somebody I don't know
    5. Re:Struts equiv in .Net? by TomV · · Score: 1

      If it's a .net implementation of Model-View-Controller you're after, MS calls it 'The User Interface Process Application Block'.

      TomV

  39. Sigh. Do we really need this? by heironymouscoward · · Score: 2, Insightful

    An irrelevant review about an irrelevant book about an irrelevant technology.

    Just how is this long informercial supposed to interest us? Go ahead, mod me down, flame me for my lack of understanding, but I have worked extensively with COM+ over the last years and I regret ever starting with the stuff.

    Am I the only one detecting a current of counter-revolution in Slashdot? Negative moderations of eminently reasonable comments by pro-MS and pro-RIAA voices we can't identify?

    A small voice says: stick to the point, people, or the point will stick it to you.

    --
    Ceci n'est pas une signature
  40. mod parent down by Anonymous Coward · · Score: 0

    Embedding Amazon affiliate ID's into URL's, and not disclosing their presence, is really sleazy. Any bozo knows you can go to Amazon.com to read reviews of books, so this parent post shouldn't be modded "informative." It's just a scummy way to make a buck from unwitting Slashdot readers.

    1. Re:mod parent down by $exyNerdie · · Score: 1


      Embedding Amazon affiliate ID's into URL's, and not disclosing their presence, is really sleazy. Any bozo knows you can go to Amazon.com to read reviews of books, so this parent post shouldn't be modded "informative." It's just a scummy way to make a buck from unwitting Slashdot readers.

      Embedding Amazon affiliate ID's into URL's ????
      I am not affiliated with any of these websites nor do I buy from them. I found the links by simple google search so you don't have to do the little effort (since I already did it ) !!

      If you don't believe me, just search yourself and you will get the same URLs !!

  41. Defacto where??? by big-giant-head · · Score: 2, Insightful

    Maybe thats why corporate application I've worked on the last 4 years has deployed on Solaris or Linux using Java or C++ and Corba....

    It maybe the defacto standard for mail servers (exchange) but thats all I've seen it used for.

    It's defacto if you want to write video games.

    --

    So Long and Thanks for all the Fish.
    1. Re:Defacto where??? by mrlpz · · Score: 1

      Just because your shop does, doesn't mean that there aren't shops out there, that have corporate environment applications which deploy with Windows Server ( in one form or another running some sort of another of a database ) on the backend....

      It's certainly not the defacto for email servers ( thank &Deity )...

      I'm not the first one ( as a /. article earlier today mentioned ) to say this...and probably not the last ...but Linux/Unix serves best as the underpinning for backend processes, and Windows running on the client.

    2. Re:Defacto where??? by big-giant-head · · Score: 1

      "Just because your shop does, doesn't mean that there aren't shops out there, that have corporate environment applications which deploy with Windows Server ( in one form or another running some sort of another of a database ) on the backend...."

      A Defacto standard would mean Very nearly everyone used it.

      That was my point:

      WINDOWS SERVER IS NO WHERE NEAR DEFACTO, PROBABLY NOT EVEN 50%......

      --

      So Long and Thanks for all the Fish.
    3. Re:Defacto where??? by mrlpz · · Score: 1

      Neither is Solaris....I'd be surprised if it's 15%

      And here's a little number for you...most small lans ( whethere they're managed by a Domain Controller or not ), run off of Windows.

      Get Lawyers to run their networks with Linux servers as the backend...and THEN we're talking market penetration.

    4. Re:Defacto where??? by pyros · · Score: 1

      he didn't say Solaris is a de facto standard, he just said MS isn't, using the fact that his professional experience has been dedicated to Solaris and Linux as justification for the statement. The servers he's talking about rolling out are in a different target demographic than small Law firm, so it doesn't make sense to compare the two. .Net and J2EE are enterprise application server platforms, and I don't think there is one de facto standard for enterprise application servers. There's a handful of competing platforms, which all have their own strengths and weaknesses.

    5. Re:Defacto where??? by mrlpz · · Score: 1

      regardless of the fact that he used incomplete sentence construction ( Yeah, attack the person's grammar.).....the fact that he is using his experience to say that Solaris ( insert your OS here ) was used everwhere he's worked for over the past 4 years, kind of implies it.

    6. Re:Defacto where??? by pyros · · Score: 1

      Well, you may have read that in his statement, but he never actually said it. That's all I was saying.

  42. whaaaa?!?!? by 514x0r · · Score: 1, Redundant

    I have always admired Microsoft's COM architecture

    untill you spend a day rebuilding DLLs because one class ID at the bottom of your architechure got f??ked up.......without a makefile!

    --

    !(^((ri)|(mp))aa$)
    1. Re:whaaaa?!?!? by Anonymous Coward · · Score: 0

      So lets see.... YOU fucked up and had to do something to unfuck yourself, and you're mad at COM because of it.

      I suppose you like the ability to change the type of parameters in C libraries and not have to recompile your code? (Never mind that your app will sectacularly explode at the worst possible time when you run it)

    2. Re:whaaaa?!?!? by samsmithnz · · Score: 1

      Fucking retard. You never heard of a batch file? Did you really individually rebuild each file?

    3. Re:whaaaa?!?!? by 514x0r · · Score: 1

      no, but i did reset the refs

      --

      !(^((ri)|(mp))aa$)
    4. Re:whaaaa?!?!? by mrlpz · · Score: 1

      I second the last poster's vote...Retard...Fire the guy who put you in charge of handling the build !

  43. morons respond to corepirate nazi MiSinformation by Anonymous Coward · · Score: 0

    perhaps you are beset buy a sense of permanence, that you need especially good food/clothing etc..

    out of desire for the 'wonderous' effects of the present, even though they are of little meaning in the long run (planet/population rescue), you are ready to employ all sorts of shameless exaggerations & devices to get what you think you want. making loans at high interest, looking DOWn on others, starting court proceedings, etc.. all in order to maintain your need for excess/frivolity.

    once you give your life over to such trivial pursuit(tm), acquisition/more excess becomes more important than life itself. such superficiality is a fool's errand, & drives you away from things that would really help you/US.

    the lives of those so afflicted, remains empty, as the needs of the spirit cannot be acheived buy external means/methods.

    as always, lookout bullow.

  44. like the blind speaking of color by penguin7of9 · · Score: 1

    COM/DCOM are a messy hack on top of C++ virtual tables. They are not a good thing, nor is there anything new in COM/DCOM relative to earlier OO component architectures. They are, in fact, so much not a good thing that Microsoft cloned Java in order to replace COM/DCOM with the C# object model.

    J2EE is a mess, but you can't fault the underlying object and component model for that.

    1. Re:like the blind speaking of color by Anonymous Coward · · Score: 0

      J2EE is a mess, but you can't fault the underlying object and component model for that.

      Nope, but you can fault the overlying architecture and system design.

      If you look at .NET and C#, you'll see that they are just cleaned up versions of j2ee and java.

    2. Re:like the blind speaking of color by penguin7of9 · · Score: 1

      If you look at .NET and C#, you'll see that they are just cleaned up versions of j2ee and java.

      Yes, that's what I was saying.

      And neither Java nor C# really are anything new, nor was COM/DCOM. Just about anything in those object and component systems was worked out some time in the Smalltalk-80 days. And if you want to argue that Smalltalk-80 was just impractical, Objective-C and NeXTStep brought those models to UNIX/NT-like platforms a few years later, still many years before COM/DCOM or Java.

  45. .NET is Java... by Anonymous Coward · · Score: 0

    You only need to look at the way assemblies (packages) are organized and imported to see this.

    1. Re:.NET is Java... by iPaul · · Score: 1

      Yep - I just finished "C# for Java Developers" from Microsoft press and most of "C# and the .Net Framework -2nd Ed" from Apress. They seem to spend some time explaining why .NET is not Java, but frankly, I can't tell the difference. (Other than minor syntax and deployment issues).

      --
      Leave the gun, take the cannoli -- Clemenza, The Godfather
  46. Re:.NET is crap by Anonymous Coward · · Score: 0

    I didn't mod you but it probably has something to do with saying that Cold Fusion is as good as a Java- JSP/Servlet for most things

    CF is not as robust, not as scalable, you are tied to one vendor for the life of the project. So even when dealing with lightweight projects you're still saddled with CF crap...

    (-1, Incorrect)

  47. You are a simpleton by g_bit · · Score: 1

    nuff said.

  48. Re:Sigh. Do we really need this? by Anonymous Coward · · Score: 0

    Bury your head a little deeper why don't you.

    This is the reason Linux trails Windows in so many areas. YOU personally are part of the reason.

    Look forward, adapt, learn every day... or die a deserved death.

  49. One way, one think, one world. by Anonymous Coward · · Score: 0

    "The lack of starndardized libraries. KParts, Bonbobo, XParts, DCOP, XUL, OpenOffice are all competing technologies. "(1)

    I'm happy to report that with Microsoft's domination of the marketplace. There is no other competing technologies available. Next up on the agenda, Apple space.

    **Insert obligatory "I welcome our 'old' overlord masters."

    (1) Some, but not all. You need a new list.

  50. where are the modders? by 514x0r · · Score: 1

    shouldn't this entire story have been considered flamebait? if you don't agree, read *any* post.

    --

    !(^((ri)|(mp))aa$)
    1. Re:where are the modders? by Anonymous Coward · · Score: 0

      Flamebait? I see it as prompting discussion. In any case it's a book review, and most of them are shit(*). There's nothing more boring than reading what someone else writes about text you haven't read but might read one day. Now we get the best of both worlds - MS-bashing book reviews...

      (*) I actually read this one and it wasn't that shit.

  51. Re:Sigh. Do we really need this? by heironymouscoward · · Score: 3, Insightful

    I don't really understand your comment.

    Look: my company designs transactional web processing applications.

    In 1996 we built a portable transaction monitor that is used today in several very large web applications that run on Linux. The entire TP monitor is only several thousand lines of C, the applications are extremely simple, and it all works beautifully.

    In 1998 we were asked to make something very similar, but using MTS and COM+. The animal works, but it is incredibly complex, slow, unstable, and frankly impossible to control totally. When we approach the limits of the system in any sense, it collapses, and we cannot do anything to discover why.

    It's not about Windows vs. Linux, this is a stupid misdirection on your part. COM is not simple, it is a mass of layers which can be simplified with the appropriate packaging (as can any technology), but which remains complex, slow, and unreliable at the core.

    Now explain once again why I personally am part of the reason for what exactly? Or HIBT?

    --
    Ceci n'est pas une signature
  52. Your point? by g_bit · · Score: 1

    Woah, you're working for some bass-ackwards companies and we're all supposed to give a shit? Good one, Troll.

  53. Re:Did I miss a memo or something? by borgboy · · Score: 1

    Somewhere.

    --
    meh.
  54. /.s been hacked. by 514x0r · · Score: 3, Funny

    first there's an article touting the benefits of COM+--i disagree, but it's your opinion--then, when i go to read it, there's a windows server 2003 ad at the top of the screen

    --

    !(^((ri)|(mp))aa$)
  55. Re:Godwins Law hereby INVOKED! by kalidasa · · Score: 1

    Cannot self-invoke Godwin's Law. RTFL.

  56. Technology isn't the hard part-Money's no "object" by Anonymous Coward · · Score: 0

    "Understanding the ins and outs of J2EE is not the hard part of enterprise development. Understanding things like async messaging, transactions, and multithreaded logic are what makes enterprise development difficult. Switching to .NET because you don't 'get' J2EE will not magically make you understand these complex ideas."

    So a couple questions then:
    1-In this day and age of mobility, is it wise for a programmer to get into "enterprise programming"?
    2-Is it as complicated as it appears to get into "enterprise programming"?
    3-What is the recommended path for getting into "enterprise programming"?
    4-What tools are needed (hardware and software) to get into "enterprise programming"? Or is the barriers anything like getting into Mainframes? e.g. Availability, economic.
    5-What good references are there?
    6-How much of a role does OSS play?
    7-How much wood could a woodchuck, chuck, if a woodchuck could chuck wood?

  57. Re:Why I love Microsoft by Anonymous Coward · · Score: 0

    Troll.

    Everyone loves Microsoft products? I've heard a lot of people swearing at their (often blue) Microsoft screens. I know a lot of office workers who have never used a non- microsoft OS who find Windows frustrating and mysterious to work with.
    I don't think most of these people would do any better with a unix system, but to say 'everyone loves Microsoft products' is definitely bull.

    Years of experience? Do you know how long Unix has been around in its various forms? This is the real experience Linux draws upon.

    I think most people doubt that Linux would be 'brought down' by the SCO case. Even if they by some feat of bribery (or stupidity on the part of the US legal system) won their case, I don't think the rest of the world would go along. And there is a rest of the world.

    I know, I know, don't feed the trolls, but sometimes ya just gotta.

  58. Bass Ackwards?? by big-giant-head · · Score: 1

    No these were all Fortune 500 companies actually making money AND profits.....

    The smallest had a gross revenue of 3 Billion ( thats of course gross, not profit).

    --

    So Long and Thanks for all the Fish.
  59. Did you miss Objective C? by iamacat · · Score: 1

    If you program for a Mac, how can you "miss" dynamic typing, events, serialization, RPC and more built in directly into C or C++ rather than a separate hack that requires bulky, unreadable code?

    Think of it, you can also build GNU ObjC for Linux, Cygwin/MinGW or (with some heroic efforts, no doubt) prc-tools for Palm. Why borrow the concepts if you can have a better-designed real thing across the board?

  60. The problem by fedor · · Score: 1

    Books like the one described in this posting are just another attempt to let people think that networking is not an application. The whole problem with stuff like, J2EE, Corba and .NET is the fact that frameworks/platforms/or-whatever-you-call-it try to masquerade existing functionality and bring it to a higher level; in this case an Object Oriented approach. Object Orientation is invented to support more 'real-life' thinking, while designing and writing software. One can say that an Object Oriented program is more like reality. Al the frameworks mentioned above try to encapsulate the 'distributedness' of software and offer an Object Oriented shell around the real communication (which is still TCP ;)). This means that the fact that software has something to do with networking is irrelevant while designing software with this stuff. On the other hand: the fact that software is distributed has large impact on the design. There is no single point of communication (a socket?) anymore, but the communication is done by the framework. In my opinion datacommunication needs to be implemented as part of an application instead of an aspect.

    --
    :wq!
  61. Re:Sigh. Do we really need this? by Anonymous Coward · · Score: 0

    .NET roxers. I'm using it right now. It's elite, trust me. And I'm a GNU hippie who hates Microsoft. So it must be *THAT* good.

  62. Required Pro-Microsoft Article Format by barryfandango · · Score: 0, Flamebait

    I don't completely hate microsoft.

    I'm really really sory! I am ashamed to admit this even to myself! Please don't hate me!

    Here is an article about one of their products. I think this product has merit, and would like to discuss my thoughts on the matter.

    Please forgive me! I'm a bad person! I don't deserve nice things! I am filled with shame! Of course there are many superior open source alternatives!

    --
    In all matters of opinion, our adversaries are insane. -Oscar Wilde
    1. Re:Required Pro-Microsoft Article Format by mrlpz · · Score: 1

      DUUDE !! You have GOT to switch to DE-CAF....!

    2. Re:Required Pro-Microsoft Article Format by trouser · · Score: 1

      bad Dobby, bad Dobby.

      --
      Now wash your hands.
  63. Re:.NET is crap by Electrum · · Score: 1

    I didn't mod you but it probably has something to do with saying that Cold Fusion is as good as a Java- JSP/Servlet for most things

    CF is not as robust, not as scalable, you are tied to one vendor for the life of the project. So even when dealing with lightweight projects you're still saddled with CF crap...


    The latest versions of ColdFusion are Java. ColdFusion is compiled into Java Servlets before it is run, so it should be just as fast and scalable as anything else written in Java.

  64. Re:Sigh. Do we really need this? by fedor · · Score: 1

    You are right. I've seen the same at companies I worked for. New 'technology' is injected into an organization by the speed of light and more and more projects are failing. I've seen over 10 projects where things were just broken because of bloated 'technology'....I think you recognize this sentence: 'We have some performance problems...can you fix them?'. In my case it was EJB....over 2 years or so, it will be .NET triggering need for help like this ;)

    --
    :wq!
  65. Re:.NET is crap by Anonymous Coward · · Score: 0

    > so it should be just as fast and scalable as
    > anything else written in Java.

    Yikes!

  66. Re:Sigh. Do we really need this? by Anonymous Coward · · Score: 0

    but the book review is about .NET which you claimed is "An irrelevant review about an irrelevant book about an irrelevant technology."

    What are you blathering on about COM for? Yeah COM sucks.. Get over it. .NET is not COM

  67. Re:Sigh. Do we really need this? by heironymouscoward · · Score: 1

    Ah, of course .NET is internally _totally_ different from COM, has no similarities at all, and my comments about the headaches of COM simply don't apply to .NET.

    Thank you for that clarification. I stupidly assumed that .NET was simply one more layer around the old COM code, thus actually adding more to the problem than it took away. Silly, silly me!

    --
    Ceci n'est pas une signature
  68. Re:.NET is crap by 110010001000 · · Score: 1

    I do. Java is simply a language - nothing else. JVM is a virtual machine. JINI is a technology that uses Java as its base language and runs on a JVM. .NET is an umbrella term that covers many different tech from M$. .NET can be utilized from many different languages (C#, C++, C, VB, whatever)

  69. The open source world is behind here by Animats · · Score: 2, Insightful
    One of the big problems in the Open Source world is that methods for program to program communication haven't really kept up.

    In the beginning, UNIX was ahead. It had multiple processes, pipes, and signals. This looked like reasonable interprogram communication back in the late 1970s, but it's too low-level; trying to do anything that way is painful.

    The problem is that what you want is a subroutine call, but what the OS usually gives you is an I/O operation. Some OSs do have good interprocess message passing as standard - QNX, Mach, L4/Hurd, and AmigaOS have it. The others need some kind of middleware to build message passing on top of I/O operations.

    In the Microsoft world, that middleware is always there, and you can assume its presence. In the Unix/Linux world, you can't. That's why few open source programs are built that way.

    Worse, the message-passing middleware for Unix and Linux carries excess baggage. CORBA for Linux is big, heavy, and available from at least five different sources in incompatible forms. The GNOME people finally had to implement their own CORBA, but it's still at the beta level. GNOME wants it mostly as an internal interface for GNOME components, so they're not too concerned with external compatibility.

    OpenOffice uses an incompatible system called UNO. There's an effort to build a CORBA-UNO translating gateway, but the systems have conceptual differences and don't play well together. And, of course, all this translation drives overhead up.

    Related to this problem is inadequate language support for inter-object communication. Newer languages like Java and C# have some built-in support for serialization, marshalling, and introspection, but C and C++ do not. So the operation that really has to be efficient - turning a local object into a string of bytes - tends to be slow.

    Because this is more of a standards problem than a technology problem, it's tough to fix in the open source environment.

    1. Re:The open source world is behind here by natbro · · Score: 1

      yep, lack of tool-friendly reuse options on *nix beyond libs or recompiling the source (although that is quite a great thing to have for experienced developers!) -- this was my feedback to vinodv on his original halloween document, though he chose to include only references to tools and developer skills. the number of OSS projects that have done language/lib bindings for perl, tcl, ruby, etc shows the usefulness of defining a language-neutral binding mechanism, especially one that supports late binding / scripting languages, but even c++ bindings are found out there. it has always surprised me that the community has not even one common com-like thing, one with none of the windows-registry baggage, built along *nix principles -- files, pipes, file-oriented security, etc. i always expected 10 or 12 to emerge, then duke it out and consolidate into something common with just enough basic language support in gcc/etc to make it easy to use, something that people could use to add scripting, dynamic binding, etc at a lower cost to any project. a standard made by the community, for the community. something light enough that it's as easy to consider adding to your project as libc. i can tell you, as nice a job as i think the mono guys are doing, that's not lightweight enough.

      --
      n@
    2. Re:The open source world is behind here by nixer · · Score: 2, Insightful
      This is right on the nail. One of the many reasons why desktop apps outside of Microsoft suck is the lack of common component architecture to allow them to interoperate. Even something as basic as getting consistent clipboard operation is extremely difficult.

      If you know your history, OLE (the previous name for COM) was critical in allows applications to plug together seamlessly.

      The interesting thing is that there still isn't a standard for this outside of Microsoft. CORBA just doesn't cut it for the inter-ORB compatibility reasons documented elsewhere.

      Microsoft will continue to rule the desktop - and because C# is a "ripped-off" (or perhaps evolved/better) Java the middle tier that J2EE currently owns may change. I currently develop Java/J2EE - and it sucks for all the same reasons CORBA sucks - i.e. compatibility across versions, difficult to use etc. etc. Microsoft have had transacted distributed objects sorted for some time - but they were horrible to use from C++ in DCOM. The implementation of .NET with MTS and C# is compelling - all those issues disappear, you get the nice M$ tools and the neat C# programming language.

      Sun - please don't blow it. Bring the J2EE vendors together and think about a better client side strategy that integrates the component object models.

    3. Re:The open source world is behind here by davegust · · Score: 1

      You are exactly right. In addition, most people underestimate the role that Visual Basic played in the adoption of COM. It was the glue. COM programming absolutety stinks with C/C++, but VB made COM trivial.

  70. Re:Why I love Microsoft by Mooncaller · · Score: 1

    Sound like you need to expand your circle of friends!

  71. Re:You talk so tuff. by Dr.+Bent · · Score: 1

    Where's your proof?

    Right here.

  72. Re:.NET is crap by orionware · · Score: 0

    Yup. In the newest version cf is compiled directly into servlets.

    The JSP/Java crowd thinks the only way to go is Java. Nothing is faster! Nothing is more scalable. Buzzword bingo.. I used to be part of that JSP crowd..

    The right tool for the job. That's the key. I wish I had discovered CF earlier than I did.

    Since most sites are dynamic and database driven, here's an example.

    JSP
    -------

    <%@ page import="java.sql.*, javax.sql.DataSource, javax.naming.InitialContext" %>

    <h1>DATABASE ENTRIES</h1>

    <%
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TestDS");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();

    ResultSet rs = stmt.executeQuery("SELECT name FROM staff");

    while ( rs.next() ) {
    out.println( rs.getString("name") + "<br>");
    }

    conn.close();
    %>

    COLDFUSION
    -- --------

    <html>
    <h1>DATABASE ENTRIES</h1>

    <cfquery name="getstaff" datasource="staff">
    SELECT name FROM staff
    </cfquery>

    <cfoutput query="getstaff">
    #name#<br>
    </cfoutput>

    </html>

    Clearl y you can see how EASY to debug and understand the JSP code is... This is just one example. I can remember while discovering CF saying over and over. "This CAN'T be right. This would take me 10 times more code in JSP to accomplish the same thing!"

    If you have access to both environments running on the same box, do the tests... For many things JSP/Java is no faster than the latest CF and just as portable as JSP.<br><bR>

    --


    Karma means nothing to me, so suck it...
  73. Re:Why I love Microsoft by aflat362 · · Score: 1

    If everybody in my city were friends with a black guy that would mean that the average black guy had about 7,000 friends.

    --

    Conserve Oil, Recycle, Boycott Walmart

  74. how about Python by Anonymous Coward · · Score: 0
    I played around with COM in Python and found it was not too shabby. Having only used DirectX which has good interfaces and wrappers to hide alot of the COM sillyness I figured I will just stick to Python to do interprocess communication where I work with outside data (for the most part).

    How's that Python.NET working out?

  75. Re:You talk so tuff. by Anonymous Coward · · Score: 0

    You are the one making the assertion that they are the defacto standard, the burden of proof is on you. Douche-bag.

  76. Re:Sigh. Do we really need this? by M.C.+Hampster · · Score: 2, Insightful

    Thank you for that clarification. I stupidly assumed that .NET was simply one more layer around the old COM code, thus actually adding more to the problem than it took away. Silly, silly me!

    I'm going to guess you were being sarcastic. For your information, .NET is not "simply one more layer" around the old COM code. It is internally, completely and totally different and unrelated to COM. It is a complete departure from it. Period. If you don't understand that, you don't know enough about COM or .NET to be speaking on the subject.

    --
    Forget the whales - save the babies.
  77. Re:You talk so tuff. by optikSmoke · · Score: 1

    I hate to bite, but here goes....

    Lets have a little look at the latest monthly web server survey from netcraft. Now, I will quote:

    Apache hits an all time high in percentage share this month with 63.98% of sites found running an Apache server.
    [...]
    Following on from last month, Microsoft continued to lose sites as Network Solutions migrated the rest of their domain parking system back to Solaris from a Windows based system hosted at Interland. This is primarily responsible for Microsoft's 2.2% fall, with a net loss of 810,597 sites.

    Microsoft's share is 23.75% according to the survey. Face it, the majority of sites out there use Apache, almost certainly running on some form of UNIX. Even if some of the sites are of the odd variety that use it on Windows, you must realize they aren't using an MS standard.

    Further, you can probably extrapolate the type of software running on companies' internal networks from their external networks. Quite frankly, the enterprise world is not Microsoft, and it never has been.

  78. Re:Sigh. Do we really need this? by 110010001000 · · Score: 1

    I am glad this was clarified for you. It is a common misconception by the clueless that .NET is simply a COM wrapper, which it is not.

  79. is "L" for link? by Anonymous Coward · · Score: 0

    if so then please include one

    1. Re:is "L" for link? by kalidasa · · Score: 1

      Nope. L is for Law. But here're the links.

      Jargon File Listing for Godwin's Law, and How to post about Nazis and get away with it - the Godwin's Law FAQ (quoted below).

      6. "Hitler!" Ha! The thread is over!

      Nope, doesn't work that way. Not only is it wrong to say that a thread is over when Godwin's Law is invoked anyway (Usenet threads virtually always outlive their usefulness), but long ago a corollary to the Law was proposed and accepted by Taki "Quirk" Kogama (quirk@swcp.com):

      Quirk's Exception: Intentional invocation of this so-called "Nazi Clause" is ineffectual.

      Sorry, folks. Nice try, though.

  80. Re:.NET is crap by Anonymous Coward · · Score: 0

    Then you don't understand JAVA.

    Like .NET, JAVA is a language and a framework ... which is why people comment so often about .NET's similarity to it. .NET has a couple of advantages over JAVA - precompilers and JIT via the CLR, and it's essentially a lot cleaner code/class wise than J2EE for example ... but it's not cross platform, at this stage it's not as scalable, and it misses out on some critical classes that are useful in an enterprise context.

  81. Re:Godwins Law hereby INVOKED! by 4of12 · · Score: 1

    While at times Slashdot can be rather hostile towards

    No, no, no!

    Slashdot is Fair And Balanced.

    --
    "Provided by the management for your protection."
  82. Re:You talk so tuff. by optikSmoke · · Score: 1

    Oops... I hate to make this a double-reply but I just had to :)

    Wanna know how I know? There are WAY more small to medium sized businesses than there are large corporations. They don't even look at Open Sores shit.

    Hmmm.... they seem to be included in the netcraft.com survey, and yet Apache still handily beats MS. Oh, I see, right... quantitative information is much more useful than qualitative information.

    Dell, the largest computer supplier in the world sells more Windows servers every day than they do OS-less or Linux servers.

    The largest consumer-oriented supplier. Do you think a company is going to buy big iron from Dell? Does Dell even sell it? No. The world is not Dell and Microsoft, they are barely even in the markets we are talking about.

  83. Windows 95 rocks by Anonymous Coward · · Score: 0

    when it's not crashing

  84. Re:Did I miss a memo or something? by IamTheRealMike · · Score: 2, Insightful
    Like the reviews author says, I find COM concepts very easy to grasp and quite interesting. Compared to CORBA, it is indeed very easy to use.

    Eeek! Maybe actually trying to understand Wines implementation of DCOM has fried my mind, but COM/DCOM cannot possibly ever be called conceptually easy. Oh sure, the IUnknown/ClassFactory stuff, while a pain in the ass, is easy enough to understand.

    Now start trying to implement late binding on your object so it's usable from JavaScript. You do that by implementing IDispatch right? Wrong. IDispatch is such a horribly complex interface that MSDN recommends you don't try and implement it, because you'll get it wrong - and they're right, you will. Instead, you should use the provided typelib invokers. Now you have to describe your object using a typelib. There are two different typelib file formats, and they can be standalone or embedded in DLLs.

    Of course, IDispatch binds on an interface, but you have to be careful - due to obscure implementation details, you can't have more than one of them. Therefore, you have to choose a primary interface to be your dispinterface.

    Careful! You initialized OLE Automation (a part of DCOM) but forgot to process the message loop, didn't you? Now everything is locking up, right? You just have to know that inter-thread RPC in DCOM takes place via window messages, so bash that loop boy. Just be aware that the DCOM runtime runs its own message loop for re-entrancy reasons, so you could find your WndProc running while another part of the code is supposedly blocking on a remote interface call.

    Confused yet?

  85. either they lied by Anonymous Coward · · Score: 0

    it's called "FUD"

  86. Re:.NET is crap by Anonymous Coward · · Score: 0

    This is the worst jsp code you could possibly write. Why not use one of the free taglibs.

  87. Microsoft IP? by Max+Threshold · · Score: 2, Insightful

    If you're an Open Source developer who's the least bit suspicious that Microsoft has anything to do with the latest IP attacks against Linux, I can't imagine why you would touch .NET with a ten foot pole. You're just begging to have all your hard work stolen in court.

  88. Ok... by big-giant-head · · Score: 1

    Attack my grammer, what a tool....

    For the mentally challanged I'll Restate:

    Yes my experince has been *nix (solaris, Linux, HP UX ....) BUT the point is STILL, that Windows IS NOT a defacto standard, especally when you are talking Industrial Strength Infrastructure. In fact in that environment variants of Unix are just as prevelant as variants windows (2000, XP, NT ......). Probably more so.

    Also Given the size of these corporate networks, they dwarf smaller networks. Granted smaller networks tend to be MS. Also the size of the machines as well, Yes a Sun box with 150 CPUs is one server, but how many dual xeons would need to replace it? (75???)

    Thats all I was saying.

    --

    So Long and Thanks for all the Fish.
  89. Please, Help me. by Bill,+Shooter+of+Bul · · Score: 1

    Why is that insightful? Is it because of the naive, misinformed and derogitoRy description of dotnet? or because he picks nits over the various java technologies? Maybe its because he disagree's with someone else's opinion? I don't know!

    --
    Well.. maybe. Or Maybe not. But Definitely not sort of.
  90. Back in the day. . . by kfg · · Score: 2, Insightful

    I came to computers as a physicist. They filled rooms and were tended to by swarms of real scientists and engineers, not "technicians".

    They were built by scientists and engineers for scientists and engineers.

    The languages developed to program them, and the logical grammer developed within these languages, were those in common use by scientists and engineers, which is to say mathmatical syntax, grammer and logic. That's why they're called computers and not emailers or blogers.

    This lead to the rise of "functional" programing through the natural course of things as computers became advanced enough to ignore the physical architecture when programing them. The Function is the natural "object" of the mathmatical language. You can do anything on a computer with the purely functional approach and, what may be hard for the modern trained mind to grasp, the mathmatically trained mind can often do so faster and easier this way than with any of the more recent "developments" in programing.

    This is not to say that other ways of looking at things doesn't have its, ummm, functionality. The Object Oriented approach was developed by engineers ( who didn't have very mathmatical minds and didn't particularly understand computers or programing) to conceptualize and solve certain engineering problems dealing with real objects. Beams, pistons and the like. It made a lot of sense to model these objects as objects. What may not be obvious the Object Oriented programer is that these objects are still mathmatical models, in fact just a class (sorry) of function whose variables are handled in a predefined sort of way making the function into a kind of virtual Mechano set.

    The way these varibles are handled from and programer point of view ( once the object itself is written) constitutes a user interface to the object.

    What Microsoft is doing at the logical and matmatical scale isn't really any different, they're just using a slightly different terminolgy and logic to accomplish largely the same end, but one they are able to "brand" and control, not to mention leverage for their own dominence.

    The main difference is that their interface is more ridigly controled by them, being sold by an "ease of use" argument of many small componants which are really just objects with a restricted interface, replacing understanding of what you are doing mathmatically and logically with a kind of tinkertoy set of objects. Just plug 'em together and watch 'em work.

    I don't wish to ruffle any feathers, but I'm not particularly afraid of doing so.

    This is an approach that may be valid for the modern crop of "programer", but if you wish to honestly be considered a computer engineer, let alone a computer "scientist", it is a largely unworkable solution, just as a person adept at using tinkertoys and mechano sets isn't qualfied to be called an engineer.

    This isn't to belittle tinkertoys and mechano sets either. They have their valid place and uses.

    Personally I've been "Object Oriented" programing since before there was any such thing. It's an obvious format for modeling real objects in a compact, understandable, easily modified and reusable way, although I didn't call my "beam object" a beam object. I called it my beam function, because that's what it is, even though it may well contain subfuntions while at the same time being a subfunction of the "building function."

    I've always tended to think of my programing models in terms of ICs. Note that there are two basic kinds of ICs. Those that are hard wired to perform a single task, such as the venerable 555 chip, and those that are designed with a changable internal logic (you're using at least one of these right now to read this post) such as the Z80.

    Both of these kinds of ICs have their valid uses. The programable chip hasn't replaced the hard wired chip, it has augmented the toolset available. Both kinds of mathmatical logic these chips represent are valuable to the programer in t

    1. Re:Back in the day. . . by kfg · · Score: 1

      Ah bugger. I didn't preview and missed closing a tag properly. Why doesn't someone invent an idiot proof markup language. There isn't any reason in this day and age we should have to deal with this low level shit.

      I didn't buy a computer so I'd have to think.

      KFG

    2. Re:Back in the day. . . by gUmbi · · Score: 1

      Why is there no '+1 Blather' mod?

    3. Re:Back in the day. . . by kfg · · Score: 1

      Because we'd use it. :)

      KFG

  91. Com and easy ???? by Anonymous Coward · · Score: 1, Insightful

    Thats the first time I saw those two words connected together, com is a lousy hack on the C++ VTABLEs for plugging an interface mechanism into C++ to the worse they than did the hard work to bend this full thing over into C and you have a real mess on your hands.
    Com is by far the worst component model out there, compared to the simplicity of java beans (which avoids interfaces for reflection) the usage of interfaces in the language level and the simplicity of pure OO component models like KParts (you mentioned you haven't found anything on KDE)
    you basically can say Com is the worst of it all.

    DCom basically was a technology to take over Corba after Microsoft was sitting for years in the Corba consortium to get a grasp on the technology, it failed because as usual Microsoft tied DCOM to windows and therefore was no real competition to a cross platform solution.

  92. Re:You talk so tuff. by g_bit · · Score: 1

    Very funny. And how hard is it to change the X-Powered-By HTTP Header so you don't get attacked by the script kiddies?

  93. Also by big-giant-head · · Score: 1

    I got in a hurry, my orginal post should have stated that the applications (multiple) ver the last 4 years, not just one.

    --

    So Long and Thanks for all the Fish.
    1. Re:Also by mrlpz · · Score: 1

      Good....you got your "A" in grammar now.

  94. Re:You talk so tuff. by Anonymous Coward · · Score: 0

    I typically don't bother posting... but I hope you feel like an idiot, and rethink your attitude.

  95. Re:.NET is crap by orionware · · Score: 0

    Ok... in taglib form. For the db connection I actually like the first one better for simple query.

    <%@ taglib uri="http://jakarta.apache.org/taglibs/dbtags" prefix="sql" %>
    <sql:connection id="conn">
    <sql:url>jdbc:mysql://127.0.0.1/stafffolks</sql:ur l>
    <sql:driver>org.gjt.mm.mysql.Driver</sql:driver>
    </sql:connection>

    <sql:statement id="stmt1" conn="conn">
    <sql:query>
    select name from staff
    </sql:query>
    <%-- loop through the rows of your query --%>
    <sql:resultSet id="rset2">
    <sql:getColumn position="1"/><br>
    </sql:resultSet>
    </sql:statement>
    <sql:closeConn ection conn="conn"/>

    Actually results in more code. I prefer less code for very simple things and sometimes more readable.

    --


    Karma means nothing to me, so suck it...
  96. Re:Godwins Law hereby INVOKED! by murdocj · · Score: 3, Insightful

    You know, every once in a while someone makes a really stupid comparison between the people who were responsible for the murder of millions of human beings, and something incredibly trivial like using the "wrong" type of software. And it really pisses me off.

    Yes, I have a sense of humor. No, this isn't funny.

  97. Re:Yes! by Plac3bo · · Score: 1

    01001101011011110110010000100000011100000110000101 11001001100101011011100111010000100000011101010111 000000100001001000010000110100001010

  98. Re:You talk so tuff. by the+chao+goes+mu · · Score: 1

    Minor correction: I work for a web hosting company (mid-sized) and we have been regularly leasing/purchasing 1U units from Dell. 1U's are certainly unlikely consumer machines. Then again, we also purchase/lease machines without Windows OSes. So, I guess this goes against both your post and its argumentative parent post.

    --
    Boys from the City. Not yet caught by the Whirlwind of Progress. Feed soda pop to the thirsty pigs.
  99. DCOM easy? by iPaul · · Score: 2, Insightful
    After doing a sizeable amount of CORBA work (including writing a trader service) in graduate school I did about a year and a half of COM/DCOM programming in VC++ (5.0 and 6.0). I also did an amount of Java RMI and Java CORBA programming after the Microsoft stuff. In no sense of the word "easy" was DCOM easier than even C++ CORBA. And in no way was it easier than Java RMI or Java CORBA!

    In fact COM/DCOM always seemed to be the poor man's version of CORBA (COM can be seen as equivalent to in-process activations of CORBA servers). Writing CORBA services using emacs on an out-dated Sun box in the graduate computer lab seemed a great deal easier than the gymnastics we had to go through with DCOM. (Including setting up our own development PDC, much to the chagrin of the network admins).

    --
    Leave the gun, take the cannoli -- Clemenza, The Godfather
  100. Re:Sigh. Do we really need this? by plierhead · · Score: 2, Interesting
    In 1996 we built a portable transaction monitor that is used today in several very large web applications that run on Linux. The entire TP monitor is only several thousand lines of C, the applications are extremely simple, and it all works beautifully.

    In 1998 we were asked to make something very similar, but using MTS and COM+. The animal works, but it is incredibly complex, slow, unstable, and frankly impossible to control totally. When we approach the limits of the system in any sense, it collapses, and we cannot do anything to discover why.

    I know jack shit about .NET and would never consider using it, but I have seen exactly the same experience with J2EE. Relatively simple applications, which solely produce web pages from the data in a single underlying RDBMS, and could be easily (and appropriately) built just using servlets, are turned into stinking, creaking and groaning and sluggish monsters by introducing EJB servers in the middle.

    Anything that introduces more threads and more machines is going to have a wicked effect on your performance and productivity. Its not unique to .NET.

    That said, if there has to be a big crusty layer in the middle, I'd rather it was built by someone else than the Borg - in the scale of their commercial interests, your application's scalability and reliability come very low indeed.

    --

    [x] auto-moderate all posts by this user as insightful

  101. Re:Yes! by FuzzyBad-Mofo · · Score: 1

    01110100011010000110100101110011001000000110100101 11001100100000011000110110111101101111011011000010 000100100001

  102. Re:You talk so tuff. by rutledjw · · Score: 1
    Typically I don't feed trolls, but I'm bored and you're here:

    So prove it douche-bag. ... you just can't handle it.

    A little militant, aren't we? Ranting and making personal attacks don't make a point.

    Wanna know how I know? There are WAY more small to medium sized businesses than there are large corporations. They don't even look at Open Sores shit.

    And this means - nothing. You have no way to prove that small and medium customers don't look at or use OSS. I know multiple small and medium sized companies (500-1500) that use Java / J2EE for server-side work, soemtimes running WebSphere and a couple are using Tomcat. That's OSS in case you didn't know.

    Dell, the largest computer supplier in the world sells more Windows servers every day than they do OS-less or Linux servers.

    Until recently an OS-less computer cost the same as one with Windows, more if you had Linux pre-installed. Now that isn't the case, I think we'll see some more realistic results. Further, as someone who actually works with vendors (for some reason I don't think your company, if you have a job, likes you "talking" to people), I'm hearing that they're seeing more and more Linux pre-installs or no-OS even more often. This includes mainly Dell and IBM for us. Heck, one of HPs big offerings is their Linux/Oracle RAC (and more recently including Itanium2) offering! That was 6 months ago when I saw that demo (minus the Itanium 2).

    What else do you need? IBM isn't jumping on .NET, they're pushing Java/J2EE and OSS. BEA is still doing very well (J2EE). How about the popularity of Tomcat? JBoss? Oracle also has their 9i App Server - J2EE.

    --

    Computer Science is Applied Philosophy
  103. Re:Godwins Law hereby INVOKED! by FrankNFurter · · Score: 1

    Posts like this one ask for a new moderation option:

    -1, Anti-MS-Zealot (who's not afraid to make himself look incredibly stupid by using moronic comparisons)

    --
    "Slashdot - the one place on the internet where guys brag about how small it is." - that IT girl
  104. Re:You talk so tuff. by rutledjw · · Score: 1
    Didn't work for MS.

    Who's their hosting provider again? What's that company? What was that story?

    Oh yeah, I remember now

    --

    Computer Science is Applied Philosophy
  105. Please explain by I+KNOW+MARTIAL+ARTS · · Score: 0

    Please explain the progress made in .NET, and how it is a step up from VB. Thanks.

  106. Re:You talk so tuff. by Anonymous Coward · · Score: 0

    Uh, Dell is #1 in servers, includng #1 in 2-way and 4-way boxes. Hardly desktop stuff.

  107. Anoymous Coward by Anonymous Coward · · Score: 0

    Troll article maybe?

  108. Re:Sigh. Do we really need this? by Anonymous Coward · · Score: 0
    A small voice says: stick to the point, people, or the point will stick it to you.


    No, you've got it all wrong. You're clearly a complete newbie to /. You're supposed to say:

    In Soviet Russia, you don't stick to the point, the point sticks to you!

    This is supposed to be funny for some reason.
  109. Re:.NET is crap by tesmako · · Score: 1

    Problem is that there is no distinction between Java the language and what would be called the Java standards libraries (if it weren't mixed up in the language). The spec also defines things like object formats and linking systems and so on and so forth. Thanks to the well specified system the Java runtime and platform can be used from a quite huge number of languages of course (I agree that it isnt as well tuned for this as the .NET runtime, but it is mostly a design question rather than an overall design issue).

  110. Re:You talk so tuff. by stephanruby · · Score: 1
    They might be the de-facto standard for databases. There are lots of Access users out there.

    They could be the de-facto standard for server-side programming, web servers, and application servers, but they're not. The only reason they're not is because they're not giving away those products. A Personal Web Server is fine and dandy, but it does you no good if you can't serve pages to other people. That's why, when I started server-side programming, I immediately installed Apache and I used an Access data source with it. Apache works flawlessly, it's easy to use, and it's free. What more can you really ask for?

  111. .Net sucks with M$ evil hands by Anonymous Coward · · Score: 0

    .Net the evil hands of M$ is buggy like VB.
    You will try to fix it forever but the day will never come to an end. Bugs will come like worms from your .Net code and M$ will blame you for it just like they did with VB

  112. Re:You talk so tuff. by optikSmoke · · Score: 1

    Lets assume for a second that you are correct, MS has a majority and thousands (millions?) of servers are using forged HTTP headers. Since the current difference in market percent is 40%, approximately 20% of the servers on the internet would have to be using forged headers. Indeed, for every non-forged MS server there would basically be another forged MS server.

    How about instead, let's apply Occam's razor, shall we?

  113. DCOM and CORBA Side by Side by NortWind · · Score: 1

    Please check out this white paper, DCOM and CORBA Side by Side, Step by Step, and Layer by Layer and see if you can pick out which is the simpler, faster, and more reliable technology. Thanks.

    1. Re:DCOM and CORBA Side by Side by rifftide · · Score: 1

      I bookmarked that, thanks. Wish I had seen that a few years ago.

  114. Re:You talk so tuff. by optikSmoke · · Score: 1

    Errmmm.... ya. My bad :). In any case, the main point is Microsoft isn't the server marketplace powerhouse some people would like to have you believe :).

  115. You guys are so rpredicatble by Anonymous Coward · · Score: 0

    Gee lets all badmouth .net again. slashdor is starting to look like a very predictable bunch to me.

  116. Re:Godwins Law hereby INVOKED! by ncc74656 · · Score: 1
    Posts like this one ask for a new moderation option:

    -1, Anti-MS-Zealot

    If we had that, some Slashbots would be joining the trolls and crapflooders posting at -1 in no time at all. It'd greatly improve the S/N around here...too bad it doesn't have a snowball's chance in hell of getting implemented.

    --
    20 January 2017: the End of an Error.
  117. Re:You talk so tuff. by Keeper · · Score: 1

    Reasons why using the netcraft survey to determine "server marketshare" doesn't work:
    * there are more than just webservers out there
    * it doesn't count any servers sitting behind the "site"
    * unknown if they filter by domain or ip (if by domain, a single "server" may be counted multiple times)
    * not all servers are available via the web
    * it makes no distinction between a "real" server and the P90 sitting next to my desk in my apartment
    * you can NOT extrapolate what is running in a companies internal network based on what they run their webserver off of
    * survey only counts sites netcraft surveys (they surveyed 42m websites ... there are BILLIONS of servers out there)

    Nobody can make any assumptions about what kind of marketshare MS does or does not have, especially from a netcraft survey. I don't think anybody can say they're hurting in the enterprise area though (points finger at billion dollar wads of cash).

  118. Necessary Understanding by roundand · · Score: 1

    I have this book, and have been using C# professionally for about a year. "Programming .Net Components" really made a difference to how I understand .Net, and allowed me to see beyond the familiar curly brackets to why and how components can best be developed and run together.

    In my opinion at least one developer on any enterprise-level .Net project should have this book (or at least its level of understanding) in order to get more of those key design decisions right first time.

  119. OLE in .NET world? by zetzet · · Score: 1

    I don't like Microsoft, neither the company nor their technology, but i think Microsoft is the only company that got UI components working.

    I think COM/DCOM is crap, but what's about OLE, the "visual" side of embedding applications and documents?

    Is there an equivalent for OLE in the .NET world?

  120. dotNet HTTP posts are the longests EVER :o) by Anonymous Coward · · Score: 0

    By the way who care of dotNet.

    I mean, if i need some speedy portable stuff i got Perl and PHP !

    If i need some scaleable and portable stuff (any enterprise business behind) i got Java. Already running on most platform, supported, opensourced solutions (yes !).

    About the dotNet since years i heard "yeah we gonna build a tux port of it !" this is bullsh*t ! Of course building a labs kidding that is able to run the core spec is not realy a problem but be able to bring a true real cross-platform compatibility without any support from MS is stupid. MS has 100% of control of all the dotNet spec, do you think they will push any non MS OS as a viable alternative ?

    Are you kidding ?

    IMHO those people are loosing times. Better advocate to FSF so that RMS and others C guru puts time and FSF bucks to the Classpath project so that they briought us a real up to date GPLed version of Java ! Since two years there are no more legal reason why not having this. cf. Apache that is already running lots of Java related opensourced projects and has just launched a full J2EE server new project.

    Anyway... vive Tux !

  121. THis guy must like pain by Cackmobile · · Score: 1

    Seriously big up to this guy endorsing microsoft on /. that takes balls.

    'And it burned burned burned, the ring of fire, the ring of fire' - Johnny Cash

    --
    -- Karma Karma Karma Karma, Karma Chameleon - Boy George
  122. WARNING: Link Exploits IE Security Hole by Anonymous Coward · · Score: 0

    The link given has a hidden iframe at the bottom that links to an ASP that links to a perl file and uses an IE security hole to execute a HTA that writes an UPX-packed executable (called malwareHHMM.exe, where HHMM is the current time of day) to the hard disk and runs it. My analysis capabilities end there.

    (the iframe at the bottom is indented using 32 tabs, so either turn on word-wrap or scroll right on the last line, if you want to see it.)

  123. Re:01000110 01110101 01101110 01101110 01111001 00 by Reggyt · · Score: 1

    01010100011010000110010101110010011001010010000001 10000101110010011001010010000000110001001100000010 00000111000001100101011011110111000001101100011001 01001000000111011101101000011011110010000001110101 01101110011001000110010101110010011100110111010001 10000101101110011001000010000001100010011010010110 11100110000101110010011110010010111000100000001000 00010101000110100001101111011100110110010100100000 01110100011010000110000101110100001000000110010001 10111100101100001000000110000101101110011001000010 00000111010001101000011011110111001101100101001000 00011101110110100001101111001000000110010001101111 011011100111010000101110

    --
    "Common sense is nothing more than a deposit of prejudices laid down in the mind before you reach 18" Einstein
  124. Re:.NET is crap by Saarus · · Score: 1

    Primitives: Java is a language. Java is a framework. Compare the following compound statements. Java is a language or Java is a framework. Java is a language or Java is not a framework. Java is not a language or Java is a framework. Java is not a language or Java is a framework. Java is not a language or Java is not a framework. I was going somewhere with this, but now I've lost it. It appears very cut and dried to me, though. The only one that is not logically true is the last one. Something to think about while you uselessly debate such an issue. Whatever works is fine. Use the tools that your Master provides you to get the job done. If you like using Open Source tools to do what you do, then seek work which uses that. If you want to learn .NET, then learn it. If you want to learn Java, learn it. -->-- "But do not program in COBOL if it can be avoided."

    --
    "That man lives best who's fain to live half mad, half sane." -Flemish Poet Jan Van Stijevoort, 1524.
  125. Re:Why I love Microsoft by Mooncaller · · Score: 1

    Well, to take my comment literaly, everyone in your town would only need to have a friend who has a friend that is black. That would mean the average black guy would only have to have around 500 friends. So there :P