- Java 8 (JDK 1.8)
- Maven 3
Native, simple, fully configurable and optimized java document viewer application. Open and view your document without losing data and/or formatting.
Thanks to powerful and flexible GroupDocs.Viewer for Java API, over 50 document formats are supported across all platforms (Windows, Unix) and browsers (Chrome, Firefox, Safari, Opera, IE). All rendered documents are 100% copies of original documents without any quality loss.
This sample can be run as service with RESTful API or as standalone application with built-in UI.
Note In order to get all benifits and to use all features without any limmitations you need to purchace valid GroupDocs.Viewer for Java license or request GroupDocs.Viewer for Java temporary license.
Running QuickView Dropwizard Sample as service will allow you to host your application on any instance and provide fully working RESTful API.
- Doesn't require to access working server all the time for UI updates.
- Doesn't require service restart for any UI updates.
- Allows to have multiple UI applications on a different instances but with one main server.
- Allows to implement additional features in your application, such as user-roles, additional permissions, groups, etc.
- Remote controls and access.
- Download QuickView Dropwizard Sample.
- Extract QuickView Dropwizard Sample to desired/work directory (if sample was downloaded as zip).
- Navigate to QuickView Dropwizard Sample root directory.
- Update
configuration.yml
file by settingrunAsService: true
. - Open console and type
cd 'QuickView Dropwizard Sample root directory'
, press enter. - In console type following command
mvn clean compile exec:java
, press enter. - Download QuickView.
- Extract QuickView to desired/work directory (if downloaded as zip).
- Navigate to QuickView root directory.
- Open
quickview.html
file in text editor. - Update
applicationPath
parameter with your server URL. - Open
quickview.html
with any browser.
Running QuickView Dropwizard Sample as standalone application is more simple and host all-in-one on single server, which will be accessible by all users directly.
- Simple all-in-one application.
- Allows to implement additional features in your application, such as user-roles, additional permissions, groups, etc.
- Download QuickView Dropwizard Sample.
- Extract QuickView Dropwizard Sample to desired/work directory (if sample was downloaded as zip).
- Navigate to QuickView Dropwizard Sample root directory.
- Update params in
configuration.yml
to meet your requirements. - Open console and type
cd 'QuickView Dropwizard Sample root directory'
, press enter. - In console type following command
mvn clean compile exec:java
, press enter. - Go to
http://localhost:{PORT}/viewer/
PORT - port number specified inconfiguration.yml
(by default http://localhost:8080/viewer/).