HPE Anywhere Developer Forum
cancel

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

SOLVED
Go to solution
Highlighted
Avi-Vaknin
Regular Contributor.

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.

 

 

1 REPLY
Yossi_Gutin
Outstanding Contributor.
Solution

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.