O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring and Deploying Open Source with IBM WebSphere Application Server Liberty Profile

Book Description

This IBM® Redbooks® publication explains the capabilities of IBM WebSphere® Application Server Liberty profile (Liberty profile), which is 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 by using OSGi technology and concepts. The fit-for-purpose nature of the run time relies on the dynamic behavior that is 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 Liberty profile server.

The following popular open source toolkits for the Liberty profile server were selected for this book based on the significant enhancements they provide to the web application development process:

  • Apache Maven

  • Spring Framework

  • Hibernate

  • Jenkins

  • Opscode Chef

  • Arquillian

  • MongoDB

  • In this book, the Todo sample demonstrates the use of multiple open source frameworks or toolkits with the Liberty profile server, including Maven, MongoDB, Spring, JPA, Arquillian, Wicket, and others. The Todo sample is a simple application that can be used to create, update, and delete todo items and todo lists, and put the todo items into a related todo list.

    Table of Contents

    1. Front cover
    2. Notices
      1. Trademarks
    3. IBM Redbooks promotions
    4. Preface
      1. Authors
      2. .Now you can become a published author, too!
      3. Comments welcome
      4. Stay connected to IBM Redbooks
    5. Chapter 1. IBM 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
    6. 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
    7. Chapter 3. Implementing and testing back-end 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
      3. 3.3 Docker Hub support
    8. Chapter 4. Continuous integration with Jenkins on Liberty profile server
      1. 4.1 Installing Jenkins on a Liberty profile server
        1. 4.1.1 Setting JENKINS_HOME
        2. 4.1.2 Securing Jenkins on a Liberty profile server
        3. 4.1.3 Configuring Jenkins
      2. 4.2 Setting up a Jenkins job
    9. Chapter 5. Front-end development on the Liberty profile server
      1. 5.1 RESTful web service with an 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 the Todo application
        4. 5.2.4 Issues found during development
        5. 5.2.5 Testing the Todo Wicket application
    10. Chapter 6. Deploying the Liberty profile server with Opscode 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 binary files
        3. 6.3.3 Creating Liberty profile server configurations
        4. 6.3.4 Starting Liberty profile servers
    11. Chapter 7. Working with third-party tools on the Liberty profile server
      1. 7.1 Apache ActiveMQ with Liberty profile server
        1. 7.1.1 Example: Simple JMS application on a Liberty profile server
      2. 7.2 Apache James with Liberty profile server
        1. 7.2.1 Example
    12. Appendix A. Additional material
      1. Locating the web material
      2. Using the web material
    13. Related publications
      1. IBM Redbooks
      2. Online resources
      3. Help from IBM
    14. Back cover