Cloud Foundry: Design and Architecture
Derek Collison discusses the goals, the design premises and patterns employed in creating the architecture of Cloud Foundry, VMware’s open source PaaS, unveiling internal architectural details.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Rob Thornton on Feb 05, 2007
Scott Violet has written an update on the status of JSR 295 (Beans Binding). While externally, there has been little happening since last summer, the expert group has made substantial progress and he posts a small demo and some code.
Violet warns that they are not done and his example will likely change before they finish, but he posts some code showing how to bind a List of Bugs to a JTable. Here is an example of the binding code:
context = new BindingContext();
Listbugs = ...;
Binding tableBinding = context.addBinding(
bugs, // Source for the binding, the List of bugs in this case.
null, // Expression, relative to the source, used in obtaining the property.
// For this example it's null, meaning use bugs as is.
bugTable, // Target of the binding, a JTable in this case.
"elements"); // The property of the target to bind to.
tableBinding.addBinding(
"${ID}", // Expression evaluated relative to each Bug.
// In this case, it's treated as bug.getID().
null, // Target value (I'm not going to get into this parameter now)
TableColumnParameter, 0); // Specifies the binding applies to the first column
One of the features of binding which has drawn numerous questions in the comments of his post is the use of the JSP Expresion Language to specify the source of a binding. Violet describes why they chose EL:
Until java has first class support for properties, some syntax will need to be adopted. EL was created for needs similar to beans binding and is a natural fit. No point in inventing a new duplicate syntax.
Violet says he is working on making the source available, and some of the commenters hope that he will open a JSR project on java.net to get more feedback from the community.
Early Access! Download JBoss Developer Studio 5.0 now, with packages for Mac, Windows or Linux!
Tools to unit test your JavaScript
App Server Evolution: REST, Cloud, and DevOps Support in Resin 4
Good Relationships: The Spring Data Neo4J Guide Book
Introducing SQLFire: a memory-optimized, high performance SQL database
VMware vFabric SQLFire - Test drive the data management system with memory speed, horizontal scalability and a familiar SQL interface
There's something awfully wrong within the Java-community It seems that one only person is working on JSR 295. Microsoft has databinding since 2000 for .NET. Why does Sun's Scott Violett not cooperate with the Eclipse-team doing almost the same technology? Look at the API-proposition from eclipse.org and the one from Sun. That's essentially the same thing.
How many years do we have to wait until JSR 295 ships? Another 2 or 3 years? The Eclipse-databinding is ready to ship right now. You should make another interview with the Eclipse-team. And off-course you should ask why there's no cooperation betwen Sun and the Eclipse-team.
Java world already has many binding frameworks (JGoodies bindings, Oracle ADF with or without BC, Eclipse JFace has its own binding mechanism). The problem reside in standardization and general IDE declarative support.
It's beyond me that they still use strings to represent the property binding, when you have a stongly typed language where the compiler and IDE tools (code completion, refactoring) can help. String are too fragile, in 2007 we should be able to do it smarter...
Carlos Villela's "static reflection" suggestion would be a big help in this regard.
It's beyond me that they still use strings to represent the property binding
so what would you suggest, apart from extending the language?
Derek Collison discusses the goals, the design premises and patterns employed in creating the architecture of Cloud Foundry, VMware’s open source PaaS, unveiling internal architectural details.
Andrew Watson talks about the work of the OMG, where CORBA is alive and well (hint: in your car), UML and UML Profiles vs. custom Modeling languages, DDS and other middleware, and much more.
Sohil Shah discusses creating iPhone and Android enterprise mobile applications based on cloud services using the open source platform OpenMobster.
Paul Sanford presents the transformations supported by data throughout its life cycle, and how that can be better done with Splunk, an engine for monitoring and analyzing machine-generated data.
A common “best practice” for unit tests is to only write a one assertion in each test. I intend to question this advice by showing that multiple assertions per test are both necessary and beneficial.
John Rauser presents the architectural and technological evolution of Amazon retail websites starting with 1994 and ending with adopting Amazon Web Services.
Michael Stal discusses system architecture quality, how to avoid architectural erosion, how to deal with refactoring, and design principles for architecture evolution.
Every developer has had to integrate with another system, API or component. Tis article provides strategies to handle the change and for he separating system boundaries.
5 comments
Watch Thread Reply