Thursday, 22 December 2011

YUI: Compressing JavaScript and CSS files with Ant

The YUI Compressor is JavaScript and CSS minifier designed to be 100% safe and yield a higher compression ratio than most other tools.

Saturday, 12 November 2011

Tsung: Web Application Performance and Stress Testing


The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications. You can use it to do load and stress testing of your servers.You can test with Tsung HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP and XMPP/Jabber.

Thursday, 22 September 2011

JavaEE: A beginner's guide to Enterprise Java Beans (EJB)

 EJB - is a managed, server-side component architecture for modular construction of enterprise applications. Simply EJB provide instrument to write business layer(logic) of your application.

Saturday, 17 September 2011

Android: Image viewer

View images loaded from Internet(using xml parsing) features: Delete, Reload, Save to SD card, Find, Delete All. Like list and menu I am using my classes extended from ArrayAdapter.

Later will upload on github or google code, now only .zip

More screens:

Friday, 16 September 2011

Android: Android Packaging Problem

Strange error: "Conversion to Dalvik format failed with error 1 MyApplication Unknown Android Packaging Problem "

Solution: Menu->Project->Clean.

Tuesday, 16 August 2011

Does Java Use Pass-By-Value Semantics?

Java is actually pass-by-value for all variables running within a single
VM. Pass-by-value means pass-by-variable-value. And that means, pass-by-copy-ofthe-
variable!

Wednesday, 6 July 2011

JavaEE: Building web project using Ant

Ant is a great tool for building your projects. In this example I'll create simple jar (of course you can create war and ear archives in this case you should use <war ...> and <ear ...> tags) and deploy it on Jboss .

Saturday, 14 May 2011

Android: Tic Tac Toe game on google code


Decided to upload my old project - Android Tic Tac Toe Game. This project was created for educational scope.

Here is a link
Github

Tuesday, 3 May 2011

Wednesday, 27 April 2011

Java: Loading data from file into a Oracle database


It's possible to do using Sql Loader.SQL*Loader is a bulk loader utility used for moving data from external files into the Oracle database.

Friday, 22 April 2011

JavaEE: Using @EJB annotation

Shows use of @EJB in a Stateless to have another Stateless bean injected into it.Using Jboss 5 + Seam framework

Sunday, 6 March 2011

Flex / AS3: The best way to encode JPEG

Recently in my diploma I need to encode jpeg file on client, after some research I found library created using Alchemy project( from C/C++ language).It allows you to encode jpeg both synchronous and asynchronous with maximum speed(unlike standard encode() method).

Thursday, 10 February 2011

Approximate string matching algorithm (fuzzy search)

This is a great algorithm to find similarity coefficient of the two words.
Author is Viterbi or Bellman.I didn't find anything about it in the Internet.

For example exists dictionary: mother, uncle, cat, dog. And you typed smth like
"maaather", as the result will be "maaather" -> mother.
This algorithm possible to use in spell checking,sound recognition etc.

Friday, 28 January 2011

Java: Collections basics


In this article i'll describe basics of java collections

Java: Using SQLite

SQLite - is embedded relational database management system.In other words you can use sql database without server.

Sunday, 16 January 2011

Java: Drawing charts it's easy



Recently I need to draw a chart, and after short search I found great library JFreeChart. It provides drawing and saving charts to the png file.