Archive for the ‘Developement’ Category

KeyGrab – grab key combinations using TextField in Swing/Java.

Description.
This small component was cut out form the bigger project. It’s extension of JTextLabel which easily can be added to you java swing project, to provide text box which can easily grab and display key combinations.

Features.

Open source, free to use.
Free access to current key combination associated with TextBox.
Callbacks while new conbinations is being set.
Possibility of [...]

Tags: , , ,

Simple way to speed up JBOSS build (deploy to RAM)

Usually, while working with web applications, I need to redeploy it several times a day. As we all know, waiting for build (clean-compile-build-deploy) to finish is big pain in the ass ( aka bottleneck ;))   This note is valid for temporary build ( those going by default to JBOSS_HOME/server/default/temp directory and for computers with big [...]

Connecting webservice using server’s certificate with Axis 1.4.

This informations were gathered while dealing with following problem -
access remote webservice from java application, using server’s certificate/ private key. Target service was Yandex, as it’s available only for registered user I’ll skip credentials and user details. Client’s machine was some distribution of Fedora, so I’ll explain this case, but solutions should work on most [...]

Tags: , , , , , , , , , , ,

SCJP 6.0 code snippets – Part 1

Since I started to study to SCJP, I’ll put here some notes. I learn reading SCJP Sun Certified Programmer for Java 6, and making some small code snippets, I’ll paste them + notes here, maybe you’ll find it usefull. I think everyone who learns to SCJP should do his/her own, but if you don’t have [...]

Tags: , , , , , ,

GWT1.7-PHP5.2-JSON

Here I’ll present a “quickstart” application of the GWT + PHP. There are a lot of different approaches to do GWT-PHP communication, I’ll use JSON. In my approach, I’ll use two bean-like (Java) classes PHPRequest and PHPResponse, which encapsulate sending and receiving data. Of course, in so simple example it’s piece of additional job, but [...]

Tags: , , , , , , ,