Lately I had to add a webservice interface to our XML importer component and so I was taking a closer look on some webservice frameworks. While reading several feature lists and technical documentations I came across this description of Spring-WS. Chapter 17.5.6 deals with using Spring-WS together with the Java 6 JDK webservice features, published in a build-in HTTP-Server. Because the attached code samples looked really simple, I decided to give it a shot.
I spend several hours lately to get Eclipse Helios to work with Maven (m2eclipse plugin) and the Eclipse Web Tools Platform (WTP). I wanted Maven to resolve my dependencies for a web project and WTP to deploy my application on a Tomcat server automatically. Actually this should be managed by the "Maven Integration for WTP" plugin - but it doesn't ...
Probably not a new tip for everyone, but here's how to have the Eclipse Java editor cleanup your code whenever you save a file. In the preferences, navigate to Java > Editor > Save Actions, activate the checkbox "Perform the selected actions on save", and check anything you like. For example, the screenshot shows what to activate to never leave unused import statements behind.
I'd advise against using "Format source code" and "Remove trailing whitespace", though. While those sound nice in theory, they tend to irritate source code comparison for obvious reasons.
JFace preference pages are easy to create using field editors. The are several editor types available, most consist of a label and one or two controls for displaying and changing a value. E.g., a StringFieldEditor consists of a label and a text field. Amongst others, there are editors for color, font, and a file path. Field editors can be created using one liners, their layout is managed by the FieldEditorPreferencePage. They work with a preference store to load and save data and have built-in validation. This saves a lot of code when building preference pages, but what about using them outside of preferences? This article will show how to use JFace field editors in a custom dialog.
The demonstration installation of our content management system Sophora (based on Eclipse RCP) is now publicly accessible. To try it, simply download the client program from our web site, and log in. The demo client is fully functional. Downloads are available for Windows and Mac OS X.
We're interested in your feedback, so let us know what you think!
With Eclipse 3.6 (Helios) the Equinox p2 API for update support of RCP applications becomes stable. Time to use it in your own application, but how?
The best documentation of how to use Equinox p2 is the article Adding Self-Update to an RCP Application in the eclipse wiki. Following that article I will describe the steps I had to do to use p2 in my application.
Möchte man seine Eclipse-Entwicklungsumgebung auf Version 3.6 (Helios) aktualisieren, kann man sich meiner Meinung nach eine Menge Arbeit (und Frust) ersparen, wenn man folgende Schritte beachtet.
subshell has just released Toromiro, an Eclipse-based standalone editor for Java Content Repositories (as specified by JSR 170 and JSR 283). Toromiro supports all your standard stuff, like low-level editing of nodes and properties, viewing the child node structure, searching by XPath, navigating nodes etc. You may also inspect the node type hierarchy using a graphical display, or watch repository modifications as they happen in real time. Toromiro supports all JCR implementations, with Apache Jackrabbit being usable right out of the box.
The software is available for a variety of platforms. Please see the download page for a fully functional 30-day trial version.
Letzte Kommentare