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?"
What happens when multiple vendors write these? (Score:2)
This is really ... (Score:1)
Even in java, is hard to take an j2ee application developed in websphere and relocate in bea weblogic...
Don't bother (Score:4, Funny)
almost none (Score:3, Interesting)
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.
Re:almost none (Score:1)
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...
Re:almost none (Score:1)
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#.
Re:almost none (Score:2)
James Gosling
Re:almost none (Score:1)
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
The Only Answer You Need! (Score:5, Funny)
There, that should about cover it!
Re:The Only Answer You Need! (Score:2)
Someone needs to immediately add it to a fortune file
Re:Great Idea! (Score:2)
Wow. That is the best argument agaisnt this tool I can think of-- Imagine a world where all the software is *written* by marketing droids!
We did this (Score:2, Interesting)
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.
I am using ODB's model-centric paradigm (Score:2)