Sign inSign up

groupdocs/viewer

By groupdocs

Updated 4 days ago

GroupDocs.Viewer for Java 26.9 demo (Spring & Dropwizard)

Image
1

3.5K

groupdocs/viewer repository overview

GroupDocs Document Viewer API

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

GroupDocs.Viewer Demos are applications that demonstrate powerful features of GroupDocs.Viewer for Java distributed as Docker images. View DOCX, PDF, PPT, XLS, and over 170 document formats without additional dependencies. Search and select text from any document. Use these images as-is or customize and integrate them into your own project.

Note: without a license the application runs in trial mode. Purchase a license or request a temporary license.

Security Notice

These Docker images ship sample/demo applications — not production-ready services.

  • Intended for local development and evaluation only
  • Demo defaults enable upload, browse, and download; no authentication is included
  • Do not expose port 8080 to untrusted networks without authentication, a reverse proxy, path validation, and other controls required by your organization
  • For production, use the GroupDocs.Viewer library and implement your own secure document storage and API layer

Source code: GroupDocs.Viewer-for-Java

Supported Document Formats

FamilyFormats
Portable Document FormatPDF
Microsoft WordDOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft ExcelXLS, XLSB, XLSM, XLSX, XLT, XLTM, XLTX
Microsoft PowerPointPPT, POT, POTM, POTX, PPS, PPSM, PPSX, PPTM, PPTX
Microsoft VisioVSD, VDW, VDX, VSDX, VSS, VST, VSX, VTX
Microsoft ProjectMPP, MPT
Microsoft OutlookEML, EMLX, MSG
OpenDocument FormatsODT, ODP, ODS, OTT
Plain TextTXT
Comma-Separated ValuesCSV
HyperText Markup LanguageHTML, MHT, MHTML, SVG
Extensible Markup LanguageXML, XPS
AutoCAD DrawingDGN, DWG, DXF
Image filesBMP, CAL, DCX, DIB, EMF, GIF, JP2, JPG, MIL, PCD, PCT, PCX, PNG, PSD, RAS, TGA, TIFF, WMF
Electronic publicationEPUB
Windows IconICO
Medical image filesDCM

See the full list of supported formats in the documentation.

Document Viewer Demo Features

  • Clean, modern and intuitive design
  • Responsive design and mobile support
  • HTML and image rendering modes
  • Open password-protected documents
  • Text search and highlighting
  • Download, upload, and print documents
  • Rotate pages, zoom, thumbnails, and smooth navigation
  • Cross-browser and cross-platform support

Available Docker Images

Six images are published for each GroupDocs.Viewer for Java release: three Spring and three Dropwizard variants.

Tag format: {version}-java-{jdk}-bullseye-{framework}

Example: 26.9-java-openjdk8-bullseye-dropwizard — GroupDocs.Viewer for Java 26.9, Eclipse Temurin 8, Debian Bullseye, Dropwizard.

TagJDKFramework
26.9-java-openjdk8-bullseye-dropwizardEclipse Temurin 8Dropwizard
26.9-java-openjdk11-bullseye-dropwizardEclipse Temurin 11Dropwizard
26.9-java-openjdk18-bullseye-dropwizardEclipse Temurin 21Dropwizard
26.9-java-openjdk8-bullseye-springEclipse Temurin 8Spring
26.9-java-openjdk11-bullseye-springEclipse Temurin 11Spring
26.9-java-openjdk18-bullseye-springEclipse Temurin 21Spring

The latest tag points to the 26.9-java-openjdk18-bullseye-spring variant when published with the latest workflow option.

How to Run

Pull and run a Dropwizard image:

docker run -p 8080:8080 --name viewer --rm groupdocs/viewer:26.9-java-openjdk8-bullseye-dropwizard
# Open http://localhost:8080/viewer/ in your browser.

Bind volumes for sample files and license:

docker run -p 8080:8080 --name viewer --rm \
  -v "C:/DocumentSamples/:/home/groupdocs/app/DocumentSamples" \
  -v "C:/Licenses/:/home/groupdocs/app/Licenses" \
  groupdocs/viewer:26.9-java-openjdk8-bullseye-dropwizard

The sample reads license files from the mounted Licenses directory and lists documents from DocumentSamples.

Viewer Configuration Options

Environment variables:

VariableDescriptionDefault
LIC_PATHPath to directory with license file/home/groupdocs/app/Licenses
DOWNLOAD_ONEnable download button in UItrue
UPLOAD_ONEnable file uploadtrue
PRINT_ONEnable printtrue
BROWSE_ONEnable document browse dialogtrue
RIGHTCLICK_ONEnable right-click context menufalse
FILES_DIRDirectory for uploaded files/home/groupdocs/app/DocumentSamples
HOST_ADDRESSHost name or IP for the server instance(empty)

See Also

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Tag summary

Content type

Image

Digest

sha256:2250e71f3

Size

418.3 MB

Last updated

4 days ago

docker pull groupdocs/viewer