MVC architecture question

In my application design I use a servlet controller.

Is it wise to make all the connections to the ejbs (lookups) in the init method of the servlet and save it in the ServletContext object so when I need to use it in a jsp view just to extract it from the application object?

Thamk you in advance,

Best regards

Dan Bunea

[358 byte] By [danbunea] at [2007-9-26 6:03:35]
# 1
hi, I think the better idea would still be to write a coordinator class. this class will have lookups to all ur beans and access this class from your servlet. This contributes to a better MVC arch.regardsChandan
chandankalra at 2007-7-1 14:45:14 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
>write a coordinator classYee, but were do you store that coordinator classso, that it is accessible for the whole applications servlets or jsps
mila at 2007-7-1 14:45:14 > top of Java-index,Other Topics,Patterns & OO Design...