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.
Solving - "A pseudo attribute name is expected" Error in JAXPJuly 6th, 2006 I was writing a xml data reader in Java using JDK's inbuilt XML processing libraries (JAXP) when I persistently hit across this annoying exception with error message: A pseudo attribute name is expected. The error is displayed on the first line itself.
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.
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.
9 Important Tips for Selenium Remote Control (Java client) - Test ToolApril 16th, 2008 Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in many programming languages against any HTTP website using any mainstream JavaScript-enabled browser. Selenium RC is a powerful and simple framework for running (scheduled or manually) automated UI centric regression tests for web applications / services.
Guide To Simplified Java Logging using Java Core APIJanuary 17th, 2006 Java comes in with a handy logging package (java.util.logging) which eliminates the need to use external logging packages like Log4J. However it still requires some configuration which makes it cumbersome and repetitive to include in every class.
Design Patterns of Sun Java Studio Creator, Java Software IDEAugust 2nd, 2005 An article on miniature Design Patterns on Sun Java Studio Creator, a Java Software development tool aka IDE. I think you will find them rather useful.
How To Pass Command Line Arguments To Ant Task / ScriptAugust 17th, 2008 Ant is a popular, high quality Java based build and deployment tool from Apache Foundation. You can invoke Java programs in ant using the java task.
Microsoft Teaching Java Using Eclipse at JavaOne 2008May 8th, 2008 I was amazed to find Microsoft design engineer Mugunthan Mugundan teaching Java (how to create REST output using Java) using Eclipse IDE. I found it rich in irony at many levels.
Shutdown Apache James Mail Server - Java UtilityFebruary 15th, 2006 Overview
A Java class to shutdown Apache James Mail Server via TCP/IP. It shuts down Apache James Mail Server by passing shutdown command via simulated telnet session.
Java or C#January 10th, 2004 On the old debate - C# versus Java
Controlling native applications using JavaJanuary 24th, 2005 Did you know that you can use Robot to control even native windows. Apparently the code finds the top window generated by the application.
How to Compile Java Source within Java ProgramMarch 26th, 2009 This small trick will tell you how you can compile a java source file from another java file on the go. You do not need to run it on a different page and compile it there and then get back to this program.
Solution: Microsoft Distributed Transaction Coordinator Fails To Start With Service Specific Error 3221229584November 16th, 2006 When MS DTC fails to start and you get an error like:
"The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010)."
You know you are in trouble. Fortunately there is a simple solution.
Sun Open Sources Sun Java Studio Enterprise - Enterprise-Class Java EE Development ToolApril 12th, 2006 Java Studio Enterprise provides a complete solution for architecting and implementing large-scale enterprise applications in Java EE. Sun plans to open source major elements of the Sun Java Studio Enterprise as a project on NetBeans.org - NetBeans Enterprise Pack.