Porting Java App To Cloud
Upcoming SlideShare
Loading in...5
×
 

Porting Java App To Cloud

on

  • 772 views

Demonstration of moving existing java app to amazon ec2 and Google app engine

Demonstration of moving existing java app to amazon ec2 and Google app engine

Statistics

Views

Total Views
772
Views on SlideShare
772
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Porting Java App To Cloud Porting Java App To Cloud Presentation Transcript

  • PortingJavaWeb ApplicationToEnterprise Cloud Abhishek Chikane 05 August 2011
  • WhatWe areGoingTo discussToday?
  • What Is Cloud?
  • How To Develop Apps on Cloud?printf(“Hello World”);
  • How To Port Your Java Web App onCloud?System.out.prinln(“Hello World”);
  • Why?
  • What You Are Going To Do? Move Your DB To Cloud ?
  • Flavors Of Clouds? Software As Service Platform As Service Infrastructure As Service
  • Web Application
  • Web Application On Cloud
  • Amazon Web Service Infrastructure As Service
  • Amazon Web Service Java Web ApplicationUse JDBC String
  • Google App Engine Platform As Service
  • Google App Engine Platform As Service No JDBC Support
  • Google App Engine Platform As Service Google Web Application Project Structure Of Project
  • Google App Engine Platform As Service JSP Compilation Change It To JDK Path Issue
  • Google App Engine Platform As Service Google App Engine Data Store Entity Table Row Data Store Kind Table JPA/JDO Configuration
  • Google App Engine Platform As Service Need To Change The Primary Key Data Type To java.lang.Long Type Why? Primary Keys Of Integer, Float or any other data type Entities will not work
  • Google App Engine Platform As Service What? Tell OGNL to not do security manager permission checks Running Struts Why? GAE has a security manager and you dont have the ability to add the OGNL-specific permissions How? place for this is in a Servlet context listener, executing when the context is initialized OgnlRuntime.setSecurityManager(null); In Dev Environment need to override Freemarker Class
  • Google App Engine Platform As Service Either Setup Proper Relation Among The Entities and Use JPA For Join Or Make Plain Queries Join Queries
  • Google App Engine Platform As Service Lists returned by Data Nucleus Query API is not serialized What Is The Error? Data Nucleus List Query results list object can not be Serialization accessed How To Fix It? Copy the query results into ArrayList/Vector
  • Google App Engine Platform As Service Update the object in session after each change of value. Session Handling Why? The session object is not passed by reference
  • Google App Engine Platform As Service Java Logging If I have System.out.printlns In My App? Logging Set logger level <= INFO Configuration Where To See Logs?
  • Google App Engine Platform As Service Remove Jars, Classes Of Not Supported APIs/Frameworks From Your Application Class Loading e.g. Hibernate Problem EJB JAX-RPC JAX-WS JDBC JMX JMS JNDI RMI etc.
  • Google App Engine Platform As Service Very Dangerous Error Error 203 How To Avoid? Do not put any CPU intensive processing in one request
  • Google App Engine Platform As Service • Sometimes Needs Eclipse Restart For Servlet Changes Tips For • Need Dev Server Restart For Other Development Changes Environment • If App Fails To Deploy In Between, Rollback Using AppConfig Command And Try Again • Do Not Use Dot (.) In Version Values
  • Google App Engine Platform As Service Structure Running Data of Project JSP Struts Nucleus List Primary Serialization CompilationError 203 Issue Keys of EntitiesData Store Tips for Join Logging Session Class Development Configuration Environment Queries Handling Loading Problem
  • Salesforce
  • Thanks Abhishek Chikane 5 August 2011