Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming IT Technology

Are You Using OMG's Model-Driven Architecture? 22

Mazzaroth queries: "Over the last few years, system architects saw many middleware and language eras. RPC, CORBA, .Net, EJB/J2EE (with WebLogic, WebSphere, and the zillion of other apps servers), XML/SOAP, Java, C++, C#, to name a few. More recently, an effort has been initiated to isolate application's architecture from the middleware particularities: Model-Driven Architecture (MDA). The idea is pretty good. This will eventually allow me to model the application, deploy it on .NET, then change my mind and go for WebLogic instead for instance. Even if the number of software engineering tools supporting MDA is quite limited for now, I would like to get feedback from people using an MDA approach to develop their application. What are the drawbacks, difficulties and limitations of MDA? What would be required in UML to better support MDA? What percentage of code can actually be generated? Can you share your experience?"
This discussion has been archived. No new comments can be posted.

Are You Using OMG's Model-Driven Architecture?

Comments Filter:
  • Oh, sure. Great idea. What happens when other companies jump on the bandwagon, and write their own layer that does this. Then you'll need another layer to make you independant of those. we can go on like this for ever. There will never be a magic bullet for this problem. You have to make a decision, and live with the fact that some day it will be obsolete.

  • A very good proyect..., but is very difficult to bring into production.

    Even in java, is hard to take an j2ee application developed in websphere and relocate in bea weblogic...
  • by ClosedSource ( 238333 ) on Wednesday November 13, 2002 @02:29PM (#4662106)
    All these cross-platform, cross-language, cross-vendor schemes are the perpetual motion machines of the software world.
  • almost none (Score:3, Interesting)

    by random735 ( 102808 ) on Wednesday November 13, 2002 @02:32PM (#4662133)
    I'm working on a large project at a big blue colored company in which we use UML models coupled with a code generator to target EJB deployment. Let's just say getting the models and code generator correct for ONE distributed architecture is bad enough. I don't want to think about trying to get it working for multiple deployment platforms.

    And let's face it, the idea of writing your EJB and then deploying it on any EJBServer using any DB backend is a pipedream as well. So consider the problems with that, then imagine multiplying them by the number of different distributed architectures you want to support...forget it.

    What's the point of all this anyway? Abstraction isn't always needed... the appropriate platform, code for it, optimize for it, test on it. Don't target 5 when you only need 1.
    • And let's face it, the idea of writing your EJB and then deploying it on any EJBServer using any DB backend is a pipedream as well. So consider the problems with that, then imagine multiplying them by the number of different distributed architectures you want to support...forget it.


      Really? All you need is a nice persistance layer like Toplink. It creates and manages the abstraction you need.


      What's the point of all this anyway? Abstraction isn't always needed... the appropriate platform, code for it, optimize for it, test on it. Don't target 5 when you only need 1.

      And you use Java? I'm sure what you just said was exactly what Gosling had in mind...

      • [Really? All you need is a nice persistance layer like Toplink. It creates and manages the a
        abstraction you need]

        I checked it out, sounds like an interesting product, but for one reason or another, we're not using it. As such, we're forced to deal with creating schemas for DB2, Oracle, etc, on our own. Would Toplink work perfectly if we used it? I doubt it, though it might be an improvement. That still leaves the issue of migrating your beans between EJBServers (websphere->weblogic). Our beans didn't even migrate cleanly from Websphere4 to Websphere5, despite the supposed ejb1.1 compliance support.

        [And you use Java? I'm sure what you just said was exactly what Gosling had in mind...]

        Believe it or not, Java does not platform agnostic. Designed to be, yes. But there are many subtleties (bugs, if you prefer) in various platform implementations that mean you can't just write your application on windows and ship it out to the customer. You *have* to test all the platforms your going to support. And if it's client/server, all the *combinations* you support.

        I had the same attitude when I started here: "it's java, why are we testing on Solaris/AIX/etc? It'll work" Wrong-o.

        Let alone this MDA concept where the implementation code might be java, might be C++, might be C#.

      • "The perfect goal of "write once, run anywhere, anything runs on anything" is just goofy."

        James Gosling
      • "Nice" and "Toplink" are oxymoronic terms, in my opinion.

        Well, unless you NEVER want to migrate away from it. Its like a cancer that invades your entire code-base.

        All your code-base are belong to Toplink!



        No thanks
  • by avdi ( 66548 ) on Wednesday November 13, 2002 @04:40PM (#4663456) Homepage
    Blah blah blah failed idea blah blah unrealistic ivory tower academic fantasy blah blah cleaner in LISP yadda UNIX did this thirty years ago blah blah you should be using Python instead blah blah engineering methodologies are all crap blah blah no silver bullet blah blah C++ is for ninnies blah blah just start coding blah blah you should be using UML blah blah UML is worthless shite yadda yadda my company tried this and now I'm unemployed yackety schmackety snake oil blah blah this is the next revolution in software engineering yadda yadda that's a one-liner in Perl blah de blah there's no such thing as cross-platform blather blather the OMG ran over my dog, I wouldn't trust them mumble mumble you really should be reading the book by Hungadunga et. all babble babble duh, it's called the "Eggs Over-Easy" Pattern, stupid! burble snork why aren't you using W3C-standard XMLXSSTYXJW-XYZZY Transubstantiations? blah blah blah...

    There, that should about cover it!
  • We did this (Score:2, Interesting)

    by Myshkin5 ( 544995 )
    Well we didn't do everything MDA claims but we did abstract out our middleware. Our goal was to keep middleware from occupying so much of day to day development. By defining our middleware relationships in XML we were able to generate tons of code. In practice we abstracted EJBs but in theory it wouldn't be too difficult to generate different wrappers for SOAP or some other middleware.

    It wouldn't be hard to recreate but I am trying to open source the existing code. The company I worked for while writing it has been liquidated and the code was never listed as an asset. I think it is fair game for anyone with a copy.
  • "...da onlee bitches I hump be models..."

"I'm a mean green mother from outer space" -- Audrey II, The Little Shop of Horrors

Working...