Java development example with Cloudflare Computer #74
thesurenk
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Proposal
Summary
Add an examples/think-java example showing how Cloudflare Computer can provide a persistent Java workspace with JDK 21 and Maven running in a container.
Background and motivation
The repository demonstrates JavaScript and shell workflows, but it does not currently include a Java development example.
Java developers need a persistent project directory and access to standard tools such as Maven, JUnit, and Git. This example would show how a Durable Object stores the source files while a Cloudflare Container compiles and tests them.
Goals
Example
A user starts the terminal client and requests:
The workspace keeps the Maven project at /workspace/starter. Java and Maven commands run in the container:
The project remains available when the user reconnects to the same workspace.
Would this example be useful for the repository? I’m happy to adjust it based on feedback before opening a pull request.
Fork: https://github.com/thesurenk/computer/tree/java-examples/examples/think-java
All reactions