Wednesday, January 17, 2007

Event Delegation Model explained

Event delegation model for Java was a good design as against the previous 1.0 model that SUN had come up with.But as is the case with all design models/patterns we need to understand it properly to utilize the model/pattern as it was intended by the creator. My attempt to explain to a junior why the event-delegation model is better over its counterpart. Takes a very simple example to understand the model.

Click here for the document.

For detailed info on the same plzz visit the SUN link here.

Wednesday, January 10, 2007

First step towards JDBC

A junior asked me a few doubts about JDBC and while clearing his doubts i realized that there were many things that i had overlooked while learning about JDBC myself. So the reasearch that went behind why-somethings-are-done-the-way-they-are saw me uploading a new document that specifies the first step towarsd JDBC.

The document is in an algorithmic form and just tells u the reasons behind the order of calls of the JDBC API's. It stops when u have created a Statement and can fire queries, essentially the point where SQL queries take over JAVA. How to fire queries, ect would soon be appended to the document.

The document can be viewed here

Everytime i upload a document I dont forget to say thanx to google. Its made sharing of docs/ideas so much easier

Thursday, January 04, 2007

Using Eclipse to create a web-based project

A little curiousity and self study saw me installing eclipse 3.1 and executing my web-pages thru it. To execute just a normal html page I had to do a lot of settings and that was a reason enough to write a doc to help out the newbies.

The doc has been uploaded on net and can be accessed here

Incase you want me to add/modify anything do lemme know.