Archive for the ‘Uncategorized’ Category

Dynamic proxies

May 28, 2004

Out of the blue today felt like messing around with Dynamic Proxies :D … I mean out of nowhere !!!.

Since I wanted to use it I had to find a place where it would do some good. Found the perfect candidate in our team’s own home grown remoting architecture. It was kinda OK already with nice little refactorings going on now and then, still there was a lot of redundant code. By the way it was a [rich client]-[HTTP server] type comm. I wanted it to work RMI style :) . So how about this :

1. Client calls on a Interface wrapped by a dynamic proxy
2. This is intercepted by the Handler which does it’s own decent marshalling of argument etc.
3. Send the request to the request processor
4. Unmarshalls the response from the server and returns it to the client.

The old architecture was also similar(guess who wrote it :P ) except that the marshalling was done on a per class basis so there were a lot of classes doing almost the same work. This should prevent such code. Also this method makes coding to interfaces mandatory :) . I haven’t implemented this in my current project as it’s almost complete and any code change will probably cause my death under suspicious circumstances :D , but maybe in the next 1 or the one after that …..


Neat links :

Started off with this kinda ok article
Should have read this neat 1 first

Favorite movies

May 25, 2004

Friend of mine wanted to know my list I could think of a few but not all, so I’m gonna list ‘em all here (in no particular order) for all future reference :D . I got some listing at JoBlo’s site.


Ronin
Sleepy Hollow
The Sixth Sense
Payback
Analyze This
The Matrix
Dogma
American Pie
Big Daddy

… More when I get some :)

Looking for a new home …

May 25, 2004

I mean a new home to blog :D . Looked around and tried out some of them. Blog-city was kinda nice but way too slow and the rest that I tried were all medicore. Is there any other better ?

M9 not too bad

May 24, 2004

Tried out the M9 for a whole day !! (phew) not that it was bad :) looks wise scores a 8 outta 10 but looked a little sluggish tho. Tried out the latest notable feature of code folding. Think i can do without it, caused me more distraction that anything i’d ended up in a endless loop of collapsing and expanding things up :P . Probably also explains why it was a tad too slow.

The more exciting were the plugins. Log4E seemed to be the most exciting and should end up in me writing better code and looks a lot more configurable. Not started using it yet but wanna start real soon. EasyShell goes quite snug with the EasyExplore plugin(the most used/abused plugin of mine).

Copy fully qualified name is also quite nice.I normally maintain a log of files that I commit on a day. So now all I have to do is rt click on the file and say Copy fully …. :) .

Think i will stick with this setup for sometime …. maybe ..

Trying out the new Eclipse M9

May 24, 2004

Just got the newest version of the Eclipse IDE ;) …. Looks really cool but dunno how much of work I am going to get done :D .

Found some really cooool (read small n nifty) plugins

Easy Shell
Copy Fully qualified class name
Log4E