Where is the best place to initiate the mini app in the server side? (244 Views)
Reply
Occasional Advisor
Avi-Vaknin
Posts: 15
Registered: ‎03-13-2013
Message 1 of 2 (244 Views)
Accepted Solution

Where is the best place to initiate the mini app in the server side?

Where is the best place to initiate the mini app in the server side? for example: connections to the data source.

 

 

Honored Contributor
Yossi_Gutin
Posts: 209
Registered: ‎04-04-2013
Message 2 of 2 (215 Views)

Re: Where is the best place to initiate the mini app in the server side?

Hi

It's recommended to use DataSourceService in order to get your backend whereabouts and to use regular Java/Spring patterns in order to initalize the pool (lazy evaluation, @PostConstruct)

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.