Your SlideShare is downloading. ×
Java PaaS Application Deployment on CloudBees - Demo
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Java PaaS Application Deployment on CloudBees - Demo


Published on

Java PaaS Application Deployment on CloudBees - Demo

Java PaaS Application Deployment on CloudBees - Demo

Published in: Technology, Education, Business

  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide
  • Many Apache projects support interaction with a relational database. Creating a new connection for each user can be time consuming (often requiring multiple seconds of clock time), in order to perform a database transaction that might take milliseconds. Opening a connection per user can be unfeasible in a publicly-hosted Internet application where the number of simultaneous users can be very large. Accordingly, developers often wish to share a "pool" of open connections between all of the application's current users. The number of users actually performing a request at any given time is usually a very small percentage of the total number of active users, and during request processing is the only time that a database connection is required. The application itself logs into the DBMS, and handles any user account issues internally.WEB-INF/cloudbees-web.xml<?xml version="1.0"?><cloudbees-web-appxmlns=""> <resourcename="jdbc/DATASOURCE_NAME"auth="Container"type="javax.sql.DataSource">   <paramname="username"value="USERNAME"/>   <paramname="password"value="PASSWORD"/>   <paramname="url"value="JDBC_URL"/>   <!-- Connection Pool settings -->   <paramname="maxActive"value="5"/>   <paramname="maxIdle"value="2"/>   <paramname="maxWait"value="10000"/>   <paramname="removeAbandoned"value="true"/>   <paramname="removeAbandonedTimeout"value="60"/>   <paramname="logAbandoned"value="true"/>   <!-- Purge invalid connections -->   <paramname="validationQuery"value="SELECT 1"/>   <paramname="testOnBorrow"value="true"/>  </resource></cloudbees-web-app>WEB-INF/web.xml<resource-ref><res-ref-name>jdbc/DATASOURCE_NAME</res-ref-name><res-type>javax.sql.DataSource</res-type><res-auth>Container</res-auth></resource-ref>
  • The database is simply available as a JNDI resource as soon as it is deployed – there is no need to chase down JDBC drivers, connection strings and configure JNDI.
  • Transcript

    • 1. Java PaaS Application Deployment on CloudBees - Demo http://clean-clouds.com
    • 2. Signup for CloudBees
    • 3. Account created Successfully
    • 4. Login
    • 5. Services
    • 6. Dashboard
    • 7. CloudBees Dashboard:- Add Services
    • 8. CloudBees Dashboard:- Services
    • 9. Subscription of RUN@cloud Application Service
    • 10. RUN@cloud
    • 11. Applications
    • 12. Create a New Application
    • 13. Application Deployment
    • 14. Application is Ready!!!
    • 15. Application Dashboard
    • 16. Upload modified WAR file
    • 17. Upload modified WAR file
    • 18. Upload modified WAR file
    • 19. All Deployments
    • 20.  MySQL database  Management of your database is typically done using a MySQL client like the mysql command line program distributed with MySQL  Apache DBCP connection pool implementation  External Databases ◦ To connect your application to a non-CloudBees database, define the database as a resource-ref in the app web.xml file,and bind it to your database as a resource in the cloudbees-web.xml file and include the standard JDBC connection settings for connecting to the database. Database as a Service
    • 21. Subscription of RUN@cloud Database Service
    • 22. Create a MySQL database
    • 23. Database created
    • 24. Database Dashboard
    • 25. Database Snapshots
    • 26. Connect to Remote DB Host
    • 27. SQL script for Database - I
    • 28. SQL script for Database - II
    • 29.
    • 30. Download with Linkedin Username/Password
    • 31. Download with Linkedin Username/Password
    • 32. Download with Linkedin Username/Password
    • 33. Download with Linkedin Username/Password
    • 34. Download with Linkedin Username/Password
    • 35.