Articles in the Software Development category

  1. Making Jersey-based web-services be JSONP friendly

    It's pretty easy to make web-services answer with JSONP callbacks if you're using Jersey. Adding single filter you can make all web-services' resources add callbacks to their response.

    Here is the code of such filter. Note that it's Jersey-based.

    import ...
    Tagged as : Java
  2. Using JNI for calculations

    I had plenty free time lately. Out of boredom, I decided to try something new and interesting, something what I wouldn't probably use for my job. Something like JNI.

    JNI enables programmers to run native code from Java and vice versa. It can be used to improve performance of ...

    Tagged as : Java C
  3. Rapid logger creation in Eclipse

    In Eclipse it's possible to create easy to insert templates. Probably you have used "main" template by typing "main" and pressing Ctrl + Space to create main method. You also probably have faced the problem of logging huge amount of classes, and everywhere you needed to use logger factory, type ...

    Tagged as : Eclipse
  4. Configuring warnings in Eclipse

    It's possible to tell Eclipse which code should lead to warning, which to error and which should be handled as normal.

    You need to do the following two steps for this purpose:

    1. Open Window -> Preferences -> Java -> Compiler -> Errors/Warnings.
    2. Change properties in the way you want.

    My settings are ...

    Tagged as : Eclipse
  5. Bugzilla: error which isn't error

    The local XML file './data/bugzilla-update.xml' cannot be created. Please make sure the web server can write in this directory and that you can access the web. If you are behind a proxy, set the proxy_url parameter correctly.

    If you got this error and you are sure that the ...

  6. Performance Overview of String Concatenation

    Today I decided to test different ways of concatenation. I chose concatenation with "+" operator, String.format(...) and StringBuilder. I wrote simple code for determining time in milliseconds for each test.

    Source Code:

    package test;
    import java.util.Iterator;
    import java.util.TreeSet;
    public class Main {
        private static final double A ...
    Tagged as : Java
  7. Usage of Oracle Database via JDBC

    In this article I want to show you how to use Oracle Database via JDBC. I'm going to describe the easy way of connection to database, creation of table, and fetching, inserting, updating and deleting rows in created table (CRUD).

    What do you need for this?

    First of all ...

    Tagged as : Java SQL

Page 1 / 1