[Part 4] (capsFramework) Car ApPlication System – Framework: A Framework For Visualizing Sensordata With Apps

And finally here is the last part of the article about capsFramework.

Sample Applications

CarProfileBook
The app CarProfileBook is an application that grants access to the available sensor data. It lists all the sensors of the vehicle and displays the sensor data for the
selected sensors. Figure 6 shows a screenshot of the app. On the left hand side of figure 5.1 one can recognize a list of sensors which are
available in the car. Another list, containing the sensor data, is shown on the right hand side if a sensor is selected.

CarProfileBook

Continue Reading

[Part 3] (capsFramework) Car ApPlication System – Framework: A Framework For Visualizing Sensordata With Apps

Now comes part 3 of my excerpt from capsFramework.

capsFramework

Introduction
The necessity of capsFramework constitutes with the request to have a framework that allows the user as well as the developer to create or use apps for vehicles with comparably small effort. Though, the developers shall be able to access sensor data straightforward with the use of APIs. The user shall have a simple to use platform in order to manage and access the different apps. The framework shall also follow
the idea of the web of things. The vehicle, and so all its data, shall be available for the vehicles owner and also for everyone or everything that are allowed to access it. capsFramework shall offer all the previously mentioned goals by utilizing proven and standardised protocols, applications and programming languages.
The following technologies are used: JBoss Application Server, Apache HTTP Server, DatabaseManagement System PostgresSQL,GWT,HTML, SOAP, REST and Java.
Figure 1 visualizes the interaction of the components in the capsFramework.

Figure 1

As you can see in figure 1 there are three main blocks: Server block including the two servers JBoss AS and Apache HTTP Server as well as the Sensoric Reader, Postgres database, caps and apps. The Simulation block includes CarSim which can produce sensor data and broadcast it. Finally the Sensor API block has got the elements capsWS and capsREST which can initiate a communication to the database. The Sensoric Reader consumes sensor data, for example from CarSim and sends this data to the database which stores it. caps has got an amount of apps and it can access the database. Every app can use the elements inside the Sensor API block in order to retrieve (sensor) data from the database. The previously named elements of capsFramework are described in the next sections.

Continue Reading

[Part 2] (capsFramework) Car ApPlication System – Framework: A Framework For Visualizing Sensordata With Apps

This is part 2 of my excerpt from capsFramework.

Related Work

Audi A8 – Google Earth Support
Audi announced the cooperation with Google on the 16th December 2009. The model Audi A8 will soon include well-known Google services. A connection to the services can be established via the Bluetooth car-telephone which has got a GPRS/EDGE data transfer module integrated. The driver will have got access to Google Maps and will be able to search for different addresses displayed on a map. A UMTS module, which will be able to transfer bigger data packages, shall be added to the Audi A8 in the year 2010. So that Audi can provide Google Earth, that presents three-dimensional satellite and aerophoto of places, for the driver [Auda] [Audb].

audi-a8-google

BMW ConnectedDrive
BMWConnectedDrive is a system consisting of five components actively supporting the driver. ConnectedDrive is divided into the following five components: BMW Assist, BMW Online, BMW Tracking, BMW TeleServices and Internet in the vehicle [Cond].

bmw-connecteddrive

Continue Reading

[Part 1] (capsFramework) Car ApPlication System – Framework: A Framework For Visualizing Sensordata With Apps

Today I present the first excerpt of my latest thesis called (capsFramework) Car ApPlication System – Framework: A Framework For Visualizing Sensordata With Apps. Contact me, if you are interested in the complete text and I will send it to you.

Before you start reading this article let me show you a demo video of the system which is described below.

Abstract

How is it possible to create a system using the information that is generated by a vehicle in order to support the driver actively?
This thesis addresses this topic and presents an approach to realize such a system. A platform will be described that can access the sensor data of a vehicle and makes them accessible. Applications are deployed being able to work with the sensor data. Therefore, a framework will be presented that uses different technologies like application servers, databases, web services, Google Web Toolkit – and Java applications. These technologies will be presented and described. It will be explained how the framework is arranged and how the several components work together. Additionally, examples of applications will be shown that are running on the platform and use the framework.

Continue Reading

Groovy SWT – Listener

Groovy Logo

This is just a small snippet to show you how to add a SWT – Listener without using the Groovy SWTBuilder.


class CompClass extends Composite {
  public CompClass(parent, style) {
    super(parent, style)
    initialize()
  }

  private initialize() {
    Button searchButton = new Button(this, SWT.NONE)
    searchButton.setBounds(new Rectangle(0, 0, 60, 25))
    searchButton.addListener(SWT.Selection , {
      doSomething()
    } as Listener)
  }

  private doSomething(){
    println "Hi!"
  }
}

Continue Reading

Alternative Implementations for Aspect-Oriented Programming Language Constructs: A Case Study in Ruby

Again, the following paragraphs are parts from one of my theses. If you are interested in the complete article, in which it is described in detail how the implementation was done, you can write me an e-mail.

Abstract:

The aspect-oriented programming (abbreviated AOP) is an expedient to solve the problems when trying to modularize software. It focuses the problem of cross-cutting-concerns (abbreviated CCC).

There are already several programming languages which permit the developer to program in an aspect-oriented (abbreviated AO) way. Though, AOP is not every time immediately supplied by the developers of the language. It is often implemented after the first versions of the language are released. This implementation can be done in different ways whereupon every implementation has it’s advantages and disadvantages.
This work implements aspect-oriented constructs in three ways for the programming language Ruby.

Continue Reading

MongoDB 1.4 released – Ready For Production

Logo of MongoDB

MongoDB 1.4 has been finally released and is now tagged with “ready for production”.

Here is a small excerpt of the changelog:

Core server enhancements

  • concurrency improvements
  • indexing memory improvements
  • background index creation

Replication & Sharding

  • better handling for restarting slaves offline for a while
  • fast new slaves from snapshots
  • $inc replication fixes

Continue Reading

How to use XAMPP with MongoDB and the MongoDB PHP driver

This is the MongoDB Logo

This short tutorial will describe how to use MongoDB together with XAMPP.

It is tested with the following environment:

1. In the first step we have to download XAMPP and MongoDB (together with the PHP driver for MongoDB).

2. Create the directory datadb on your c drive (–> c:\datadb).

3. Unpack the MongoDB zip file to a disired destination

4. Install XAMPP (do not install MySQL as a service)

5.  Go into your XAMPP directory (something like xampp\php) and add the following line to the file php.ini

extension=php_mongo.dll

6. Unzip the php_mongo.dll to the follwing directory: xampp\php\ext

7. Start the Apache with the XAMPP Control Center

8. Start MongoDB server ( MongoDBDirectory\bin\mongod.exe )

Continue Reading

GWT 2.0.3 released

Hi again,

GWT 2.0.3 has been released several hours ago.

Here is the full changelog:

  • Using a PopupPanel in Internet Explorer without a history IFrame throws a NullPointerException
  • Opera support for History is not working

Please take also a look at the developers blog.

GWT 2.0.2 released

Just for your interest, GWT 2.0.2 has been released a couple of minutes ago.

It includes a small amount of bug fixes:

  • Standard.css missing new layout styles
  • Using a PopupPanel in Internet Explorer without a history IFrame throws a NullPointerException

You can get the corresponding news at the blog of the Google Web Toolkit.

Here is the direct link to the post.

Have a nice day…!

BTW: Great work and thanks to the GWT-Team!