View RSS Feed

Recent Blogs Posts

  1. Java I/O performance

    by , 01-08-2012 at 12:40 PM
    Java has always issues with its I/O performance. To handle large amount of data, it will take significant amount of time. So you must tune and improve your I/O performance. It should be done on high priority by the developer.

    Follow these rules to improve I/O performance.

    Minimize hard disk access.
    Minimize OS access.
    Minimize processing of individual bytes

    Also you can consider following to improve your I/O performance.
  2. Byte Streams

    by , 11-11-2011 at 06:27 PM (My Java Tips)
    Java IO programs use byte streams to perform input and output of 8-bit bytes. All byte stream classes are descended from InputStream and OutputStream.

    There are many byte stream classes. To demonstrate how byte streams work, we'll focus on the file I/O byte streams, FileInputStream and FileOutputStream. Other kinds of byte streams are used in much the same way; they differ mainly in the way they are constructed.

    A FileInputStream obtains input bytes from a file in a ...
    Tags: byte, java io, streams Add / Edit Tags