You are previewing Configuring and Deploying Open Source with WebSphere Application Server Liberty Profile.
O'Reilly logo
Configuring and Deploying Open Source with WebSphere Application Server Liberty Profile

Book Description

This IBM® Redbook®s publication explains the capabilities of IBM WebSphere® Application Server Liberty profile, which is extremely lightweight, easy to install, and fast to use. Liberty profile provides a convenient and capable platform for developing and testing your web and OSGi applications. The Liberty profile server is built using OSGi technology and concepts. The fit-for-purpose nature of the run time relies on the dynamic behavior inherent in the OSGi framework and service registry. As bundles are installed or uninstalled from the framework, their services are automatically added or removed from the service registry. The result is a dynamic, composable run time that can be provisioned with only what your application requires and responds dynamically to configuration changes as your application evolves.

This book can help you install, customize, and configure several popular open source technologies that can be deployed effectively with the WebSphere Application Server Liberty profile.

Popular open source toolkits for the Liberty profile server were selected for this book based on significant enhancements they provide to the web application development process.

In this book, a "Todo" sample demonstrates the use of multiple open source frameworks or toolkits with the Liberty profile server. The Todo sample is a simple application that can be used to create, update, and delete to-do items and to-do lists, and put the to-do items into a related to-do list.

Table of Contents

  1. Front cover
  2. Notices
    1. Trademarks
  3. Preface
    1. Authors
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  4. Chapter 1. WebSphere Application Server Liberty profile
    1. 1.1 Overview of Liberty profile server
    2. 1.2 Strengths of Liberty profile server
      1. 1.2.1 Simple configuration
      2. 1.2.2 Runtime composition with features and services
      3. 1.2.3 Developer First focus
      4. 1.2.4 Multiple programming model support
      5. 1.2.5 Easy extensibility for custom features and third-party components
      6. 1.2.6 Easy access
      7. 1.2.7 Fast and small footprint
      8. 1.2.8 Compatibility with WebSphere Application Server full profile
  5. Chapter 2. Open source frameworks and toolkits selection
    1. 2.1 Apache Maven
    2. 2.2 Spring Framework
      1. 2.2.1 Spring Framework modules
    3. 2.3 Hibernate
    4. 2.4 Jenkins
    5. 2.5 Opscode Chef
    6. 2.6 Arquillian
    7. 2.7 MongoDB
  6. Chapter 3. Implementing and testing backend services on Liberty profile server
    1. 3.1 Setting up the development environment
    2. 3.2 Project outline of the todo list sample application
      1. 3.2.1 The simple todo-parent project
      2. 3.2.2 The todo-service-api project
      3. 3.2.3 The todo-liberty-server project
      4. 3.2.4 The todo-service-inmemory-impl project
      5. 3.2.5 The todo-service-mongodb-impl project
      6. 3.2.6 The todo-service-jpa-impl project
  7. Chapter 4. Continuous integration with Jenkins on Liberty
    1. 4.1 Install Jenkins on Liberty profile server
      1. 4.1.1 Setting JENKINS_HOME
      2. 4.1.2 Securing Jenkins on Liberty profile server
      3. 4.1.3 Configure Jenkins
    2. 4.2 Setting up a Jenkins job
      1. 4.2.1 Configuring Job with Apache Subversion repository
  8. Chapter 5. Front-end development on the Liberty profile server
    1. 5.1 RESTful Web Service with Ajax front end
      1. 5.1.1 Java Web Services on the Liberty profile server
      2. 5.1.2 Java API for RESTful web services
      3. 5.1.3 Dojo Toolkit
      4. 5.1.4 Integration testing with JWebUnit on the Liberty profile server
    2. 5.2 Apache Wicket
      1. 5.2.1 Simple Todo application in Apache Wicket
      2. 5.2.2 Setting up the Apache Wicket with Spring and JPA Hibernate project
      3. 5.2.3 Developing todo application
      4. 5.2.4 Issue found during development
      5. 5.2.5 Testing Todo Wicket application
  9. Chapter 6. Deploying Liberty profile server with Chef
    1. 6.1 About Knife, Recipe, and other terms
    2. 6.2 Preparing for Chef
      1. 6.2.1 Preparing the test machines
      2. 6.2.2 Installing Chef
    3. 6.3 Installing Liberty profile server with Chef
      1. 6.3.1 Loading the wlp cookbook
      2. 6.3.2 Deploying the Liberty profile server binaries
      3. 6.3.3 Creating Liberty profile server configurations
      4. 6.3.4 Starting Liberty profile servers
  10. Chapter 7. Working with third-party tools on Liberty profile server
    1. 7.1 Apache ActiveMQ with Liberty profile server
      1. 7.1.1 Example
    2. 7.2 Apache James with Liberty profile server
      1. 7.2.1 Example
  11. Appendix A. Additional material
    1. Locating the Web material
    2. Using the Web material
  12. Related publications
    1. IBM Redbooks
    2. Online resources
    3. Help from IBM
  13. Back cover