Liberty Repository

All assets

Daytrader 3 Sample

This sample contains the DayTrader 3 benchmark, which is an application built around the paradigm of an online stock trading system.

Download

Hibernate Java Persistence API (JPA) Sample

The following sample contains a server definition which contains a very simple JPA application consisting of a single servlet and a JPA servlet. The sample shows how you can replace the default JPA provider in Liberty profile with an alternative JPA provider.

Download

Portlet Container

This feature provides a runtime environment for JSR 168 and JSR 286 compliant portlets.

Portlet Serving

This feature provides the Portlet serving or URL Addressability functionality for JSR 168 and JSR 286 compliant portlets. This feature allows to invoke a portlet under a defined URL from a browser.

Static Cluster Member

This feature allows a collective member to participate in a static cluster.

Collective Controller

The collective controller feature allows a server to become the controller for a management collective. The collective controller acts as a command and control mechanism for administrative functions for the collective, and serves as a storage and collaboration mechanism for the collective and cluster members.

WebSocket Sample

The following sample contains a server definition which supports WebSockets using a default configuration setting for HTTP transport and webcontainer.

Download

Custom User Registry Sample

This sample demonstrates how to configure a Custom User Registry Liberty user feature as a User Registry for authentication.

Download

Java Architecture for XML Bindings

This feature enables support for the Java Architecture for XML Binding 2.2 specification, which provides easy mapping of Java classes to XML documents.

Java API for XML Web Services

This feature enables support for Java API for XML-Based Web Services 2.2. JAX-WS web services and clients communicate using XML. Annotations can be used to simplify the development of JAX-WS clients and endpoints.

WebSphere Embedded Messaging JMS Client

This feature provides applications with access to message queues hosted on WebSphere Application Server through the JMS 1.1 API. It enables access both to the messaging engine enabled via the wasJmsServer feature, and to a service integration bus hosted in a full profile server.

WebSphere Embedded Messaging Server

This feature enables an embedded messaging server in the server. Applications can operate on messages in this engine by using the wasJmsClient feature.

WebSphere MQ JMS Client

This feature provides applications with access to message queues hosted on WebSphere MQ through the JMS 1.1 API.

MongoDB Java Driver

This feature enables the usage of the MongoDB Java Driver and allows DB instances to be configured in the server configuration, injected into managed components such as EJBs, and accessed through JNDI. Applications interact with these DB instances via the MongoDB APIs

JMS Message-Driven Beans

This feature enables the use of JMS Message-Driven Enterprise JavaBeans. MDBs allow asynchronous processing of messages within a Java EE component.

Web Service Security

This feature provides support for securing JAX-WS web services using a WS-Security policy.

Web Cache Monitor

This feature provides monitoring of the distributed map cache and provides simple cache statistics, cache entries, and cache policy information for Servlet cache instances.

Struts v2.3.8 Integration

This open source integration demonstrates Struts 2 Web framework integration through a simple phonebook sample Web application deployed to Liberty.

Download

Web Services Sample

The following sample demonstrates developing web services applications on the Liberty profile using the jaxws-2.2 feature, which is included in the extended content for the Liberty profile.

Download

MongoDB Sample

The following sample demonstrates the Liberty Extended Profile’s ability to configure a MongoDB database to inject a com.mongodb.DB instance into a class to perform a number of insert/find operations.

Download

Java Message Service (JMS) Sample Client

The following sample demonstrates running a JMS client application without creating a messaging engine. The JMS application connects remotely to a messaging engine running in a different Liberty Profile.

Download

Servlet JDBC Sample

The following sample contains a server definition for basic servlet support, illustrating a simple datasource definition using an included configuration file.

Download

Servlet Sample

The following sample contains a server definition which supports servlets using a default configuration setting for HTTP transport and webcontainer.

Download

z/OS Security

The z/OS snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with z/OS security.

Download

EJB Security

This configuration enables security for EJB applications. This configuration also includes an example of a basic user registry and a sample application with an application binding to map users and groups to roles.

Download

Tivoli Directory Server SSL Enabled

The Tivoli Directory Server with SSL enabled snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Tivoli Directory Server.

Download

Tivoli Directory Server

The Tivoli Directory Server snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Tivoli Directory Server.

Download

Sun Java System Directory Server

The Sun Java System Directory Server snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Sun Java System Directory Server.

Download

Novell eDirectory Server

The Novell eDirectory Server snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Novell eDirectory Server.

Download

Netscape Directory Server

The Netscape Directory Server snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Netscape Directory Server.

Download

IBM SecureWay Directory Server

The IBM SecureWay Directory Server snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with IBM SecureWay Directory Server.

Download

Lotus Domino Directory Server

The Lotus Domino Directory Server snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Lotus Domino Directory Server.

Download

Active Directory LDAP

The Active Directory snippet provides a snippet of server configuration that can be used to configure the Liberty profile to authenticate users with Active Directory.

Download

Secure EJB Sample

The following sample demonstrates how to secure EJBs in your application by providing a servlet protected by a role, which invokes a method on an injected EJB.

Download

Wicket v6.6 Integration

This open source integration demonstrates Spring and Spring MVC integration through a simple phonebook sample Web application deployed to Liberty.

Download

Tapestry v5.3.6 Integration

This open source integration demonstrates Tapestry component framework integration through a simple phonebook sample Web application deployed to Liberty.

Download

Struts v1.3.8 Integration

This open source integration demonstrates Struts 1 Web framework integration through a simple phonebook sample Web application deployed to Liberty.

Download

Stripes v1.5.7 Integration

This open source integration demonstrates Stripes Web framework integration through a simple phonebook sample Web application deployed to Liberty.

Download

Scala v2.10.1 Integration

This open source integration demonstrates Scala integration through a simple Hello World sample Web application deployed to Liberty.

Download

PrimeFaces v3.5 Integration

This open source integration demonstrates PrimeFaces JSF component suite integration through a simple phonebook sample Web application deployed to Liberty.

Download

Mojarra v2.1.20 Integration

This open source integration demonstrates the use of the Mojarra JSF implementation through a simple phonebook sample Web application deployed to Liberty.

Download

Lift v2.0 Integration

This open source integration demonstrates Lift framework integration through a simple phonebook sample Web application deployed to Liberty.

Download

ICEfaces v3.2 Integration

This open source integration demonstrates ICEfaces JSF framework integration through a simple phonebook sample Web application deployed to Liberty.

Download

Hibernate v3.6.9 Integration

This open source integration demonstrates Hibernate integration through a simple phonebook sample Web application deployed to Liberty. The application uses Hibernate as the object-relational mapping layer to handle data persistence, and SpringMVC for presentation and business logic.

Download

Grails v2.2.1 Integration

This open source integration demonstrates Grails application framework integration through a simple phone book sample Web application deployed to Liberty. The application provides the ability to manage phonebook users and work with phonebook entries.

Download