jndi database connection pool to slow ?

G

gert

So here i was selling my self to a j2ee consulting company hoping they
would hire me. And while i was lucky to hit the jackpot, meaning
getting a chance to talk to some one that actually knows j2ee, i
starting to discus about why ejb 2.x struts jsf or any non pure xhtml
css javascript (ajax) solution was a bad idea and that i really like
sql more then using a orm layer. You can imagine this was starting to
look more like a battlefield then a job interview :)

I could defend my self on all grounds except for two things

1) everybody is using struts and hibernate
2) he said making a jndi connecting pool was slow.

Can any one explain to me why jndi/jdbc is slow and whats the
alternative ?
 
L

Lew

gert said:
So here i [sic] was selling my self to a j2ee [sic] consulting company hoping they
would hire me. And while i [sic] was lucky to hit the jackpot, meaning
getting a chance to talk to some one that actually knows j2ee, i [sic]
starting to discus about why ejb 2.x struts [sic] jsf [sic] or any non pure xhtml [sic]
css [sic] javascript [sic] (ajax [sic]) solution was a bad idea and that i [sic] really like
sql [sic] more then using a orm [sic] layer. You can imagine this was starting to
look more like a battlefield then a job interview :)

I agree with some of what you say, with reservations.
I could defend my self on all grounds except for two things

1) everybody is using struts and hibernate

Not everybody, and not always well, and never without difficulty.

The trouble is that people use these tools *without understanding the
paradigm* behind them. For Struts, it's the Model-View-Controller (MVC)
pattern. I've worked on teams where people knew the Struts API cold but
didn't understand the MVC architecture. Sad.

ORM layers are for people ign'ant of SQL. The new stuff, OTOH, with the Java
Persistence API (JPA) annotations, is actually useful. Try writing a good
data-access layer yourself; it's not trivial.
2) he said making a jndi [sic] connecting pool was slow.

Can he prove that? Has he ever measured it?

Somehow I doubt it.
Can any one explain to me why jndi [sic]/jdbc [sic] is slow and whats the
alternative ?

I'd be curious to know *if* it's "slow", what "slow" means in that context,
and compared to what. Somehow I doubt it.

It is not always good interview technique to inform the interviewer that he
has his head up his ass, particularly if you prove it.
 
G

gert

It is not always good interview technique to inform the interviewer that he
has his head up his ass, particularly if you prove it.

I brought some nuclear weapons of sample code to show him (expecting
FBI any minute now :)

Man, I suck at naming 3 positive and 3 negative points of my self. Who
likes to talk about himself anyway? Next time someone ask me, I am
going to answer: the positive thing is I like elephants and birds.
Negative thing is I don't like hot dogs.

In the end he still got me shot with AOP, because I never made
programs that where complex enough to make use of AOP or some advanced
annotations styles.

PS What time in English history did they decide to write I in
uppercase?
 
L

Lew

And why didn't they write me like Me in mid-thirteenth old school?

GIYF. That's how I found out the answer to your first question. How about
you do the research and tell us this time?

I suspect that ultimately the answer is, "Because language is a psycho-social
phenomenon, and people aren't utterly rational." I do think I remember
something about making it easier to read the word.

I'm not sure. Your research will get to the heart of it, of that I am sure.
 
G

gert

GIYF. That's how I found out the answer to your first question. How about
you do the research and tell us this time?

I suspect that ultimately the answer is, "Because language is a psycho-social
phenomenon, and people aren't utterly rational." I do think I remember
something about making it easier to read the word.

I'm not sure. Your research will get to the heart of it, of that I am sure.

Yep i came to a conclusion Chines is the superior language for a java
programmer :)

http://www.apa.org/monitor/apr99/english.html
 
R

Roedy Green

PS What time in English history did they decide to write I in
uppercase?

Certainly when I started using computers, everything was all upper
case. In perhaps the mid seventies you could get lower case documents
printed by special request. They had to change the print band on the
printer which made it much slower.

I think in was around 1977 when personal computers and word processors
took off that lower case became ubiquitous. It came with dot matrix
and daisy wheel printers.

Mainframes flipped to laser printers, which made lower case feasible.
 
J

John W. Kennedy

gert said:
And why didn't they write me like Me in mid-thirteenth old school?

Because "i" is a little tiny letter that easily gets lost in
thirteenth-century handwriting. Simple as that.
--
John W. Kennedy
"Though a Rothschild you may be
In your own capacity,
As a Company you've come to utter sorrow--
But the Liquidators say,
'Never mind--you needn't pay,'
So you start another company to-morrow!"
-- Sir William S. Gilbert. "Utopia Limited"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,173
Latest member
GeraldReund
Top