Welcome to the WebLogic Examples repository! Here, you'll find tutorials and examples that will help you get started with WebLogic quickly. Whether you're a seasoned developer or just beginning your journey, these examples will showcase the powerful features of WebLogic and help you hit the ground running. Dive in and explore the possibilities!
Tip
If you are looking for an example that runs on a specific version of WebLogic, please check out the corresponding branch. For example, if you are looking for an example that runs on WebLogic 14.1.2, please check out the 14.1.2
branch.
To get started, clone the repository and navigate to the example in which you are interested. Each example contains a README.md
file that provides detailed instructions on how to run the example. To run the example on your local machine, follow the instructions in the README.md
file.
git clone https://github.com/oracle-samples/weblogic-examples.git
cd weblogic-examples
Example | Source | Description | Runs on 15.1.1 | 14.1.2 | 12.2.1.4 | Builder | Highlights | Notes |
---|---|---|---|---|---|---|---|---|
Basic Faces | basicfaces repo |
A simple JSF application that demonstrates how to deploy a web application to WebLogic. | ✅ 🟡 | ✅ | ✅ | Gradle | JSF | 🟡 Not optimized for Jakarta EE 9.1 descriptors. |
Simple Servlet | simpleservlet repo |
A simple servlet application that demonstrates how to deploy a web application to WebLogic. | ✅ | ❌ | ❌ | Maven | servlet Jakarta EE 9.1 |
|
WebLogic Cafe | Microsoft weblogic-on-azure repo |
A sample application that showcases the WebLogic on Azure solution. | 🟡 | ✅ | ✅ | Maven | OpenRewrite | 🟡 To deploy to WebLogic 15.1.1 (BETA), follow this tutorial to upgrade the application to use Jakarta EE 9.1 and Java 21 on WebLogic. |
Spring Framework PetClinic (WLS 12.2.1.4) | spring-petclinic repo |
A well-known Spring Framework demo application modified to run on WebLogic 12.2.1.4. | 🟡 | ✅ | ✅ | Maven | Spring Framework 5.3.x | 🟡 To deploy to WebLogic 15.1.1 (BETA), follow this tutorial to upgrade the application to use Jakarta EE 9.1, Java 21, and Spring Framework 6.2.x on WebLogic. |
Also, check out the tutorials and follow the instructions to run them.
Tutorial | Description |
---|---|
Migrate WebLogic Cafe to WLS 14.1.2 | This tutorial shows you how to upgrade the WebLogic Cafe sample application to WebLogic 14.1.2 and Java 21. |
Migrate WebLogic Cafe to WLS 15.1.1(BETA) | This tutorial shows you how to upgrade the WebLogic Cafe sample application to WebLogic 15.1.1 (BETA), Java 21, and Jakarta EE 9.1. |
Migrate Spring Framework PetClinic to WLS 15.1.1(BETA) | This tutorial shows you how to upgrade the Spring Framework PetClinic sample application to WebLogic 15.1.1 (BETA), Java 21, Jakarta EE 9.1, and Spring Framework 6.2.x. |
Deploy Spring Framework PetClinic to WLS 14.1.2 running in a container | This tutorial shows you how to deploy the Spring Framework PetClinic 12.2.1.4 example application on WebLogic Server 14.1.2 running in a container (Docker or Podman). |
We have a public Slack channel where you can get in touch with us, to ask questions about WebLogic and the examples, or give us feedback or suggestions about features and improvements you would like to see. We would love to hear from you.
To join our channel, please visit this site to get an invitation. The invitation email will include details on how to access our Slack workspace. After you are logged in, please go to #general and say, "Hello!"
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.
Please consult the security guide for our responsible security vulnerability disclosure process.
Copyright (c) 2025 Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.