16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.4 Using Community Edition JMS resource ............................................................. 118<br />

6.4.1 Accessing queues or topics from a Web application .................................... 119<br />

6.4.2 Message-driven beans ................................................................................. 120<br />

6.4.3 Stand-alone Java application ....................................................................... 121<br />

6.5 Summary .............................................................................................................. 121<br />

6.6 Exercises ............................................................................................................. 122<br />

6.7 Review questions ................................................................................................. 123<br />

Chapter 7 – Web Services ............................................................................................ 127<br />

7.1 Community Edition Web Services: The big picture ............................................. 127<br />

7.2 Developing Web Services in Community Edition ................................................ 128<br />

7.2.1 Creating a Web Service project in Eclipse ................................................... 129<br />

7.2.2 Creating a service endpoint interface ........................................................... 129<br />

7.2.3 Providing the service implementation class .................................................. 129<br />

7.2.4 Deploying the Web Service in Community Edition ....................................... 130<br />

7.3 Consuming a Web Service deployed in Community Edition ............................... 131<br />

7.3.1 Creating necessary stubs to consume the Web Service .............................. 131<br />

7.3.2 Creating a POJO client ................................................................................. 133<br />

7.3.3 Creating a Web client ................................................................................... 136<br />

7.3.4 Using service reference tag in a Java EE application .................................. 138<br />

7.4 Creating Data Web services <strong>with</strong> IBM Data Studio ............................................. 139<br />

7.5 Summary .............................................................................................................. 141<br />

7.6 Exercises ............................................................................................................. 141<br />

7.7 Review questions ................................................................................................. 142<br />

Chapter 8 – Security ..................................................................................................... 145<br />

8.1 Community Edition Security: The big picture ....................................................... 145<br />

8.2 Configuring the security realm ............................................................................. 146<br />

8.3 Implementing security in a Java EE application .................................................. 149<br />

8.3.1 Defining role mapping ................................................................................... 149<br />

8.3.2 Implementing EJB Security........................................................................... 149<br />

8.3.3 Implementing Web security .......................................................................... 152<br />

8.4 Managing users and groups for Community Edition administrative interface ..... 154<br />

8.5 Securing your data <strong>with</strong> trusted contexts ............................................................. 155<br />

8.6 Summary .............................................................................................................. 156<br />

8.7 Exercises ............................................................................................................. 156<br />

8.8 Review questions ................................................................................................. 158<br />

PART III – ADMINISTERING COMMUNITY EDITION .................................................. 161<br />

Chapter 9 – Administering Community Edition ......................................................... 163<br />

9.1 Administering Community Edition: The big picture .............................................. 163<br />

9.2 Starting and stopping the server .......................................................................... 164<br />

9.2.1 Starting the server ........................................................................................ 164<br />

9.2.2 Stopping the server ....................................................................................... 165<br />

9.3 Configuring the Community Edition server manually ........................................... 165<br />

9.3.1 Setting the IP address and hostname .......................................................... 166

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

Saved successfully!

Ooh no, something went wrong!