Archive for the tag 'Java'

Why I (still) like Java

From the day I started programming, I have been on different camps on the battle between strongly typed and weekly typed languages at different times.

For close to 2 years I was working on a java project and at that time I used to wonder why it was designed to be so strongly typed. I have to declare each and every variable, initialize them, cast them properly if I am converting their data type etc and at times I used to get frustrated at the type of errors the complier throws at me every time I try to compile them. I wished I could tell the complier to stop guessing what I was trying to do and that I am smarter than it.

But now I understand their importance. I have recently started working on an ASP project (yes it is not migrated to ASP.NET yet!) and in last week I spent around half a day trying to figure out what was wrong in my code. All I got was just a simple ‘type mismatch’ error. The same lines of code were working perfectly in another page but not on this particular page. It was just an assignment statement which was calling a method and was assigning the return value to a variable.

After hours of debugging (with lot of head banging’s and nail bytes) I found out that I have forgotten to include the file in which that method was declared. If it had been my Java dear then it wouldn’t have thrown the apt ‘Method not found’ error the very first time I complied it. And I would have saved some a couple of hours of my time (and also my head and nails) ;)

Ohh my dear Java, I miss you very much dear..

Learn J2EE programming with passion

Found this from SitePoint

Ready to get serious about learning Java Web application and enterprise application development? I can’t say I blame you those skills will net a pretty penny in the current job market. That’s why J2EE Programming (with Passion!), a free online class offered by Sun Microsystems employee Sang Shin in his spare time, is such an amazing opportunity.

Offered by means of a Yahoo! Groups discussion list, the class runs for about the length of a university semester. Once you subscribe, you’re responsible for reviewing the weekly pre-class reading material, reading the classroom slides with accompanying notes, and completing the assigned coursework and final project by the assigned dates. It’s just like taking a university class only you don’t have to show up at lectures oh, and did I mention it’s free?

If you’ve been awaiting an opportunity to learn J2EE in a structured way without shelling out a bunch of money on books and classes, this might just be the ticket. Sang Shin also offers a few other online classes, an advanced J2EE class among them.

The next session is starting today (26-Sep-2005) and I have registered for it. How about you?

SCJP Next

I have taken a really looong break after my last exam. So its time that I start studying again for exams and after much thought I have finally decided my next exam. It’s going to be SCJP (CX-310-035).

The reason for choosing SCJP is that, for the next year or two I have to work mostly in java and will not be able to use much of .NET (at least at work).

Currently Sun is giving a discount of 25% for the exam till 30th of June. But I don’t think I can take up the exam with 9 days. I have kept the third week of July as my target for this exam. Hope I meet it.

BTW I am planning to use the book Sun Certified Programmer and Developer for Java 2 Study Guide (Exams 310-035 and 310-027) by OSBORNE. Does any one have a better suggestion..?

PS: Probably my friend Ram could help me, as he has already completed SCJP ;-)