Re: Where is the best place to initiate the mini app in the server side? (116 Views)
Reply
Occasional Advisor
Avi-Vaknin
Posts: 15
Registered: ‎03-13-2013
Message 1 of 2 (145 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.

 

 

Please use plain text.
Honored Contributor
Yossi_Gutin
Posts: 209
Registered: ‎04-04-2013
Message 2 of 2 (116 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.
Please use plain text.
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