I'm developing an API that connects UniVerse database to a REST endopoint. The problem is that we dont have license for native connection pooling using the UniVerse library for Java.
This software is developed in Java using Spring Boot, and the way I open sessions to universe
uniSession = uniJava.openSession();
uniSession.setHostName(server);
uniSession.setUserName(userName);
uniSession.setPassword(password);
uniSession.setAccountPath(accountPath);
uniSession.connect();
I iterate over that and save sessions in a list "freeSession", when I get a request I pop a session from that list, move it to "occupiedSession", use it and return back to "freeSession".
but the problem is that in the list of sessios all are the "same". I mean, I can't recieve concurrent petitions because my API only have "one sesion" to interact with UniVerse server.