<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ミネルヴァの梟は黄昏とともに飛び始める &#187; 京都GWT勉強会</title>
	<atom:link href="http://blog.daisukeyamashita.com/post/category/%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%83%8d%e3%83%83%e3%83%88%e7%b7%8f%e5%90%88%e7%a0%94%e7%a9%b6%e6%89%80/%e4%ba%ac%e9%83%bdgwt%e5%8b%89%e5%bc%b7%e4%bc%9a/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.daisukeyamashita.com</link>
	<description>Follow me on Twitter: http://www.twitter.com/dddaisuke</description>
	<lastBuildDate>Mon, 30 Jan 2012 04:18:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>GWTのコンパイルを高速化する方法</title>
		<link>http://blog.daisukeyamashita.com/post/925.html</link>
		<comments>http://blog.daisukeyamashita.com/post/925.html#comments</comments>
		<pubDate>Wed, 02 Jun 2010 06:43:28 +0000</pubDate>
		<dc:creator>daisuke</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[京都GWT勉強会]]></category>

		<guid isPermaLink="false">http://blog.daisukeyamashita.com/?p=925</guid>
		<description><![CDATA[　Google I/Oのセッションの一つで、Faster apps faster: Optimizing apps with the GWT Compilerというセッションがあり、そこで公開されていたテクニックです。ここで紹介されたテクニックは、リリース用のバイナリ出力を高速化するテクニックではなく、テスト用のバイナリ出力を高速化するテクニックですので、リリース用のコンパイルは従来通り気長に待ちましょう。 　まず、コンパイルオプションに以下の２つを付けます。最初のオプションは、メタデータの出力を抑制し、２つめのオプションはいくつかの最適化をキャンセルする事でコンパイル速度を上げます。 -XdisableClassMetadata -draftCompile 　次に、モジュール作成時に自動生成されるXxxxxx.gwt.xmlの&#60;module&#62;タグ内に以下の記述を追加します。この記述は、safariブラウザのみを利用することを指示します。 &#60;set-property name=&#8221;user.agent&#8221; value=&#8221;safari&#8221; /&#62; 　続いて、以下の記述を追加し、safari用に最適化されたDOMコントロールのみを利用するように指示します。 &#60;replace-with class="com.google.gwt.user.client.impl.DOMImplSafari"&#62; &#60;when-type-is class="com.google.gwt.user.client.impl.DOMImpl" /&#62; &#60;when-property-is name="user.agent" value="safari" /&#62; &#60;/replace-with&#62; 　これでテストするブラウザが決まっている場合は、実行するJavaScriptはそこそこ速く、なおかつコンパイル速度を上げる事ができます。user.agentにはie6, ie8, gecko, gecko1_8, safari, operaが指定できるようです。 　最後に、Internationalization(I18N)を利用している場合には、以下の記述を追加する事で、テスト対象の言語以外は利用しない事を明記する事ができます。 &#60;extend-property name=&#8221;locale&#8221; values=&#8221;ja_JP&#8221; /&#62; 　これで、私の環境では従来3分かかっていたコンパイル速度が1分になりました。]]></description>
		<wfw:commentRss>http://blog.daisukeyamashita.com/post/925.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GWT 2.0のDevelopment Modeにおいて、JNDI経由でMySQLを使う方法</title>
		<link>http://blog.daisukeyamashita.com/post/866.html</link>
		<comments>http://blog.daisukeyamashita.com/post/866.html#comments</comments>
		<pubDate>Wed, 14 Apr 2010 07:46:20 +0000</pubDate>
		<dc:creator>daisuke</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[京都GWT勉強会]]></category>

		<guid isPermaLink="false">http://blog.daisukeyamashita.com/?p=866</guid>
		<description><![CDATA[　GWT1.6をお使いの方はこちらをご覧ください。 　Google Web Toolkit（以下GWT）で開発をするときに、Google Plugin for Eclipseを利用するとEclipse上からGWTのコードを実行でき非常に便利です。 　GWT2.0から新しく導入されたDevelopment Modeは、Javaで記述されたGWTのコード（正確にはJavaのbytocode）をブラウザのプラグインで直接実行させるという非常にクレイジーな方法を採用しており、このおかげでJavaのコードをJavaScriptにコンパイルせずにブラウザ上で直接実行できるようになりました。 　以下、GWT 2.0で、JNDI経由でMySQLを使う方法。ちなみに、設定ファイルをちょっと変更するだけで、PostgreSQLなど他のDBでも利用できます。 　まず、Eclipse上でGWTのプロジェクトを作成します。「Use Google Web Toolkit」にチェックが入っており、「Use Google App Engine」にチェックが入っていないことを確認して下さい。 　Google Plugin for Eclipseを導入してない方はこちらの私の記事でご確認ください。 　次に、war/WEB-INF/libにjetty-naming-6.1.11.jarとjetty-plus-6.1.11.jar、さらにmysql-connector-java-5.1.12-bin.jar（これは使いたいDB用のJDBC）の３ファイルをコピーします。 　*jetty-namingやjetty-plus、mysql-connector-javaのバージョンに理由がある訳ではないので、少しぐらいバージョンが違っても動くと思います。 　war/WEB-INFの直下にjetty-web.xmlというファイルを作成して、以下のように記述します。DBのホスト名、ポート番号、ユーザ名、パスワードは適宜設定してください。 　GWTのサーバー側のRemoteServiceServletを拡張したServletクラス内に以下の記述を追加すると、このクラス内からds.getConnection()でSQLのJDBCコネクションが取得できます。 　良くわからない人は、Google Web Toolkit 勉強会 in 京都 (#gwt_kyoto)に来るといいよ！]]></description>
		<wfw:commentRss>http://blog.daisukeyamashita.com/post/866.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>第二回京都GWT勉強会 資料</title>
		<link>http://blog.daisukeyamashita.com/post/534.html</link>
		<comments>http://blog.daisukeyamashita.com/post/534.html#comments</comments>
		<pubDate>Fri, 24 Oct 2008 01:05:37 +0000</pubDate>
		<dc:creator>daisuke</dc:creator>
				<category><![CDATA[京都GWT勉強会]]></category>

		<guid isPermaLink="false">http://blog.daisukeyamashita.com/?p=534</guid>
		<description><![CDATA[資料の公開を待って頂いていたみなさま、バタバタしていて遅くなってしましました。申し訳ないです。 第二回京都GWT勉強会 &#8211; Upload a Document to Scribd]]></description>
		<wfw:commentRss>http://blog.daisukeyamashita.com/post/534.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[GWT] 第二回　京都GWT勉強会</title>
		<link>http://blog.daisukeyamashita.com/post/519.html</link>
		<comments>http://blog.daisukeyamashita.com/post/519.html#comments</comments>
		<pubDate>Fri, 12 Sep 2008 10:17:48 +0000</pubDate>
		<dc:creator>daisuke</dc:creator>
				<category><![CDATA[京都GWT勉強会]]></category>

		<guid isPermaLink="false">http://blog.daisukeyamashita.com/?p=519</guid>
		<description><![CDATA[　前回の参加者のレベルが高かったので、今回はGWTを業務適用したり、アプリを実際に開発してみたい方向けの内容になります。 日時：9月19日(金)　19:00～20:30 場所：株式会社SOBAプロジェクト　京都本社　（京都リサーチパーク２号館２階） 内容：（以下、予定） 　　　　　　JUnitによる自動テスト 　　　　　　AntによるWeb Archive(war)ファイルの生成方法 　　　　　　ApacheをフロントにしたTomcat/JBossへのデプロイ 　　　　　　HTTP経由でJSONを取得する方法 　　　　　　JSONやXMLを使用した課金サーバ（別サーバ）との通信 参加費：無料 参加前提能力：Javaのコードが読解できる事 　導入部でGWTについての簡単な説明を入れる予定ですのでGWTを知らない方でも大丈夫です。前回の参加者のレベルが高かったので多少レベルを高めますが、当日の参加者のレベルに応じて補足説明を加減しますので、初めての方もお気軽にお越し下さい。 　　　＞ 申し込みはこちらから ＜]]></description>
		<wfw:commentRss>http://blog.daisukeyamashita.com/post/519.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[GWT] 第一回　京都GWT勉強会</title>
		<link>http://blog.daisukeyamashita.com/post/504.html</link>
		<comments>http://blog.daisukeyamashita.com/post/504.html#comments</comments>
		<pubDate>Fri, 05 Sep 2008 20:01:46 +0000</pubDate>
		<dc:creator>daisuke</dc:creator>
				<category><![CDATA[京都GWT勉強会]]></category>

		<guid isPermaLink="false">http://blog.daisukeyamashita.com/?p=504</guid>
		<description><![CDATA[　なんとか、無事に初回の勉強会を終える事ができました。以前の仕事仲間で、かつて未踏プロジェクトに採択されたH氏にも参加して頂き、GWTに留まらない技術交流ができて大変満足しています。 　彼は、JavaScriptのスペシャリストなので、個人的には、勉強会を通じて彼にGWTを使わせるように説得していくという目標ができました（笑） 　個人的にもGWTを利用したプロダクトを何か作ろうと思います。 　懇親会は、職場近くの隠れ家で。京町家造りの料理のおいしいお店です♪ 　下のプレゼン資料は、下のウィンドウ内の右上にある最大化ボタンを押して、大きい画面で見た方が良いです。 第一回京都GWT勉強会 &#8211; Upload a Document to Scribd Read this document on Scribd: 第一回京都GWT勉強会]]></description>
		<wfw:commentRss>http://blog.daisukeyamashita.com/post/504.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

