Archive for the ‘Developement’ Category
KeyGrab – grab key combinations using TextField in Swing/Java.
Posted by ski | Filed under Developement, English
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: Java, JTextField, key listener, Swing
Simple way to speed up JBOSS build (deploy to RAM)
Posted by ski | Filed under Developement
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.
Posted by ski | Filed under Developement
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: Axis, Bouncy Castle, Certificate, CRT, Fedora, Java, keystore, Merlin, PHP, truststore, Webservice, Yandex
SCJP 6.0 code snippets – Part 1
Posted by ski | Filed under Developement
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: 6, code snippets, Java5, Java6, mock exam, SCJP, study notes
GWT1.7-PHP5.2-JSON
Posted by ski | Filed under Developement, English
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: Eclipse, GWT 1.7, Java, JSON, live demo, PHP5, Quickstart, source code






