Before going into the details I will state the requirement: I need to fetch certain records from 3 different tables into 3 ArrayLists. I have 3 Classes which store the information: Lets name it- Class1, Class2, Class3. All the above… Read More ›
Java
Preparation tips for SCJP- Sun Certified Java Programmer Exam
I cleared SCJP 6.0 with 81% on January 25, 2010 (putting this up after a long gap), not a really good score, but happy to get a “PASS” :). I did manage to do some 25 days of preparation (serious… Read More ›
Working with Java Enumerated types (Enums)
In this post I would like to explain about Enums in Java. Though in my 2 years of coding in Java I have seldom used Enums but they do provide a lot of features when we are required to create… Read More ›
Talk @ LBS College of Engineering, Kasaragod, Kerala
I visited LBS College of Engineering, Kasaragod for a workshop organised by thier collegeOSUM Club. This was my first workshop outside NITK. They had suspended the classes for the afternoon so that most of them could attend the workshop. And… Read More ›
How’s Scala different from Java?
Scala is statically type like Java but with Type Inferencing support. Which means that the scala compiler analyzes the code deeply to determine what type a particular value is. In Scala its not required to use semicolons to terminate a… Read More ›
Monitoring and Profiling using VisualVM-1
I executed a simple GUI application which would load the CSV file and parse it and show the contents in a JTable. When the applications started- There was a JFrame, 2 JPanels, a JLabel and a JButton with an Icon. I wanted to monitor the Heap size variations, the number of Classes, Threads details and also wanted to profile the application. So i thought of using VisualVM. The following are the results and snapshots of profiling using VisualVM. Note that the application had only one public class MainFrame in gui package. Also note that i was using the Nimbus Look and Feel.
My JavaFX Application
Was going thru the JavaFX 1.2 API and found a lot of new features some of them are: New JavaFX Controls, New Layouts, Charting API, Local Data Storage among others. I was impressed by few samples which i saw here… Read More ›
Selection Sort: Brute Force approach to sorting with example in Groovy
In Selection sort technique the list is scanned to find the smallest element and it is then exchanged with the first element, putting the smallest element in its final position i.e at the beginning. Then the list is scanned starting… Read More ›
The Great Indian Developer Summit-2009, My Day-2, GIDS.Java
I started off pretty late for my Day-2 (summit’s Day-3) at the summit, courtesy- extended sleeping 😀 😀 But I somehow managed to not miss much of the first session. The first session I attended today was “Introduction to JRuby”… Read More ›
Installing Java (JDK) and Setting JAVA_HOME in Ubuntu (Linux)
I know lot of you starting out new as Linux users or Java learners on Linux platform find it an issue to install JDK or may be configure it to start using after installing. At time the version of java… Read More ›