Escalante

Latest version is 0.3.0

An application server for Scala apps.

Install Escalante

Quickstarts

To help you get started with development and deployment of Scala applications for Escalante, several quickstarts have been developed to help the users. Currently these quickstarts come with a Maven pom file used to build and deploy them (SBT files will be provided very shortly):

Lift Quickstarts

Escalante Lift Hello World

This quickstart shows how to deploy a basic, optimised Lift application which shows a "Hello World" message on top of Escalante.

Escalante Lift Persistence

This example shows how to deploy a more complex application, based on Lift's Mapper ORM extensions, in an optimised way to Escalante. This example shows how to interact with the app servers's default datasource.

Escalante Lift JPA Library Persistence

This example shows how to deploy and run an application that tracks books and authors in a library, using Lift's JPA integration. This application interacts with Escalante's JPA infrastructure, based on Hibernate, which is used to persist these books and author instances.

Standard Lift Hello World

This quickstart demonstrates that you can deploy standard, non-optimised, Lift applications to Escalante.

Play Quickstarts

Escalante Play Hello World

This quickstart shows how to deploy a basic, Play 2.x application which shows a "Hello World" message on top of Escalante. This quickstart uses SBT, along with the Play and Escalante SBT plugins, to build and deploy the application.

Escalante Play Persistence to Database

This quickstart shows how to deploy a Play 2.x application on top of Escalante which uses a web interface to manage the lifecycle of created tasks, which are stored in a database defined in the application.conf file. This quickstart uses SBT, along with the Play and Escalante SBT plugins, to build and deploy the application.

Other Quickstarts

Scaladin Hello World

This example demonstrates a simple, Hello World style, Scaladin web application deployment on top of Escalante. Scaladin is a wrapper that makes it easier to use Vaadin Framework with Scala programming language. To find out more about check Vaadin/Scaladin FAQ section.

JBoss Developer Studio for Scala developers

As well as these quickstars, users benefit from ease of development and deployment of Scala applications for Escalante thanks to JBoss Developer Studio. To be able to write Scala applications in JBoss Developer Studio, the following steps are required:

  1. Install JBoss Developer Studio following these instructions.
  2. Install Scala IDE. The version to install depends on the Scala version you'll be using:
    Warning! Unfortunately a single JBoss Developer Studio, or Eclipse, installation can be installed with both versions of Scala IDE, so if you're going to deploy Scala applications for different Scala versions, you'll have to maintain multiple JBoss Developer Studio copies, each installed with a different Scala IDE version.
  3. Install m2eclipse-scala via this update site.
    Check version! Installing version 0.4.2 or higher is strongly recommended to avoid facing JBDS-2259 when running either the Standard Lift Hello World or Scaladin Hello World quickstarts. If you're stuck with an older version, JBDS-2259 contains a valid, proven and tested workaround.

Once all these steps have been completed, your JBoss Developer Studio copy should be ready to import and enhance the quickstarts above. Just remember to check which Scala version each quickstart has been developed for, and depending on that select which JBoss Developer Studio version you should import it in.