Create EJB rest api and activate only based on certain condition

by Hi X Dmf   Last Updated July 11, 2019 12:03 PM

I have certain EJB calls in my legacy application. however this is not exposed externally. For testing purposes I need to create a rest api that can expose this call. However this should not go to production. In spring we can activate a controller this based on spring profile. How can i do this in a EJB application.

Tags : webservice


Related Questions


generic java web service client

Updated May 26, 2015 22:01 PM


Java servlet program

Updated March 31, 2016 08:01 AM

How to import XSDs into WSDL in ASP.NET Webservice?

Updated April 29, 2016 08:01 AM

Copied Web API only responds with 404 error

Updated May 30, 2016 08:01 AM