Quantcast
Channel: Planet Apache
Viewing all articles
Browse latest Browse all 9364

Matthias Wessendorf: Apache MyFaces in the cloud

$
0
0

The Apache Software Foundation has a lot of offerings for cloud based infrastructure. There are a lot of projects in that directions. A few examples are: Hadoop, Cassandra, HBase or some that are currently undergoing incubation: Whirr / Libcloud.

Two days ago, Amazon launched it’s AWS Elastic Beanstalk offer. A “Platform as a Service” (Paas) based on Apache Tomcat, Version 6.

Time to play!

Yesterday I tried to deploy my ‘kickstart’ project to the Amazon offer, and it worked. Within a few minutes my account was setup and I could upload the WAR file.

The project itself is quite simple, but it contains an interesting set of modern JavaEE 6 technologies:

-CDI (Apache OpenWebBeans)
-JPA (Apache OpenJPA)
-JSF2 (Apache MyFaces)

and a set of CDI extensions (Apache MyFaces CODI)!

The entire project had no problems when deploying it to the cloud. Why should it have a problem at all? The stack is running fine on a vanilla Tomcat 6. But getting it working, in the cloud, was still pretty exciting :-)

 

The project itself can be found on github. Give it (and perhaps Beanstalk) a try!



Viewing all articles
Browse latest Browse all 9364

Trending Articles