The Session Bean Component Contract of the Enterprise JavaBeans 3.1 Specification (JSR 318 Proposed Final Draft) introduces the possibility of exposing methods of session beans with asynchronous semantics. What does that mean? For asynchronous invocations, control returns to the client before the container dispatches the invocation to a bean instance. When a client invokes an … [Read more…]
You may have some recurring development tasks while your daily work with java in different projects. For example you again and again write some small code that capitalizes a given String. Or you write an application with a command line interface and write code that defines and parses your command line options. Or you need … [Read more…]
I’m working with Excel and Word documents in my latest java project. On Windows plattforms Eclipse opens those documents with its own OLE editor by default. But I feel much more comfortable in using the Office apps to edit them. This can be done by right clicking on the file icon and choose “open with … [Read more…]
The Problem: Two views in the workbench window. Both contain a toolbar with a CommmandContributionItem. Both CommandContributionItems belong to the same command. Each one should set its enablement-status independently according to its view context. BUT: You cannot have one CommmandContributionItem enabled and the other not at the same time. That Problem is described in http://www.eclipsezone.com/eclipse/forums/t112307.html … [Read more…]
How to handle auto increment columns in MySQL when using Prepared Statements
This article shows two possible ways to handle the problem of “Race Conditions” in Ajax.