how to build a java web app in the cloud

23

Upload: wso2

Post on 13-Jan-2015

814 views

Category:

Engineering


6 download

DESCRIPTION

-

TRANSCRIPT

Page 1: How to build a Java Web App in the Cloud
Page 2: How to build a Java Web App in the Cloud

๏๏๏๏

Page 3: How to build a Java Web App in the Cloud

Page 4: How to build a Java Web App in the Cloud
Page 5: How to build a Java Web App in the Cloud

➢➢➢➢

Page 6: How to build a Java Web App in the Cloud

➢➢➢

Page 7: How to build a Java Web App in the Cloud

Are you struggling to code, design while solving all difficulties mentioned before?

You are in the right place to change your development process.

Page 8: How to build a Java Web App in the Cloud

WSO2 App Factory is the ideal solution for enterprises, that need to create and manage applications, while increasing developer

Productivity and delivering high

Quality applications on time.

Page 9: How to build a Java Web App in the Cloud

No prior environment setup.You need to sign up with https://cloud.wso2.com/login, create a web app and launch it.demo...

Page 10: How to build a Java Web App in the Cloud

How do I change my code to apply a nice style?

Page 11: How to build a Java Web App in the Cloud

➢ Cloud IDE for WSO2 App Cloud.➢ Security is established using OAuth protocol.➢ modify code →build →git add → git commit → git push

Page 12: How to build a Java Web App in the Cloud

A complete Eclipse-based SOA development environment for the award-winning WSO2 Carbon platform.Integrates with WSO2 App Factory to facilitate management of application development lifecycles.

login → update applications → change code → commit → etc.

Page 13: How to build a Java Web App in the Cloud

➢ Build farm to build applications➢ Easy access, account already provisioned➢ Trigger builds only on your applications➢ Auto Build➢ Build information - success/failure, last build time➢ Build logs

Page 14: How to build a Java Web App in the Cloud

If you are contributing to multiple apps, context switching is easy.

➢ Latest application related events are available in wall

➢ Latest build and deploy information are available➢ You can launch the deployed application and go

to the page you were working on.➢ Which version of Application X in Testing?➢ Why Application X failed in UAT? check the

issues reported and reason for demoting back to Development

Page 15: How to build a Java Web App in the Cloud

How do I connect to a database in my web application?How do I communicate with external services?Do I need to recompile to deploy in Testing stage with new database connection URL?

Page 16: How to build a Java Web App in the Cloud

JNDI lookupsAPIsConfiguration vs codingDemo… create database, datasource, example code,etc.

Page 17: How to build a Java Web App in the Cloud

Cut a new branch in a single click.Build it, deploy it, test it as a developer.Ready for QA? promote to Testing

Page 18: How to build a Java Web App in the Cloud

Easy access to issue tracker.Fix and resolve the issue.

Page 19: How to build a Java Web App in the Cloud

Download or View Logs

Page 20: How to build a Java Web App in the Cloud

PaaS provides you a distributed cache.CacheManager cacheManager1 = Caching.getCacheManagerFactory().getCacheManager("sampleCacheManager");

Cache<string integer=""> cache = cacheManager.getCache("sampleCache");</string>

int value1 = 9876;

cache.put(key, value1);

int value = cache.get(key).intValue()

Page 21: How to build a Java Web App in the Cloud

Add Maven dependencies and package inside the war file.

Page 22: How to build a Java Web App in the Cloud