Category Archives: programming

Executing OCL expressions on plain Java – How to do it?

Java logo

In twitter, Sébastien Mosser raised the question of how to execute OCL expressions on plain Java classes. As you may know, we can use EMFQuery to query EObjects using OCL expressions as filters as shown in this example (taken from this tutorial) where we select all objects of the Writer class having written books in

EasyEclipse for Java (kickstarter project)

EasyEclipse for Java

Interesting new project in Kickstarter to fund EasyEclipse for Java that is summarized as “Streamlined Java IDE + Funding model for the Eclipse open-source ecosystem” This motto gives you already a hint about the twofold goal of the project: Improve the Eclipse IDE for Java In particular its integration with these technologies: Java (with support

The Wolfram Language – Knowledge-based programming

Wolfram language

Thanks to Johan I’ve discovered this first announcement of the Wolfram Language, a general-purpose knowledge-based language. What does this mean? Well, not exactly clear at this point. Let´s start by reading an excerpt of what they say in the announcement: In a sense, inside the Wolfram Language we have a whole computable model of the

A Tutorial on Google Cloud Endpoints (III)

cloud_endpoints_logo3

This post finishes with the tutorial about introducing Google Cloud Endpoints. As explained in the previous two parts, we plan to teach you how to construct a simple web backend storing data about posts and then expose it by means of a public REST-based API. We explained in the first post of the tutorial how

NoFlo: Code-generation project in Kickstarter – A first

noflow

NoFlo has launched a kickstarter project to get 100.000 USD in funding for their Development and code-generation Environment. Their motto is: Software begins as boxes & arrows on a whiteboard, let’s keep it that way! Imagine, a platform that eliminates spaghetti code… With NoFlo, the diagram is the software! NoFlow could be defined as a

A Tutorial on Google Cloud Endpoints (II)

cloud_endpoints_logo2

We continue with the tutorial about using Google Cloud Endpoints. As introduced in the first part, we plan to teach you how to construct a simple web backend storing data and then expose it by means of a public REST-based API. We explained in the first post of the tutorial how to set up the

A Tutorial on Google Cloud Endpoints (I)

cloud_endpoints_logo

Lately, we’ve been playing with Google Cloud Endpoints and want to share with you a little tutorial on the basics of this technology. In a series of three posts we plan to teach you how to construct a simple web backend storing data and then expose it by means of a public REST-based API. Don’t

It’s time to teach history of programming languages

pascal

One of the first concepts I show when teaching Model-driven engineering is the MDE equation (Models + Transformations = Software ) which obviously revisits the well-known Niklaus Wirth‘s equation: Algorithms + Data Structures = Programs. I thought that by linking the two, it would be easier for the students to grasp the main aspects of

How robust is your modeling language?

software-carpentry-banner

This great post by Greg Wilson in the software carpentry site proposes a new metric for language designers: the Robustness of a language. “I’d therefore like to throw out a challenge to programming language designers. Forget about parallelism or the esoteric corner cases of various type systems; instead, focus on robustness. How forgiving is your

No Java API to import / export sql files (really?)

mysqljava

I was looking for a way to import and export sql files to/from a mysql database from within a Java application (i.e. I want to let users upload a .sql file in the application and import this file, similarly I want them to be able to create a dump of the database they uploaded before)

Powered by WordPress