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.

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

7. A<br />

8. B<br />

9. A<br />

10. A, C<br />

Chapter 3 – Development<br />

1. WEP is the server adapter for Community Edition. It facilitates Web application<br />

development in Eclipse <strong>with</strong> Community Edition.<br />

2. IBM Data Studio includes WEP functionality, so you don't need to install the WEP<br />

separately. It also includes all the functionality required to work <strong>with</strong> DB2 and data<br />

Web services. You can work immediately <strong>with</strong> Community Edition and DB2 after<br />

installing IBM Data Studio.<br />

3. To deploy the application into Community Edition right-click on the servlet in the<br />

Project Explorer, and choose Run As -> Run on <strong>Server</strong>.<br />

4. Right-click on the application in the Project Explorer, and choose Run As -> Run<br />

on <strong>Server</strong>.<br />

5. Yes. Using deploy command line or deploy it <strong>with</strong> Admin Console<br />

6. A<br />

7. A<br />

8. A, B, C<br />

9. A, B, C<br />

10. A, B<br />

Chapter 4 – Databases<br />

1. JDBC<br />

2. The steps to use Java API to access database<br />

a) Initialize a naming context to look up data source JNDI<br />

b) Get connection from database pool and access data<br />

c) Close unnecessary database connection after accessing data<br />

3. JDBC type 4 compliant driver db2jcc4.jar<br />

4. java:comp/env/<br />

5. DB2, Oracle, SQL <strong>Server</strong>, MySQL, Informix<br />

6. C, D<br />

7. B

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

Saved successfully!

Ooh no, something went wrong!