Category Archives: Java

Java – static import

static import is an interesting feature absent in C#. The Java pages warns to not abuse it. http://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.html It allows you to reference static methods within a class as if they belonged to the current class. Before Static Import: After … Continue reading

Posted in Java | Leave a comment

Eclipse – Creating a jar file

File -> Export -> Java -> Jar file. Okay that was easy, but surely there’s way to do it with Maven? … after installing maven and spending less than a minute reading the XML, I realized I really am not … Continue reading

Posted in Java | Tagged , | Leave a comment

My first eclipse

I haven’t used Java much in the last 10 years since I left university. I figure it’s been long enough that I should see how the platform has progressed. Eclipse is one of, or possibly the most popular IDE for … Continue reading

Posted in .Net, Java | Tagged | Leave a comment