Jun 8, 2011

JavaFX SplitPane usage

Так получилось, что API этого полезнейшего компонента был изменен в последний момент перед релизом JavaFX 2.0 Beta. В результате мы получили следующий пример в официальной документации:

Jun 2, 2011

JavaFX vs Java Swing vs AWT

A long awaiting JavaFX 2.0 Beta is finally here. I couldn't help trying it one more time and implemented some very basic application.

May 12, 2011

The long awaited "soft wrap" feature is finally enabled in NetBeans 7.0

"Soft wrap" was initially introduces in NetBeans 9 beta, but was removed in release. The last stable release of the IDE brought this long awaited feature to the happy users.

Apr 14, 2011

Simple Integration test with JUnit Rules

Rules were introduced in JUnit 4.7 release. The short description is following:
The @Rule annotation allows you to annotate a public field in your test class, which is of type MethodRule. This binding will intercept test method calls like an AOP framework would do and redefine the execution, skip it, or do anything else.
Basically Rules is a way to avoid implementing of a custom test runner. In addition this approach gives more flexibility. You can implement your custom behaviour as a number of different rules and apply them to your test classes in different combinations.

My task was to create simple integration testing framework. Here are the most prominent requirements:
  • Generate and dynamically update configuration of the server (httpd)
  • Restart server when it is necessary
  • Provide exhaustive information in case of test failure (environment, server and modules configurations, request details, response details

Apr 6, 2011


Some applications I have worked on provide visualization capabilities. Here are several examples of them.

Feb 17, 2011

Dynamic SOAP Web Services with Jax-WS

В документации не очень хорошо описано как создать динамический клиент с помощью Jax-WS. Для этого используется Dispatcher API.