Take a Walk.......

Saturday, February 02, 2008

Advanced java articles at IBM developerworks

Don't read the article further if you never have had any interest in programming

I am often surprised by the fact that being a Techie for years how rarely do I talk about technology outside the domain of work, especially when all my colleagues around are so enamored by technologies they work on that even the jokes they crack often related to the current technology that they are working on ;)

So seems this is the first article related to technology in anyway that is going to find a place on my blog. Following are links on some Dennis Sosnoski, the articles though are quite old but they explain the internal working of the java language most of which still holds true.

Classes and class loading -- This article explains the details on how classes are loaded in the JVM. The article will come as a surprise to a naive Java programmer who doesn't understand as yet what happens behind the scenes when he executes a simple Java class. It explains in details how a single class loading produces more then 200 lines of verbose code, which in a nutshell is a human readable output detailing each class which Java will load before loading your simple class.

It further goes on to explain the concepts of class loaders and with an example of the Tomcat class loader it explains the hierarchical execution of the class loaders.

Introducing reflection -- Reflection as a Java programmer will tell you is a mechanism which provides access to information about your Java classes, their methods and properties. The level of information and access that the Reflection mechanism provides you is much more then available through normal Java execution and often breaks certain rules of Java mechanism in providing the said level of access.

The brief description of the article on the site is "Reflection gives your code access to internal information for classes loaded into the JVM and allows you to write code that works with classes selected during execution, not in the source code. This makes reflection a great tool for building flexible applications. But watch out -- if used inappropriately, reflection can be costly. In Part 2 of his series on Java platform internals, software consultant Dennis Sosnoski provides an introduction to using reflection, as well as a look at some of the costs involved. You'll also find out how the Java Reflection API lets you hook into objects at run time."

Labels: , , ,

Friday, February 01, 2008

Of Google and yahoo, with toolbars, search boxes

Question: Why would you want to search the web from your word sheet that you are working on in a word processor
Answer: I don't I ever want to do that.

Question: What the hell is the google search bar doing in my Star office?
Answer: Thats the question I am looking for. I am bugged to such an extent with Google and Yahoo! toolbars popping up in so many softwares, especially the Google one that I am one inch away from hating Google forever.

You might ask why only Google, why not Yahoo! who are an equal culprit in the game, frankly speaking I am feeling very sympathetic for Yahoo! since the time I read about them been taken over by Microsoft. I know its just a proposal and the deal has not been through but considering Yahoo! has been lagging so badly in the last few years in every parameters and its bankruptcy in the innovation department it had to happen sooner or later. At least if the Yahoo! guys sell out now they might get a good deal and will provide a great chance to bleed Microsoft to death in the next few years. After is Microsoft going to make anything out of the $44.6 freaking billions that its going to spend on Yahoo! I think it will mess the company further and its a road to disaster. Anyways its not my area of expertise so lets not talk about it too much.

Coming back to the company whose motto was “Don’t Be Evil” and probably still is, doesn't really matter any more. The only thing matters is that its evil tactics are scaring me away from any software that seems to have any association with Google. I freaking want to install FireFox on my lappie and what the hell do I find it comes with a bundled Google toolbar. I don't want to install it but I don't have the option, if I want to install Firefox, which I have to rather then bearing the IE shit, There's no way out but to install the toolbar and then disable it later.

If you think that was shit, I install StarOffice and am working on some document and I see in the top menu the google search box popping up, well if I need to search I'll alternate to the browser window which will provide me the right frame to search why the hell do I need a Google box, I didn't ask for it but its there.

I like many Google applications, they have a good search engine(But these days all search engines anyways return more or less same results), they have many other fantastic applications, most of them just generate the hype but don't generate any real income. But I hate the way they have turned into the evil that they said they are fighting against, A monopolistic, Capitalistic, Evil corporation.

I wonder if some day Google will install a search box in the toilet seat where I will type "toilet paper", bang comes the reply "Look on the side tray dammit!!!"

Labels: , , ,