16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

214 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

5. Use following Steps to use a created JMS resource group in Web application<br />

6. C<br />

7. A<br />

8. B<br />

9. A<br />

10. D<br />

- Add the created JMS resource group component as a dependency in<br />

section of WEB-INF/geronimo-web.xml.<br />

- Define the JMS resource mapping in WEB-INF/web.xml.<br />

- Use JNDI lookup or Resource injection in Servlet to use the JMS resource.<br />

Chapter 7 – Web services<br />

1. No. Community Edition is a Java EE 5.0 compliant application server, so there is<br />

no difference to develop a SEI and its implement class <strong>with</strong> others.<br />

2. Community Edition has a built-in plugin named jaxws-tools which based on<br />

wsgen and wsimport tools, we can use that to generate stubs and import them<br />

into client project.<br />

3. Download axis2 v1.3 and import its lib into eclipse’s build path.<br />

4. Use the and tag in the standard Java EE<br />

deployment descriptor of web project “WEB-INF/web.xml”.<br />

5. Data Web Services refer to the ability to wrap Web services around the logic<br />

provided by the database<br />

6. C<br />

7. A<br />

8. D<br />

9. E All of the above<br />

10. B Data development project<br />

Chapter 8 – Security<br />

1. Security Realm, a concept of Community Edition, which is actually a user registry<br />

definition, containing users and groups which can map to Java EE roles used to<br />

protect resources.<br />

2. In general, access to a secured Java EE resource results in a request against the<br />

user registry to validate the presented credentials (user ID/password). The user<br />

registry by itself does not enforce any security policies or constraints<br />

(authorization). It simply validates the supplied user, group, and password

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!