Tuesday, December 25, 2007

why a servlet is preferred for JDBC

Servlet is preferred for JDBC code and not a static initializer block in a Class because the latter will be able to provide connections only when the static initializer block is run not before that ...
on the other hand ... servlet can be loaded on startup

6 comments:

Anonymous said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my site, it is about the CresceNet, I hope you enjoy. The address is http://www.provedorcrescenet.com . A hug.

Lavnish said...

hi buddy thanks for encouraging comment ... i would love to read ur blog .. but can u tell me which translator to use ... ? I understand english only ...

cheerz !!

firebird said...

Hi, I am new to Java and i really like it. I appreciate you blog ... Keep it going

Lavnish said...

thanx ... your comments / appreciation will definately help me keep it going ... :)

Lavnish said...

one more thing "firebird" its not about being new .. or being experienced in java .. its about having enthu for java(something) desire to learn and experience ...

Anonymous said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Monitor de LCD, I hope you enjoy. The address is http://monitor-de-lcd.blogspot.com. A hug.