Giter Site home page Giter Site logo

servlex's Introduction

Servlex

Servlex, an implementation of the EXPath Webapp framework (see also the current draft of the spec). The homepage is at http://servlex.net/.

Installation

Download the latest servlex-x.y.z-installer.jar file from the download area and execute it by double-clicking on it (or from the command-line: java -jar servlex-x.y.z-installer.jar). Follow the instructions, that's it!

If you want to install Servlex into the servlet container of your choice, use the latest servlex-x.y.z.zip file instead. It contains a suitable WAR file and install instructions.

Setup

There is nothing to setup if you use the graphical installer. Just start Servlex by executing bin/startup.sh (resp. bin/startup.bat on Windows) and go to http://localhost:19757/. You can change the default port number in conf/server.xml.

If you install the WAR file yourself, you have to point the property org.expath.servlex.repo.dir to a repository on the disk. On Tomcat for instance, you can add the property to conf/catalina.properties.

Try it

Once installed, you can access the Servlex Admin Console at http://localhost:19757/manager/home. From there you can deploy the sample web application in the release, hello-world-x.y-z.xaw, by filling in the form. Go to http://localhost:19757/servlex/hello-world/ to access the example once installed. The sources are available in the dir hello-world/src/.

This sample application is just a few forms, each one-field, sending a string to either an XSLT function, an XQuery function or an XProc step, which in turn responds with a page based on this parameter. You can use the tool http://h2oconsulting.be/tools/dump to display the XML representation of the HTTP request which is send to the XSLT, XQuery and/or XProc components in a web application.

Some docs about Servlex are also available here and there on the EXPath's wiki.

Real-world usage

Servlex is used to run CXAN (as well as its Sandbox), the sources of which are available on GitHub. The EXPath website runs on Servlex too (see the sources). H2O Consulting website runs on Servlex as well.

servlex's People

Contributors

fgeorges avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.