Archive for July, 2004

JNDI on JServ :)

July 22, 2004

While the rest of the world seems to be getting high on WebLogic, Webshere or atleast Tomcat I’m still left low and with no-go on JServ!! Even the developers abandoned it like ages ago but the customers don’t seem to :( well “if it is, it is” – Karma what else can I say. What sucks the most is all the “cool” features like pooling, JNDI, EJB …. to hell I can’t even write JSP’s on JServ (not counting GNUJSp …. What the !!).

So now that the time has come for me to fix the connection pooling in my application, I  thought I will reuse the pooling provided by mighty Oracle themselves. But what sucks is that I don’t have JNDI and without that all the coolness seems to fade :D . So I went around looking for independent JNDI implementation. I thought http://jakarta.apache.org/ would have one in their http://jakarta.apache.org/commons/ but alas it’s still stuck in Tomcat. I did not want to wade through all the dependencies to get that one working.

Looking around I found a couple of them(to be exact).

  1. http://www.osjava.org/simple-jndi/ Simple JNDI
  2. http://oocjndi.sourceforge.net/ OOC JNDI

The first as it says is quite simple. The author mentioned that it was used for unit testing, but me being me thought what the hell … lets get it working on a production environment (just kidding), but I did try and it did work. The problem in this JNDI lies in the lookup. Every time you do a lookup it creates a new DataSource. So the whole point of pooling is shot!

Movin on without much hope tried the OOC … but hope lives!! This thing almost seem to work for me. Has a decent xml configuration …supports all sorts of Sources and Factories too. But the only 1 thing missing is the shutting down of the pool as the container is not going to do it for me. I’ll have to write my own configuration reading and shutting down logic :( . Then I might as well read the configuration and bind the datasources manually. Might be a good exercise for me or should I delegate ;P ???

Gmail galore

July 7, 2004

Been using gmail for sometime … well mebe … I’ve not given the id to many people around cuz I’ve been using Yahoo forever … one of these days mebe I’ll make the switch. For now I’m using gmail for my Daily Dilbert and all my Yahoo Groups mail.

But I don’t think I’m gmail’s biggest fan :( , I got my complaints. For one I like to move my messages around to folders. I would have luv’d to have an option to label it to move it … well you can’t have everything. But you gotta give it to them it’s light, very usable and lightning fast :)

Was prowling around in Gmail Forums found some cool tools to play around when I get the time( whoever had all the time they needed!!)

GTray
GetMail for Hotmail
G-Mailto v1.3
PGtGM

Only a Thumper for me

July 7, 2004

Been a long time since I last posted … well nothing much has been happening around here (I guess). Had a bought myself a Royal Enfield Machismo 350cc :) , drinks gas like the tank had a hole in it gotta tank it up every now and then. But worth every drop of it :) looks like a real beast sounds like one ! and finally when I let it rip, it was a devil at around 80 :D .