Posts filed under ‘Application Server/GlassFish’
GrizzlyでCometに関する記事
InfoQ Japanese Versionで日立ソフトの新技術開拓センターの川尻 剛さんが
GrizzlyでCometに関する記事を書いてくださっています。
Cometを実現する為の方法についてとても良くまとめられている
記事ですので、GlassFish/GrizzlyでCometを実現されたい方は、
是非、下記の記事を参考にされては如何でしょうか?
サンプルコードもあります。
InfoQ: AjaxプログラマのためのJavaOne2008 -GrizzlyでComet!-
Grizzly 1.8.0リリース
Jean-Francois Arcand’s Blog
Jean-Francoisさんのブログに投稿されてますが、
先日(2008/06/11)Grizzly 1.8.0がリリースされました。
Grizzly 1.8.0は多くのバグを修正し、またパフォーマンスも
改善されております。
さらに、組み込みでOSGiに対応しています。
https://grizzly.dev.java.net/
New Features:
+ NIO.2 support (dependent on when JDK team will push the final bytes)
+ Comet implementation moved to Atmosphere.dev.java.net
+ New Error Handling mechanism
+ Improved logging framework
+ High level API for String protocol, hidding completely the needs to understand ByteBuffer.
+ Add a new TCP Proxy/load balancer module (long time requested, never completed :-))
+ i18 error messages
Bug fixes
+ Sailfin/v3/ issues
+ Users bugs issues.
+ OpenEDB integration in v3 will have started, fix their issue related to Grizzly ARP.
+ Documents fixes (approval required from the users@grizzly)
今月のJava ホットトピックセミナー
今月(6/18)もJava ホットトピックセミナーを開催します。

今月は、Ruby会議直前でご多忙の中、
なんとJRuby業界で有名なそして日本人唯一のGrizzlyのコミッタでもある
高井さんに、ホットトピックセミナーで話して頂けることになりました。
高井さんは今回、DSLをJRubyで作って開発を楽にする方法を御紹介頂けるとのことです。
是非、皆様おたのしみにしてください!!
※ 高井さんと、以前からいつかコラボしたいと思ってましたので、
こうやって実現できてとても嬉しいです。
高井さん、御忙しい中御引き受け頂き本当にありがとうございます!!
今月の後半は私も話をさせて頂きます。
今回は、GlassFishの新星SailFinについて話をさせて頂きます。
今年の夏以降にリリース予定のSailFinについて、基本技術の概要や
ベータ版を使ったデモでこんなことができるといったことを紹介したいと思っております。
デモ例:

18:00 – 18:30 開場・受付
18:30 – 19:10 JRuby が俺にもっと輝けと囁いている —— JRuby と DSL で Java をパワーアップ!
伊藤忠テクノソリューション株式会社
高井 直人 (たかい なおと)
JRuby に興味はあるけど、なかなか手が出せないという方も多いのではないでしょうか。
JRuby は Web アプリケーションばかりではなく、開発のさまざまな場面で役に立つツールとして
活用できます。今回は、開発ターゲットに合わせた DSL (ドメイン固有言語)を JRuby を使って作成し、
Java による開発に役立てる手法を紹介します。
19:10 – 19:35 Java パズラーズ
ちょっとおかしな振る舞いをする Java プログラムに関するクイズです。正解者にはすてきな景品が…
19:35 – 19:50 休憩
19:50 – 20:30 GlassFish の新星 SailFin —— Java で通信系のサービスもパワーアップ!
Java エバンジェリスト
寺田 佳央(てらだ よしお)
IP 電話やインスタントメッセージなどの通信系のアプリケーションを作ってみませんか。
HTTP プロトコルに類似した SIP を使うと、Web アプリケーションのアナロジーで通信系の
アプリケーションが開発できます。このときに重要な働きをするのが SIP サーブレットのコンテナ。
このセッションでは GlassFish のサブプロジェクトで人気急上昇中のコンテナ SailFin について
デモを交えながら熱く語ります。
NetBeans 6.1 日本語版正式リリース

片貝さんからすでに
アナウンスされておりますが、
NetBeans 6.1の日本語版が正式にリリースされたようです!!
実は、私も早速ダウンロードして来ました!!
ダウンロードはこちらから

「JRuby の最新動向と NetBeans, GlassFish, Solaris on Sun サーバ」 セミナーの御紹介
イベント続きで、告知が多くなってますが、
今月末に開催される、Ruby会議に伴ってJRubyの
開発者である、Charles NutterとThomas Eneboが来日します。
それに併せて、2008年06月26日(木)に下記のセミナーを
開催します。
※ 今回のセミナーは先着順ではなく、抽選形式になります!!
抽選に漏れてしまった方には申し訳ありませんが、抽選形式で
登録者数による制限はありませんので、御興味のあるかたは
どしどし御応募ください。!!
#私も近々(6/18)セミナーで発表する予定なのですが、その告知はまた後ほど。。

「JRuby の最新動向と NetBeans, GlassFish, Solaris on Sun サーバ」
13:00 – 13:30 開場・受付
13:30 – 14:15 NetBeans 6.1 で加速する Ruby on Rails 開発
JRuby エバンジェリスト
野澤 智(のざわ とも)
Java の開発環境としてだけではなく、(J)Ruby の開発環境としても有効な NetBeans 6.1。
Ruby on Rails の開発での gem やプラグインの管理、rake タスクの実行、デバッグ、スニペットなど、
NetBeans6.1 の特徴をご紹介いたします。NetBeans 6.1 を使うことでよりアジャイルに開発を加速します。
14:15 – 15:00 GlassFish で安心、エンタープライズ Ruby
Java エバンジェリスト
岡崎 隆之(おかざき たかゆき)
GlassFish は Java EE だけのアプリケーションサーバだと思っていませんか?実は GlassFish では
JRuby を使って Ruby on Rails 実行環境を構築できるだけでなく、クラスタ環境などへの配備も
サポートしています。ミッションクリティカル環境で使われている GlassFish の安心感をエンタープライズ
Ruby でもご堪能ください。
15:00 – 15:15 休憩
15:15 – 16:15 JRuby 最新動向
米国サン・マイクロシステムズ社
Charles Nutter
Thomas Enebo
16:15 – 17:00 (J)Ruby on Rails Tuning Tips
Solaris エバンジェリスト
河原 一哉(かわはら かずや)
(J)Ruby on Rails でアプリケーションを構築する際の Tuning Tips をご紹介いたします。Web サーバの設定、
データベースサーバの設定、OS のチューニング、アプリケーションのボトルネック解析など、さまざまな角度から
チューニングを行うノウハウをご紹介いたします。
マッシュアップで賞金100万ゲット

マッシュアップアワード第4回目開催のお知らせです!!
募集期間:
2008/06/03 – 2008/09/16
時間はまだまだあります!!
技術者の皆様、是非御参加ください。賞金は100万円です!!
ちなみに前回受賞作品はこちらです。
Sun SPOTがタダでもらえるかも?!
大渕さんによる、ふとっぱらキャンペーンが始まったようです。
これは、Sunの企画ではなく、大渕さんのプライベート企画のようです。
詳しくは下のリンクを押してください。
★Sun SPOTキットがもらえるアイディアコンテストやります★
Sun SPOTに興味のある方、是非御応募ください!!
開催要項
Sun SPOT アイディアコンテスト
開催期間:2008年6月1日~2008年6月30日 正午〆切
賞品:Sun SPOT キット 1名様
応募条件
日本語の Blog を書いている方、もしくはこれから書く意志がある方
現在サンの社員 (契約社員も含む) ではない方
Java プログラミングの経験がある方
現在日本国内に住んでいる方
受賞後、インタビューや取材等にご協力いただける方
審査基準
Blog に Sun SPOT のエントリを書いてくれそうかどうか
アイディアにオリジナルティ、新規性があるか
アイディアの実現が現実的かどうか
データセンターでインストールも楽なGlassFish Enterprise Server
そういえば、ふと紹介していなかったのを思い出したので、
今日はコンソールベースでGlassFishをインストールする方法を紹介します。
Sun GlassFish Enterprise Server(Sun Java System Application Server)の
インストーラはデータセンターでインストールする時(GUIが使えない環境)も
インストールがもかんたんです。
インストール時に-consoleオプションを指定してください。
> ./sjsas_ee-9_1_02-solaris-sparc-ml.bin -console Checking available disk space… Checking Java(TM) 2 Runtime Environment… Extracting Java(TM) 2 Runtime Environment files… Extracting installation files… Launching Java(TM) 2 Runtime Environment… Java Accessibility Bridge for GNOME loaded. You are running the installation program for Sun Java System Application Server with HADB. This program asks you to supply configuration preference settings that it uses to install the server. The installation program consists of one or more selections that provide you with information and let you enter preferences that determine how Sun Java System Application Server with HADB is installed and configured. When you are presented with the following question, the installation process pauses to allow you to read the information that has been presented. When you are ready, press Enter to continue. …………………………………….. Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, California 95054 if you have questions. If you have read and accept all the terms of the entire Software License Agreement, answer ‘yes’, and the installation will continue. If you do not accept all the terms of the Software License Agreement, answer ‘no’, and the installation program will end without installing the product. Have you read, and do you accept, all of the terms of the preceding Software License Agreement [no] {“<" goes back, "!" exits}? Yes The Sun Java System Application Server with HADB components will be installed in the following directory, which is referred to as the “Installation Directory”.To use this directory, press only the Enter key. To use a different directory, type in the full path of the directory to use followed by pressing the Enter key. Installation Directory [/opt/SUNWappserver] {“<" goes back, "!" exits}: /opt/SUNWappserver The directory “/opt/SUNWappserver” does not exist. Do you want to create it now or choose another directory? 1. Create Directory 2. Choose New Enter the number corresponding to your choice [1] {“<" goes back, "!" exits} 1 Please choose components. Do you want to install Node Agent [yes] {“<" goes back, "!" exits}? yes Do you want to install High Availability Database Server [no] {“<" goes back, “!” exits}? yes Do you want to install Load Balancing Plugin [no] {“<" goes back, "!" exits}? no Do you want to install Domain Administration Server [yes] {“<" goes back, “!” exits}? yes Do you want to install Sample Applications [yes] {“<" goes back, "!" exits}? yes Java Configuration The Sun Java System Application Server requires a Java 2 SDK. Please provide the path to a Java 2 SDK 5.0 or greater. 1. Install Java 2 SDK (5.0) 2. Reuse existing Java 2 SDK 3. Exit What would you like to do [1] {“<" goes back, "!" exits}? 1 Supply the admin user’s password and override any of the other initial configuration settings as necessary. Admin User [admin] {“<" goes back, "!" exits}: admin Admin User’s Password (8 chars minimum):[********] Re-enter Password: [********] Master Password will be used as SSL certificate database password. Master Password (8 chars minimum):[********] Re-enter Master Password:[********] Admin Port [4848] {“<" goes back, "!" exits}: HTTP Port [8080] {“<" goes back, "!" exits}: HTTPS Port [8181] {“<" goes back, "!" exits}: Please choose installation options. Do you want to enable Updatecenter client [yes] {“<" goes back, "!" exits}? yes Do you want to upgrade from previous Application Server version [no] {“<" goes back, “!” exits}? no Checking disk space… The following items for the product Sun Java System Application Server with HADB will be installed: Product: Sun Java System Application Server with HADB Location: /opt/SUNWappserver Space Required: 462.04 MB —————————————————– Java 2 SDK, Standard Edition 5.0 Uninstall Sun Java System Message Queue 4.1 Application Server Sample Applications High Availability Database Server High Availability Database Administration Client Startup Ready to Install 1. Install Now 2. Start Over 3. Exit Installation What would you like to do [1] {“<" goes back, "!" exits}? 1 Installing Sun Java System Application Server with HADB |-1%————–25%—————–50%—————–75%————–100%| Installation Successful. Next Steps: 1. Access the About Application Server 9.1 welcome page at: file:///opt/SUNWappserver/docs/about.html 2. Start the Application Server by executing: /optSUNWappserver/bin/asadmin start-domain –user admin domain1 3. Start the Admin Console: https://localhost:4848 4. Access sample applications: http://localhost:8080/samples/index.html Please press Enter/Return key to exit the installation program. {“!” exits} Deleting temporary files… > |
また、https://glassfish.dev.java.netからダウンロードしたGlassFishのインストールも
同様にコンソールオプションを使用してインストールができます。
> java -Xmx256m -jar glassfish-installer-v2ur2-b04-darwin-ml.jar -console COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 1. Definitions. 1.1. Contributor. means each individual or entity that creates or contributes to the creation of Modifications. 1.2. Contributor Version. means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. 1.3. Covered Software. means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. 1.4. Executable. means the Covered Software in any form other than Source Code. (省略)…………………………………………………………………………………………….. ………………………………………………………………………………………………………… ………………………………………………………………………………………………………… ………………………………………………………………………………………………………… As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module.? An independent module is a module which is not derived from or based on this library.? If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so.? If you do not wish to do so, delete this exception statement from your version. Accept or Decline? [A,D,a,d] a glassfish glassfish/docs glassfish/docs/css glassfish/docs/de glassfish/docs/de/css glassfish/docs/de/figures glassfish/docs/de/graphics glassfish/docs/es glassfish/docs/es/css glassfish/docs/es/figures (省略)…………….. ………………………… ………………………… ………………………… glassfish/updatecenter/LICENSE.txt glassfish/updatecenter/README glassfish/updatecenter/registry/SYSTEM/local.xml installation complete |
Hudsonを使ったアジャイルな開発入門



以前、Hudsonについて私のブログでもで紹介しましたが、
その後、Hudsonが今年のJava One 2008 サンフランシスコで
Duke Choice Awardに
受賞したことはご存知の方も多いことでしょう。
また、今日アクエリウム
でも報じられましたが、Hudsonの開発者である
川口さんついにHudsonを専業で開発できるようになったようですね。
Hudsonは開発の現場を変えることのできるツールです。
是非、皆様も試してみてくださあい。
そんな川口さんから、直接Hudsonについて日本語で説明されている記事が下記にあります。
是非、皆様下記の特集を読んでHudsonを使って開発効率をあげましょう!!
技術評論社 特集:「Hudsonを使ったアジャイルな開発入門」
川口さんの日本語ブログはこちら
バグを見つけてGlassFish Award Program(GAP)へ登録しよう!!
先日、塩田さんからGlassFish Award Program(GAP)について詳しく説明して頂きました。
丁度その矢先にGAPの事務局の一人から下記のようなメールをもらいました。
これは以前、私がGlassFishのバグを登録していたのですが、
そのバグが修正され、GlassFishの質の向上につながったので、
GAPに応募しないか?という内容でした。
私はSunの社員なのでこのGAPには応募はできないのですが、
もし、GlassFishのバグを見つけたという方がいらっしゃいましたら、
是非、バグ登録をしてGAPにご応募ください。
I have been doing some digging in the issues filed recently (and mostly fixed) against GlassFish. You’re receiving this email because you’ve submitted a bug which led to a fix which in turn improved GlassFish or one of its sub-projects. I’d like to remind you that we’re running the GAP (GlassFish Awards Program – http://glassfish.org/GAP) and that as part of it we’re rewarding valuable bug reports. Since you’re receiving this (and you are not a Sun employee), you are most likely eligible. So, please feel free to send an email to with your name and a reference to the bug report you’d like to compete with. Of course, we’d love to have more valuable reports (say for the recent v2ur2 or v3), so now is a good time to actually file that annoyance or serious issue you’ve been working around for a while. |
バグは見つけているんだけど、英語になおすのはちょっとという方は
まずは、日本のコミュニティのメーリングリスト(グラジェーや、
discuss_ja@glassfish.dev.java.net メーリングリスト
)に参加し日本語で報告ください。
GlassFishコミュニティは日本ユーザの皆様の御参加を御待ちしております!!
