Per https://github.com/OpenLiberty/open-liberty/issues/29335, we should make an essentially empty class that extends jakarta.ws.rs.core.Application, and annotate that as ApplicationScoped, while continuing to have PortfolioService be the class with the impls for each REST operation (but no longer be a subclass of Application) and be what is annotated as RequestScoped.
Note this isn't specific to Portfolio - we should do this for each of our RESTful services (Broker, Portfolio, StockQuote, Account, CashAccount, Notification)
Per https://github.com/OpenLiberty/open-liberty/issues/29335, we should make an essentially empty class that extends jakarta.ws.rs.core.Application, and annotate that as ApplicationScoped, while continuing to have PortfolioService be the class with the impls for each REST operation (but no longer be a subclass of Application) and be what is annotated as RequestScoped.
Note this isn't specific to Portfolio - we should do this for each of our RESTful services (Broker, Portfolio, StockQuote, Account, CashAccount, Notification)