JavaChap Blog Java and Technology musings for the masses

19Dec/082

Java over the Cloud

I just found this site called Stax Network, http://www.stax.net.

Stax is offering a platform as a service product for Java applications, similar to Amazon EC2. Allows developers to create, test and deploy Java applications very easily. This will be extremely useful for the startups that build there apps on java, without having to build out their own physical infrastructure.

The best part is you can scale the apps on demand from a single shared server to a load-balanced cluster and  you will only pay for the computing resources that you use.

Applied for the beta, Waiting for the key. Its free until it moves out of beta.

Update: Got the invitation code today, tried a sample application, Worked as expected.  The admin UI has few glitches in firefox, but worked fine in Chrome.

Update2: Deployed my sample application i.e. built on top of hibernate/struts and mysql.  No issues while running on single server. But when it is load balanced on 2 servers, running into invalid session error. May be the requests are not sent to the same server. I need to figure this out, will update you on this. Contact me if you want the source code of the sample app. It uses hibernate and struts, db is mysql

You can access the sample app at http://hw4999.dvkvarma.staxapps.net

Comments (2) Trackbacks (0)
  1. Can you please send me the source code of one which is deployed in http://hw4999.dvkvarma.staxapps.net.

    I downlowded your source code in other blog, but it had following hibernate-cf.xml, which is pointing to mysql in localhost

    org.hibernate.dialect.MySQLDialect
    com.mysql.jdbc.Driver
    jdbc:mysql://localhost:3306/lead
    leadapp
    leadapp

  2. Your blog is very much informative about Stax cloud.
    I am giving following a link that will give detail idea about how to configure you webapplication on stax cloud and how to use it.

    http://jksnu.blogspot.com/2011/02/java-on-cloud-stax-networks.html

    Followings are the link that gives detail information about other java cloud.

    http://jksnu.blogspot.com/2011/01/java-on-cloud-computing.html
    http://jksnu.blogspot.com/2011/01/java-on-cloud-google-app-engine.html


Leave a comment

(required)

Spam protection by WP Captcha-Free

No trackbacks yet.