15. Google App Engine Platform As Service
Google Web Application Project
Structure Of
Project
16. Google App Engine Platform As Service
JSP
Compilation Change It To JDK Path
Issue
17. Google App Engine Platform As Service
Google App Engine Data Store
Entity
Table Row
Data Store
Kind
Table
JPA/JDO Configuration
18. 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
19. 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 don't 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
20. Google App Engine Platform As Service
Either Setup Proper Relation Among
The Entities and Use JPA For Join
Or Make Plain Queries
Join Queries
21. 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
22. 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
23. 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?
24. 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.
25. Google App Engine Platform As Service
Very Dangerous Error
Error 203
How To Avoid?
Do not put any CPU intensive
processing in one request
26. 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
27. Google App Engine Platform As Service
Structure Running Data
of Project JSP Struts Nucleus List
Primary Serialization
Compilation
Error 203 Issue
Keys of
Entities
Data Store Tips for Join Logging Session Class
Development Configuration
Environment Queries Handling Loading
Problem