TCM
TCM

Reputation: 16900

What happens if I started creating/closing DB connections in "JSP"?

I just happened to read this post :-

Questions every good Java/Java EE Developer should be able to answer?

On this link there is one question by Elister :- What happens if I started creating/closing DB connections in "JSP"? I am not able to answer this. What would happen? Any disadvantages? And what would i do to prevent it?

Thanks in advance :)

Upvotes: 1

Views: 999

Answers (1)

Aravind Yarram
Aravind Yarram

Reputation: 80176

i guess he is expecting the answer to be layered architecure: specificaly MVC and DOA patterns

Upvotes: 1

Related Questions