Posts tagged with "tips"

Apr 25th, 2013

When an exception gets lost

6947296049_a513bdfc32_n

Recently I fell into the lost exception pitfall – when an exception thrown in a try block gets lost because another exception is thrown in the finally block. It wasn’t that I was not aware of the problem, but rather that I underestimated and therefore ignored it. This post describes an example where suppressed exceptions [...]

1 Comment
Mar 28th, 2013

Running Eclipse applications on Windows 8

Reading the title, you might ask why this could be a problem. Good news: in most cases it isn’t. However it can be problem if you use native code in your Eclipse plug-in and run on an older version of Equinox (3.7.2 and earlier). This post describes the problem and possible solutions. The problem On [...]

3 Comments
Mar 15th, 2013

Keyboard Controls in RAP: Next Step Mnemonics

mnemonics

Applications built with RAP are often designed for high productivity: The faster you can control the app, the more work you can get done. In many cases, keyboard controls are significantly faster than mouse controls. Consequentially, RAP has continually improved keyboard controls since it’s inception. What are Mnemonics? Should you not know, Mnemonics are the [...]

Leave a Comment
Mar 1st, 2013

Use your HEAD – checking CouchDB document existence

One common task when working with CouchDB is to find out whether a document with a given ID exists. A simple solution is to send an HTTP GET request with the ID to CouchDB and check the response’s HTTP status code. A GET request, executed, for example with curl curl http://localhost:5984/mydatabase/mydocumentid will return the document [...]

Leave a Comment
Feb 22nd, 2013

Unit Testing RAP Applications

The latest release of RAP 2.0 is still hot. It also contains some improvements for unit testing as Ralf Sternberg mentioned in one of his blog posts that came along with RAP 2.0. The following post will get you up and running with the first JUnit test in your own RAP project. A user interface written [...]

Leave a Comment
Feb 21st, 2013

API Tools revisited

image01

Defining API’s is crucial to maintaining modularity. OSGi defines the concepts necessary for API definition such as a service concept and package visibility. However, pure OSGi is not enough to really maintain an API and its potential usages. There are several cases in an API definition where it is required to do more than restrict [...]

1 Comment
Feb 8th, 2013

Focusing on the Problems

VMware FusionScreenSnapz012

The “Problems” view in Eclipse lists errors and warnings in the workspace. In its default settings this view is not entirely helpful, but it is highly customizable. Today I want to show you how you can configure this view to shift the focus to the interesting errors and warnings in your current area of work. [...]

Leave a Comment
Jan 31st, 2013

Top 10 EclipseSource Blog Posts of 2012

Here at EclipseSource we like top 10 blog posts. So here is our top 10 of 2012 – the posts most viewed or created the most buzz. 1. Top 10 Eclipse Juno Features Eclipse Juno has been released this year and it was the first simultaneous release built on Eclipse 4. In preparation of the [...]

Leave a Comment
Jan 31st, 2013

Creating Tomcat heap dumps on Windows

jvisualvm_remote

One option for detecting memory leaks in Java is the analysis of heap dumps. The first step is to create an HPROF heap dump from the running Java application, the second is the analysis of the dump with an appropriate analysis tool like jvisualvm or Eclipse Memory Analyzer (MAT). Wanting to do the first step [...]

Leave a Comment