MAX BUILD SPEED
  • Home
  • About
Sign in Subscribe

Max Rohde

Max Rohde
Regular Expression to Find HTML Comments in Java

Regular Expression to Find HTML Comments in Java

Problem You would like to select the contents of all comments in an HTML (or XML) document using Java Regular Expressions. For instance: Solution There is a powerful regular expression, which can be found on this page. static final String commentRegex = "(// )?\\<![ \\r\\n\\t]*(--([^\\-]|[\\r\\n]

By Max Rohde 17 Aug 2012
Something other than a Java object was returned from JSNI method

gwt

Something other than a Java object was returned from JSNI method

Google Web Toolkit allows building powerful bridges between the world of Java and JavaScript using so called JS overlay objects. However, these overlay objects can become it bit tricky if it is not certain what the type of objects passed from JavaScript will be. Wait? Types and JavaScript? Yes, but

By Max Rohde 14 Aug 2012
Jangle Java: Synchronization

Jangle Java: Synchronization

This tutorial is a continutation of the 'Jangle Java: Upload & Load' tutorial. Make sure to follow the steps of this tutorial first before doing this one. This tutorial shows the synchronization capabilities of the appjangle Java client. In particular, the well known producer-consumer scenario is applied on

By Max Rohde 08 Aug 2012
Jangle Java: Upload &amp; Load Data

Jangle Java: Upload &amp; Load Data

This tutorial illustrates in a few simple steps how to upload and download data from a Java application into the appjangle platform. You can find the source code of the completed steps 2 & 3 on github: T_JangleJavaShort_Upload.java U_JangleJavaShort_Load.java Step 1: Link Client Libraries

By Max Rohde 08 Aug 2012
onedb 0.0.6 powers appjangle

onedb 0.0.6 powers appjangle

The last few weeks a great number of improvements and changes have been made to the onedb database. Chiefly, with the development of the JavaScript API, onedb has been integrated into the new appjangle platform. This platform is designed to enable not only to store data from applications from various

By Max Rohde 08 Aug 2012
onedb 0.0.4

onedb 0.0.4

The version 0.0.4 of the core client library and the test library for onedb have been released. In addition to a small enhancement and bugfix also some documentation has been added. Please find the details below. The development of onedb has made extensive use of the OSGi platform

By Max Rohde 16 Jul 2012
Callbacks in JavaScript

Callbacks in JavaScript

From many a Java programmer's perspective, JavaScript has one serious limitation: within the browser applications written in JavaScript limited to only a single thread (with the exception of web workers as part of 'HTML5'). As with many other 'limitations' any programming environment provides, also

By Max Rohde 09 Jul 2012
Maven Module for gwt-exporter

Maven Module for gwt-exporter

gwt-exporter is an awesome library to generate usable JavaScript APIs for Google Web Toolkit applications. It allows writing powerful libraries in Java and reuse the features these libraries provide in JavaScript applications! I have assembled a small Maven Module for gwt-exporter 2.4 (M1), which readily configures gwt-exporter to be

By Max Rohde 08 Jul 2012
Missing Name After . Operation

Missing Name After . Operation

Problem While accessing a GWT/Java class using the JSNI interface from JavaScript, GWT reports an exception along the lines of 'missing name after . operation'. This might also happen when using the automated Java à JavaScript API converter gwt-exporter. Analysis This problem is caused by invalid JavaScript statements.

By Max Rohde 08 Jul 2012
New Repository for OSGi-ready Maven Artifacts

New Repository for OSGi-ready Maven Artifacts

UPDATE 2015: For good repositories for OSGi artifacts also check: SpringSource Enterprise Bundle Repository Eclipse Bundle Recipes Project Here the original post: Although the onedb libraries are currently deployed as vanilla Java JAR files (onedb downloads), I have used the PDE tooling of eclipse heavily in the development process. One

By Max Rohde 27 May 2012
Threads in GWT?

Threads in GWT?

While it is widely reported that Google Web Toolkit does not support Java Threads and multi-threading, a number of aspects of concurrent applications can be emulated in GWT's single thread JavaScript world. The particular features that are relatively easy to emulate are: * Timers * Background Execution * Locks * 'Thread-safe&

By Max Rohde 26 May 2012
Eclipse and Github Tutorial

Eclipse and Github Tutorial

Github is an awesome repository to share your source code. Although there are numerous tutorials discussing how to use git and eclipse, I got stuck again today while trying to upload an existing eclipse project to github. This tutorial walks thus through all the steps from signing up for github

By Max Rohde 25 May 2012
See all
MAX BUILD SPEED

MAX BUILD SPEED

be calm & code.

MAX BUILD SPEED
  • Sign up
Powered by Ghost

MAX BUILD SPEED

be calm & code.