”温故知新” なことなど

コメントは、タイトル下の"without comments"を押下して記入ください

Archive for the ‘Google App Engine’ tag

GAE-Jのサポートについて

without comments

Written by nextschool

10月 24th, 2009 at 1:30 am

indexesの設定(GAE-J)

without comments

Google App Engine for JAVA のindexesの設定方法がわかったので備忘録として残しておく。

わたしはIDEをeclipseでといいますか、ほとんどがEclipseをご使用のことでしょう。
さてファイル作成手順です。
ファイル→新規(N)→表題なしのテキスト・ファイル→ブランクのファイルの新規作成を行います。

<?xml version="1.0" encoding="utf-8"?>
<datastore-indexes
autoGenerate="false">
    <!-- Used 1 time in query history -->
    <datastore-index kind="Blog" ancestor="false" source="auto">
        <property name="__key__" direction="desc"/>
    </datastore-index>
</datastore-indexes>

その後、↑上のソースコードをコピペします。
今度は保存。

ファイル→別名保管→”親フォルダを入力または選択(E):”
に現在作成中のEclipseのディレクトリの
“WEB-INF/”の下に”datastore-indexes.xml”という名前で
“ファイル名(F):”を入力し、OKボタンを押下する。

そしてDeployす。

するとどうでしょう。
このようなメッセージがコンソール上に現れると成功です!!
Compiling module org.osrk.nextschool.App_nextschool
Compiling 6 permutations
Permutation compile succeeded
Linking into C:\Users\SEIJI\workspace\app-nextschool\war
Link succeeded
Compilation succeeded — 11.986s
Creating staging directory
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
Cloning 31 static files.
Cloning 55 application files.
Uploading 2 files.
Uploaded 1 files.
Uploaded 2 files.
Deploying new version.
Will check again in 1 seconds
Will check again in 2 seconds
Will check again in 4 seconds
Closing update: new version is ready to start serving.
Uploading index definitions.
Deployment completed successfully

Written by nextschool

10月 20th, 2009 at 1:00 am

Java World Day 2009に参加して(1)

without comments

Java World Day 2009に参加してきた。セミナー内容と会場共に充実していた。
自分が特に気になったのは、Sun Microsystems社とスティルハウス社のセミナーだった。
忘れないうちに記しておく。

Sun Cloudアーキテクチャ

は以下の4項目の戦略が

  1. Conpute Service
  2. Virtual Datacenter経由での管理を行う。AWS EC2ににたAPIを提供している。

  3. Virtual DataCenter
  4. ドラッグ&ドロップにて構築済のコンポーネントを設計が可能。
    クラウドへ適用。

  5. Open API
  6. Project Kenaiというプロジェクトや各APIを提供。

  7. Storage Service
  8. WebDAV経由でファイル操作が可能。

Virtual Datacenterの設定手順:
1)WANとルーターが表示されている。
2)Hadoopをルーターのノードに必要数設定する。
3)WANとルーターの間にファイヤーウォールを設定する。
ここでグローバルIPを設定する。
4)最後にファイヤーウォールとルーターを接続する。
5)以上

Written by nextschool

8月 7th, 2009 at 2:11 am

GuestBook.html

without comments

Google App EngineをEclipseで動かしてみる。
とすんなりといった。名前を聞いてきた(Please enter your name:)ので
nextschoolと入力すると。
のような画面がでてきました。GAE版のHello World!!だろう。

Sending name to the server:
nextschool
Server replies:
Hello, nextschool!

I am running Google App Engine Development/1.2.0.

It looks like you are using:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618)

ということで、実験してみたい環境は着々と試せているけれど、そういえばひとつもデータマイニングの事について言及していなかったと我に返ってみる。これからは英文も含めて論文や文献の要約を試みよう。

Written by nextschool

6月 11th, 2009 at 11:55 pm

Posted in 情報

Tagged with ,

Google App Engine for JAVA(EARLY look編)の巻(1)

without comments

App Engineの状況はこちらで確認できる。

http://code.google.com/status/appengine/

Written by nextschool

5月 29th, 2009 at 11:40 pm

Posted in 情報

Tagged with ,