READ Free Dumps For Oracle- 1z0-897
Question ID 4496 | A developer needs to write a Web service that supports user sessions that timeout after 120 seconds. Which configuration file is correct for the developer use? (Choose one) |
Option A | A. web.xml |
Option B | B. server.xml |
Option C | C. ejb-jar.xml |
Option D | D. service-config.xml |
Correct Answer | A |
Question ID 4497 | A developer is creating a web service endpoint using a stateless session EJB for the business logic of an application. Choose two methods to select role based access control for the business logic ? (Choose two) |
Option A | A. Using method-permission element in ejb-jar.xml |
Option B | B. Using .htaccess file in the application's ear |
Option C | C. Using <security-role> element in web.xml |
Option D | D. By specifying security annotations like @RolesAllowed in the EJB class |
Correct Answer | A,D |