Saturday, June 1, 2013

Java Cloud Providers - Review

Purpose:

I need a PaaS cloud/hosting provider for my Java EE applications so they can run as thin client applications and also as BaaS providers for mobile applications.

Google Appspot and GAE

This service is based on the DataNucleus JPA API - which runs fine

Oracle Cloud

Oracle's service is a straight PaaS offering that runs your database as a multitenant partition.  The difference is that you can be walked through the use and installation of the paid service in person.

The Java and DB instances are priced separately at a minimum combined cost of $533/month or $6400/year.
https://java-trialanzh.java.us1.oraclecloudapps.com
https://obrienscience-obrienlabs.java.us1.oraclecloudapps.com/
http://www.obrienlabs.org/opendata/FrontController?action=image

https://cloud.oracle.com/mycloud/f?p=service:database_pricing:0:::::
Database S5 $175 / Month
1 Schema Oracle Database 11g Release 2
5 GB Oracle Database Storage
30 GB Data Transfer

https://cloud.oracle.com/mycloud/f?p=service:java_pricing:0:::::
Java S1 $249 / Month
1 Oracle WebLogic Server 12.1.1+
1.5 GB RAM for Java Heap
5 GB File Storage
50 GB Data Transfer


Eclipse Integration
Get the OEPE from oracle that includes Eclipse Kepler, the OEPE plugins and WebLogic Server.
http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html

Issues:


EMF injection requires static/dynamic weaving (the example entity is statically weaved)
http://static.springsource.org/spring/docs/3.0.0.RC3/reference/html/ch13s05.html
http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/Dynamic_Weaving
http://www.oracle.com/technetwork/articles/java/jsf-2-cloud-part1-1562825.html

Questions: Oracle Cloud using WebLogic 12.1.1.0 and JPA 2.0
https://forums.oracle.com/forums/thread.jspa?messageID=11052991#11052991|Thread: Database access from Oracle Java Cloud Service application
https://forums.oracle.com/forums/message.jspa?messageID=11052937#11052937|Thread: Related Annotations
https://forums.oracle.com/forums/message.jspa?messageID=11052868#11052868|Thread: EJB 3.1 Timer @Singleton does not start on Oracle Cloud - works locally

20130608: Oracle cloud running fine except for the Java EE container managed proxy issues.
20130608: Redeploy application (#40) job get stuck for 3 days now - there is no way for the user of the Oracle Java cloud instance to stop the misbehaving server job - rendering the cloud instance effectively offline.
20130614: solved by SR - job reset after 7 days was an anomaly - it would be good to have a watchdog process or an option to kill a long running process in the future.




Administration
https://database-trialanzh.db.us1.oraclecloudapps.com/apex/f?p=4500:1001:14650370459182::NO:::
Logs:
http://docs.oracle.com/cloud/123/developer_services/CSJSU/java-admin.htm#CACBHCGJ

Procedures:

Download WebLogic 12c via OEPE or Netbeans 7.3 to test your applications locally.
Update Netbeans to be cloud aware.
https://netbeans.org/kb/docs/web/oracle-cloud.html#install-plugin

You will need the matching source of the excellent JPA provider (EclipseLink) that ships with WebLogic Cloud
http://www.eclipse.org/eclipselink/releases/2.3.0.php
http://wiki.eclipse.org/EclipseLink/Examples/JPA/Composite

Get the version of EclipseLink by doing something that causes an exception and viewing the stacktrace
Currently as of 20131204 the version of EclipseLink - the default JPA provider in Oracle Cloud 12c is SVN rev# 10243 version 2.3.1 from 20111018

Caused by: Exception [EclipseLink-8034] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.JPQLException


Cloudbees 


get git - http://git-scm.com/download/win
generating keys
https://help.github.com/articles/generating-ssh-keys
https://grandcentral.cloudbees.com/#CB_clickstart=https://raw.github.com/CloudBees-community/jboss-db-example/master/clickstart.json
http://opendatalink.obrienlabs.cloudbees.net/index.jsf
https://forge.cloudbees.com/a/obrienlabs/repositories/opendatalink

Jelastic


OpenShift (RedHat)


Cloud Foundry (VMWare)


AppFog


Amazon AWS / EC2 / Elastic Beanstalk


Your own router

Rogers allows a DMZ but Bell does not.  The performance of the upstream connection is too slow though.
local


Total Pageviews

Followers