Gripe: Java blog aggregator: javablogs.comFebruary 16th, 2004 Few Gripes on Java.blogs:
After few days with java.blogs I realized I don't want a few things. For example I am not interested in knowing anything about IDEA releases.
Java Blogger's in IndiaDecember 11th, 2005 I want to create a list of Java blogger's in India or of Indian origin. If you are one please state so with your url in the comment below.
Top 10 Java Features (or What Makes Java Great)May 3rd, 2006 Here is a list of top 10 java features I constantly use and highly recommend; features which makes Java great as a language and platform. JSP & Servlets - Most of java development today is arguably done on JSP & Servlets.
JDK1.5 - More painful bugs aka Enumeration-Woes: Solved!August 29th, 2004 Current Status: Solved
Defect:
When more than one annotation type files are compiled in javac(any of the ways like *.java or @srclist or FileName1.java FileName2.java)
then it emits and error message that it cannot find symbol for statically imported Enums. However statically importing one level up and de-referencing works.
How to install / enable Java Plugin / Applets in Firefox on CentOS 5September 28th, 2009 CentOS comes with OpenJava JRE installed. However that doesn't provide the required libraries to run Java from browsers (read: applets).
JDK1.6 / JDK6.0 Downloaded?January 12th, 2006 I just downloaded JDK1.6 aka JDK 6 (code name: Mustang). Now is a good time as any to get your feet wet with the latest version of Java platform and development kit.
J2SE 5: New wine in new bottle with old corkMarch 15th, 2005 J2SE stands for Java 2 Standard Edition. The 2 stands for version 2 of the platform.
Java Quiz: Why StringBuilder Should be Used Instead of StringBuffer?August 23rd, 2008 First tell me what is the best way to concatenate large number of String objects? Is it a + b?
Most Java developers know not to use a + b (+ operator) because of huge performance problems, they use StringBuffer instead. In fact I did some tests in the past which confirms this folklore.
Java SE Goes Beta (Feature Complete). Download Now.February 17th, 2006 Java SE 6 Beta offers the first feature complete version of next major release of the Java SE platform. Sun expects to ship the final release of Java SE 6 in the fall of 2006.
Three Free Notable Java Software / APISeptember 8th, 2005 GMail API for Java
GMailer API for Java (g4j) is set of API that allows Java programmer to communicate to GMail. With G4J programmers can made Java based application that based on huge storage of GMail.
Java: How To Get Stacktrace of Any Local / Remote Java ProcessSeptember 23rd, 2008 You may run Java processes in the foreground or in many cases they may be run using cron jobs or during system startup, as background processes. How can you find out stacktraces of any running Java process? But first how can you even know their name & process id's?
How to find process id (pid) of all running Java processes?
The following command displays list of all running Java processes in your machine -
$JAVA_HOME/bin/jps
Note the process id of the process you want to get stacktrace as you will need it in the next step.
Java Popularity Statistics (from JavaOne 2008)May 7th, 2008 Sun revealed the following statistics about Java at JavaOne 2008:
1. 90% of Personal Computers on Internet have Java
2.
Java Software: 1-Line Sort & Uniq UtilityOctober 18th, 2005 I had to sort and uniq (create a unique set of strings) a large list with lots of duplicate. My options were to write it in Java or download cygwin and run: cat file | sort | uniq > result
Cygwin download never works for me.
Java EE 6 HighlightsMay 6th, 2008 The key features of Java EE 6 (Java Enterprise Edition version 6) are:
Modular Platform - Java EE 6 introduces profiles targeted for particular segment of users like web developers or mobile developers. Java Profiles allows you to select Java EE 6 features to be included in a profile.
Top 10 Java LiesMarch 6th, 2006 Here are the top ten Java lies I have heard over the years. Feel free to add yours in the comments.
February 26th, 2006 at 11:04 am
A nice solution for a FIFO queue is a wrapper around a circular array. Removes at either end are cheap, inserts at either end are also cheap. Memory usage is low and Object allocation is infrequent.
February 26th, 2006 at 7:54 pm
well.. isnt fifo is actually a Queue? there are plenty of Queues available in Java5.
February 27th, 2006 at 9:07 am
You are right. I overlooked them in 1.5. In fact ArrayList also implements Queue.
February 17th, 2008 at 6:14 pm
can you send me a copy of your codes in FIFO which deals with the page(s). please grant me my request..thank you.!!!
April 26th, 2008 at 1:41 pm
You could have just used LinkedList. Method add adds element to the end. And to retrieve element use getFirst
April 27th, 2008 at 1:21 am
As I said before:
“I prefer this setup instead of using a LinkedList.remove(0) directly. It looks cleaner.”
May 25th, 2008 at 6:39 pm
Muchas gracias!
you’r right, it is simple and clear