Scaladin quickstart for Escalante

The first external Escalante contribution is in, and it comes from Risto Yrjänä (@ristoy), who has built a Scaladin quickstart that runs on top of Escalante.

What is Scaladin? Scaladin is a wrapper that makes it easier to use Vaadin Framework with Scala programming language. And Vaadin? Vaadin is a server-side, java web application development framework which uses GWT to generate the UI in the browser. To find out more about check Vaadin/Scaladin FAQ section.

Risto has contributed a Scaladin Hello World quickstart that shows how to build, deploy and run a simple Vaadin component written in Scala showing a welcome message and the current date and time (dynamically generated). Here's a screenshot of quickstart:

The example can be built and deployed using either Maven or JBoss Developer Studio as shown in the quickstart instructions. For more details on this quickstart, other Escalante quickstarts, or how to set up JBoss Developer Studio for Scala, check the dedicated Quickstarts section.

Risto has another juicy example coming up showing off Scaladin's full potential, so watch this space for further news!

Get in touch!

If you have any questions, issues, or other feedback about Escalante, you can find us on #escalante on freenode or our public forums.

For Scaladin/Vaadin related questions, you can with the Vaadin team via chat, or posting a question in their general help forum. Please note that for Vaadin offers commercial support plans and professional services as well.

Deploying Lift applications on OpenShift

Having released the first milestone of Lift's integration into Escalante a short while back, we turned our heads to getting more people to deploying Lift applications on top of Escalante.

What is Lift? If you've never heard of Lift, or you don't know what Lift-based web applications can offer you, please check Lift's FAQ section.

So, I'm very proud to announce that you can now run Lift applications on Red Hat's OpenShift cloud. OpenShift is Red Hat's free, auto-scaling Platform as a Service (PaaS) for applications. As an application platform in the cloud, OpenShift manages the stack so you can focus on your code.

For Lift users this means that you can now deploy your Lift applications on OpenShift, and let it manage the stack for you which behind the scenes will run on top of Escalante.

Deploying your first Lift app on OpenShift

  1. First of all, sign up for OpenShift and follow the instructions in the Getting Started guide to set up SSH keys, command line tools...etc.

  2. Once you've signed up, log in, go to My Applications and create a brand new JBoss Enterprise Application Platform 6.0 application.

  3. Give the application a name, for example escalante, and click on Create Application button.

  4. Once you've installed Git locally, clone the application following the instructions on OpenShift, i.e:

      $ git clone \
         ssh://[USER_ID]@escalante-[YOUR_DOMAIN].rhcloud.com/~/git/escalante.git/
      $ cd escalante/
    
  5. Get rid of the default sample application and commit it:

      $ git rm -r pom.xml src
      $ git commit -m "Remove default app"
    
  6. From the root of the local copy of the application, merge in the modules and server configuration needed to run Escalante on top of JBoss EAP. The merged files will be stored under the .openshift folder:

      $ git remote add escalante -m master \
          git://github.com/escalante/escalante-openshift.git
      $ git pull -s recursive -X theirs escalante master
    
  7. To help users get started with Escalante, we've developed some quickstarts out of which we'll be demostrating how Hello World Lift application runs on OpenShift. So, merge in the Escalante quickstarts:

      $ git remote add quickstart -m master \
          git://github.com/escalante/escalante-quickstart.git
      $ git pull -s recursive -X theirs quickstart master
    
  8. You now have all you need to run the Hello World Lift Escalante quickstart on OpenShift. To run it, you need to push the changes in your local repository. By pushing the changes, OpenShift will build the application and deploy it, so might take a little while. Execute:

      $ git push
    
  9. Once the push finishes access the application via: http://escalante-[YOUR_DOMAIN].rhcloud.com/ and you should see something like this:

Run alternative quickstarts: The quickstarts repository you merged in contains several applications that can run on top of Escalante. Check the Escalante Quickstarts documentation for detailed information on these examples. You can alternatively enable other applications, such as the `persistence-lift` quickstart. To do so, modify the root `pom.xml` file and select which quickstart to build:

Future Work

Deploying Lift applications to OpenShift this way is a bit arduous, which is why we're also working on producing an OpenShift cartdridge designed specifically for Lift applications that can run on top of Escalante, which would simplify the process significantly. Watch this space!

Get in touch!

If you have any questions, issues, or other feedback about Escalante, you can find us on #escalante on freenode or our public forums.

Escalante 0.1.0 Released

We're pleased to announce the first official release of Escalante - version 0.1.0. We consider this release to be beta quality, and lacks some of the features and API stability that will end up in the 1.0.0 release.

What is Escalante?

Escalante is an application server for Scala. It's an integrated platform built on JBoss AS7 that aims to provide an environment for deploying and running Scala applications that is easier to use and more efficient to run than other existing solutions.

What's in this release?

For this first release, we've focused on Lift web applications, trying to make them easier and leaner to deploy compared to other plattforms. With just a little bit of information, Escalante can vastly reduce the size of your deployments and can make it more efficient to run multipl Lift applications in paralell within the same Escalante server. You can find out more by checking Escalante's documentation.

What's next?

Now that we have 0.1.0 out the door, we'll be focusing on:

  • OpenShift cartdridge for Lift applications
  • Providing more Lift quickstarts
  • Investigate other Scala frameworks
  • SBT build files for Escalante quickstarts

Get It

The simplest way to install 0.1.0 is downloading our binary distribution.

Get In Touch

If you have any questions, issues, or other feedback about Escalante, you can find us on #escalante on freenode or our public forums.

Twitter

If you're interested in anything Escalante related, make sure you follow @escalanteio to find out first :). If you want to make any comments on Twitter, make sure you use the #escalanteio hash tag.

Thank you

From here I'd like to thank everyone who's been encouraging and helping me get this first Escalante release out. From Mark, who a less than a year ago inspired me to get Escalante started, to the Project:odd team who have been helping me with all the pain points of doing your first ever release, setting up the site, put up with my questions...etc ;). Thanks you all.