Get a Quote

Your source for insights and trends in software development

Wikitopdf and Graphviz in Trac

First of all I’d admin that I like Graphviz in Trac quite much. It allows you to create good diagrams and collaboration pictures inside wiki page of the Trac. Wikitopdf plugin, with all it limitations, allows you to export your wiki pages in PDF form (internally it is using the htmldoc library and here appears limitations). The problem I faced with: wikitopdf is not working correctly by default with the generated images. And graphviz_dir parameter doesn’t really helps. Additionally, wikitopdf…

Erlang web-frameworks

It is always difficult to find out what web framework will suite your needs in a project. As for the Erlang, there is several rapid-deveoping frameworks at the moment: Erlangweb – the one we really liked, as it beign developed by very professioinal team of Erlang consulting. You can learn a lot of things supported by erlang from their sources. ErlyWeb Nitrogen BeepBeep Some others that were out of my attention Today I’ll start with features of ErlangWeb This Framework…

Leap seconds

Well, everybody knows about leap years :-). What about leap seconds?Those who are interested, can find more information on http://en.wikipedia.org/wiki/Leap_second , but how it can influence your program? First of all, you should not suppose that seconds are from 0 to 59. It could be 60 second, as well as 59 skipping and going from 58 to 00. So your system should at least be able to convert 60 second into something predictable. Another thing that could be important for…

Window’s control button (minimize/maximize/close)

During development of custom desktop application sometimes you need to define own event handlers on these buttons. In SWING it is easy and well-documented task – in JavaFX it is also easy task, but it is not well-documented. Thus in this post I want to provide some information about it. Minimize button Let’s start from minimize button. In JavaFX for specifying own action on this button you need to define variable and “bind” it with iconified-property of state:

So…

System Tray in JavaFx

Java SDK (since version 1.5) provides default support of system tray, which works fine in Windows, Linux and MacOS. But, unfortunately, this feature is disable for JavaFX. Let’s see how to enable this possibility using reflection. TrayManager Let’s create simple JavaFx class, which will work with java.awt.SystemTray and java.awt.TrayIcon via reflection. Note it will not wrap all methods of these classes – it will just provide main possibilities.

So as you can see it provides the following methods: setPopupMenu…

GWT & YUI integration

Google Web Toolkit (GWT) provides a lot of useful widgets, which covers a lot of needs. But, unfortunately, it does not provide widgets for charts. Thus in this post I’d describe integration GWT application with Yahoo UI (YUI) Charts. Note I’ll build my sample around Yahoo UI sample (http://developer.yahoo.com/yui/charts/). Getting started To use YUI Controls we need to include Yahoo JavaScript libraries into application’s html page:

It will be better to place them into the end of main html…

Dynamic text height in JasperReports

Dynamic text height in JasperReports

JasperReports is an open-source java library to build reports. It tightly integrates with the JFreeChart to provide charts. For me, JasperReports is one of the best open source solutions I’ve ever used. It’s really customizable and configurable and you can do really fantastic things with it. While working for about a year with JasperReports, I’ve met several limitations and places which could be implemented better. So I plan to describe some solutions I’ve found here. The first thing I’ve mentioned…

Strange problem in Oracle hierarchical query

Today I’ve decided to get rid of the Windows virtual where Oracle XE 10 and to move data to Oracle XE installed on my Fedora host. Everything seemed to migrate correctly using imp/exp utilities. After I ran the appllication server and tested it a bit, I’ve ran into the problem with the hierarchical queries. I’m trying to run the query like:

This query now fails with the error: ORA-30004: when using SYS_CONNECT_BY_PATH function, cannot have seperator as part of…

JRebel

Today I’ve got a chance to play with the JRebel library a bit. It’s really cool for J2EE developers who do not wish to restart application server after rebuilding application code. It can save you a large amount of time. JRebel provides its own classloader which wraps every class of the application with a small additional logics. It allows you to replace classes in runtime without redeploying/restarting your application and allows to see class changes immediately. It’s very easy to…

Advanced logging systems

is always nice to have a good logging system, that will help programmer to understand what happened in case of crash or non proper behaviour. Well, if it crashed it is usually quite easy to find a place where it crashed, but lets assume some part of your system misbehaved that cause misbehaviour of another system. This situation still OK if you can debug your program and know exactly the preconditions. But lets assume you are running the production system,…

Ready To Take The Next Step?

quote Get a Quote

Sumbit your project request by special form.
We'll get to you promtly with our costing of your project.