MAX BUILD SPEED
  • Home
  • About
Sign in Subscribe

Max Rohde

Max Rohde
GWT deRPC to be Deprecated

GWT deRPC to be Deprecated

Direct evaluate Remote Procedure Calls (deRPCs) in GWT seem to be promising approach to transfer objects from server to browser. Rather than encoding objects into a stream of text in a legacy format, deRPC sends objects as JavaScript statements from server to client. However, after some time of working with

By Max Rohde 21 Feb 2011
Unit Tests in GWT (using Maven and eclipse PDE/OSGi)

Unit Tests in GWT (using Maven and eclipse PDE/OSGi)

One of the strengths of GWT, from my point of view, is that large portions of the code (eg business logic) can be tested with plain old JUnit tests, without the slightest interference from servers, web browsers and other constraints. However, certain parts of the code must be tested in

By Max Rohde 21 Feb 2011
Serializing Immutable Objects in GWT

Serializing Immutable Objects in GWT

Immutable objects are an easy yet powerful way to leverage some of the advantages of functional programming languages when writing plain old java. Such immutable objects declare all their attributes as final and are therewith protected from unforeseen state changes and side-effects. However, unfortunately the GWT RPC mechanism has problems

By Max Rohde 16 Feb 2011
GWT Warning “Non-canonical source package”

GWT Warning “Non-canonical source package”

The Problem Sometimes you might want to include classes from a package in your gwt module, which are not in a sub-package of the package in which you have defined the Gwt module (MyModule.gwt.xml). For instance, you might have the following directory structure: /client/ClientService.java /browser/BrowserEntryPoint.

By Max Rohde 15 Feb 2011
GXT Images are not displayed

GXT Images are not displayed

The Problem When developing an GWT application using Ext Gwt (GXT), various images are not displayed when opening the deployed .html file of your GWT project. These images may include: * borders of panels * backgrounds of panels * icons displayed when dragging and dropping components A panel, for instance, might look as

By Max Rohde 13 Feb 2011
GXT TreeGrid Selection Event/Listener

GXT TreeGrid Selection Event/Listener

In the evolution of the Ext GWT (GXT) framework, there seemed to have been some change as to how selection events of trees/tree grids can be intercepted. In release 2.2.1, the following approach works: treeGrid.getSelectionModel().addSelectionChangedListener(new SelectionChangedListener() { @Override public void selectionChanged(SelectionChangedEvent se) { GWT.log(

By Max Rohde 12 Feb 2011
GXT vs vanilla GWT Performance

GXT vs vanilla GWT Performance

The performance of a user interface based framework can often be a subjective matter. For me, for instance, the responsiveness of SmartGWT is slower than those of Ext Gwt (GXT), plain GWT 'feels' faster than GXT. However, such subjective measures are often quite unsatisfactory and might be wrong.

By Max Rohde 12 Feb 2011
Tests for Memory Leaks in JUnit

Tests for Memory Leaks in JUnit

Although Java features an automatic garbage collector automatically clearing up unused objects and therewith unused memory, memory leaks can occur (and do occur from time to time). This is often caused by 'circular' references between objects. There are a few ways, to automatically test for memory leaks using

By Max Rohde 02 Feb 2011
Tree Drag and Drop in GWT / GXT

Tree Drag and Drop in GWT / GXT

In Ext Gwt or GXT there are various ways to intercept drag and drop events directed at a Tree or TreeGrid. However, many of these do not necessarily lead to the expected results. There is also not much documentation of how to work with these events. 1. Implement the Interface

By Max Rohde 02 Feb 2011
Gwt-maven-plugin-2.1.1-SNAPSHOT repository

Gwt-maven-plugin-2.1.1-SNAPSHOT repository

I just spend a while to find the right repository for the gwt-maven-plugin version 2.1.1-SNAPSHOT. To cut it short, one possible repository is: <pluginRepositories> <pluginRepository> <id>Codehaus Group Snapshots</id> <url>https://nexus.codehaus.org/content/groups/snapshots-group/

By Max Rohde 14 Dec 2010
SmartGWT and Ext GWT/GXT (or the question of the GWT UI framework)

SmartGWT and Ext GWT/GXT (or the question of the GWT UI framework)

Really exiting about GWT is the promise to develop sleek user interfaces with Java; even the GWT UIs created out of the box look quite impressive when compared for instance, with a vanilla Swing interface. However, a number of frameworks help tremendously in unleashing the full capabilities JavaScript offers nowadays.

By Max Rohde 12 Dec 2010
Cannot add files to svn ignore in eclipse

Cannot add files to svn ignore in eclipse

The Problem You want to exclude certain files and folders from being uploaded to the SVN repository in eclipse. However, some files in the project allow you to right-click them and select Team / Add to svn:ignore and for other files this action is 'greyed out'. The Solution

By Max Rohde 11 Dec 2010
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.