View RSS Feed

Advanced Java

Advanced Java programming.

  1. Performance improvement of a Java application

    by , 01-08-2012 at 01:45 PM
    Follow these steps to improve performance of your Java application.

    Always Pool valuable system resources like threads, database connections, socket connections.
    Optimize your I/O operations by using buffering when writing to and reading from files and/or streams.
    Minimize network overheads by retrieving several related items simultaneously in one remote invocation if possible.
    Apply the following performance tips in your code

    Use ArrayLists,
    ...