InfoQ

News

Eclipse DemoCamp London

Posted by Alex Blewitt on Jun 29, 2009

Community
Java
Topics
Modeling
Tags
XText ,
MDD ,
Eclipse ,
Eclipse Galileo

Eclipse DemoCamps have been organized around the world over the months of May and June to cover some of the new features of Eclipse Galileo. Today, the London DemoCamp was held at SkillsMatter.

The schedule presented NatTable, a high-performance SWT table with extended features, a retrospective of JQuantLib's experiences of moving to OSGi and a demo of Xtext, a simple yet powerful text-based DSL modelling tool. Unfortunately, due to time and operational constraints, the planned talks on Scala IDE and Java FX for Eclipse weren't available.

Dan Pollitt of JP Morgan presented the NatTable open-source project, which aims to provide a fully-functioned table for SWT. In addition to the normal operations that would be expected of any table widget, NatTable can scale to have over a million rows and 500 columns. Updates to the table can be highlighted with custom colours based on value, and the table (including formatting) can be exported as Excel spreadsheets or PDF for printing.

As well as displaying data values, the table's columns can be grouped and reordered with drag-and-drop, or customised by the end user without any code required. The data itself can have multiple sort criteria or filtered items. Internally it uses Glazed Lists to back an SWT virtual table.

Richard Gomes, lead developer of JQuantLib, discussed the challenges and benefits of moving towards OSGi for the Java port of the C++ QuantLib library. The goal is to provide a pure Java library capable of performing financial calculations and interpolation/holiday-based calendars (including Joda support). The build can produce either a monolithic Jar or OSGi bundles, using either Ant or Maven, and is being proposed to be part of the Eclipse Financial Platform.

As part of the OSGi migration, some of the existing code was being refactored to use OSGi services (where appropriate) including the ability to supply different kinds of dates/calendars (e.g. Joda). Being able to decouple components whilst using Declarative Services to join the components proved a simple way to set up the connections.

Lastly, Heiko Behrens of Itemis discussed Xtext, a framework for development of textual domain specific languages (DSLs). From a grammar, it's possible to generate a parser, an Eclipse editor (with code-complete) based on the language. The example demonstrated parsed a chess-based move language (algebraic chess notation) which could parse and then display in an EMF model (or translate into different models, like a graphical representation of a chess board). Although the Xtext project is relatively new, the technologies have been used in the open architecture ware project prior to being refactored into the Eclipse Xtext project.

Xtext will bring modelling to a wider group of people (specifically, those that have not been sold on model driven development in the past) and the ease of generating a parser and viewers/editors which can be embedded in an Eclipse runtime will make visualizing such models easier. It's also possible to run both the build and invoke the parsers from a headless runtime, although the GUI editors are specific to the Eclipse framework.

The London DemoCamp was a great success and brought a number of new technologies and libraries that can be used with Eclipse Galileo.

Material of Xtext Talk by Heiko Behrens Posted Jul 6, 2009 1:49 PM
  1. Back to top

    Material of Xtext Talk

    Jul 6, 2009 1:49 PM by Heiko Behrens

    Tank you for this review, Alex. You will find my slides and a video of the talk about Xtetx at my blog: www.1160pm.net/2009/07/01/xtext-at-democamp-lon...

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.