Shyamsunder Reddy ha scritto:
What is the best place to call Websphere DataSource in Struts application.
Eheh, it's not so simple :-)
Instantiate it when ActionServlet is loaded and then pass onto Model classes as
reference
ABSOLUTELY NOT!
OR create a static class that instantiates the
What is the best place to call Websphere DataSource in Struts application.
Instantiate it when ActionServlet is loaded and then pass onto Model classes as
reference OR create a static class that instantiates the DataSource and
getConnections from this class which should be Singleton
2 matches
Mail list logo