歡迎來到小豬圈!

Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

2009-04-29

在 Google App Engine 上執行 PHP

  • 執行 PHP 是我申請 Google App Engine 的主要目的,利用 Quercus 執行簡單腳本是沒有問題。但麻煩的是 Datastore 的部份,不但沒辨法用 PDO 存取,而且 Datastore 也跟關聯式資料庫差很多,存取資料庫的部份基本上得要重寫。
  • 另一個麻煩是,我在 Java 5 發行之前就沒有再接觸 Java 了,熊熊看不懂 JDO Annotations 跟 JPA 這些 Java 5 以後的新功能(囧),不過還算是小事就是了。
  1. Caucho Technology » Blog Archive » Quercus on the Google App Engine
  2. Annotations (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
  3. Introduction to the Java Persistence API - The Java EE 5 Tutorial

2009-04-28

申請到了 Google App Engine 試用

  • 日前在看到 Google App Engine 支援 Java 的消息同時,才知道這世界上有人實作 PHP in JAVA,一個叫 Quercus 的東西。雖然是個詭異的產品,不過這種情況(GAE不支援PHP)還真的派的上用場。
  • 雖然我申請時沒辨法收到 Google 的認證簡訊 (SMS),不過再回報後兩天還是成功啟用。
  1. Scribe's N.E.W. Studio://Blogger: Google App Engine supports Java
  2. Caucho Resin : Reliable, Open-Source Application Server
  3. http://appengine.google.com/waitlist/sms_issues

標籤分類

Labels

Google Analytics Tracking Code

About Me

My photo
Keelung, R.O.C, Taiwan
一個不學無術、混吃等死的傢伙…