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

Updated May 26, 2015 22:01 PM

Updated June 26, 2015 12:17 PM

Updated March 31, 2016 08:01 AM

Updated April 29, 2016 08:01 AM

Updated May 30, 2016 08:01 AM