Archive for 12月, 2009
GlassFish WebStack Enterprise ManagerとGlassFish WebSpace Server

今日のイベントで使用したプレゼン資料と、デモのビデオを
公開します。
プレゼン資料
今日は、本当に色々な事を説明させていただいたのですが、
デモでは GlassFish WebStack の Enterprise Manager と
GlassFish WebSpace Server(ポータルサーバ)のデモを
行いました。
ちなみにデモは MacBook に Virtual Box インストールして
その上で、Solaris x86 をインストールしてデモしています。
GlassFish WebStackのEnterprise Manager は
GlassFish Portfolio のライセンスを Sun から購入して
頂いたお客様だけが使用できるアドバンスドな、
管理 GUI ですが、この管理 GUI から Apache, Tomcat,
MySQL等の起動/停止ができる他、実行時の状況を
確認するための、グラフも表示してくれます。
表示したい項目はリストの中から選択ができますが、
非常に多くの項目を確認することができます。
こちらからも確認できます。
また、GlassFish WebSpace Server は Liferay 5.2 を
ベースにSunが拡張したポータルサーバで、ポータルサーバに
必要な機能はほぼ全てデフォルトでそろっています。
このポータルサーバは、OpenOffice 等のオフィス製品と
連携する事もでき、ポータルサーバ上に作成した、
ファイル共有エリアから、ファイルの取得や保存などの
処理も行えますので、グループでドキュメントの共有を
したい場合などにも便利です。
ポータルサーバにご興味のある方は是非デモをご覧下さい。
こちらからも
確認できます。
最後に、GlassFish v3 も FCS 版が 12/10(日本時間:12/11)でGA版が
クリスマス前にはリリースされる予定です。これに併せて、海外等では
GlassFish v3/Java EE 6 に関連したウェビナーが行われる予定です。
是非、楽しみにしてください。
今日は話がたくさん
今日は、
http://jp.sun.com/company/events/2009/000423.html
こちらのイベントを開催しますが、今日は話がてんこもりで、
発表が時間内に終わるか、また伝えたいポイントがぶれないかがとても心配です。
GlassFish v3もリリース間近という事でちょっと紹介させて頂きます。
GlassFish v2.1.1の追加機能のメモ
http://wiki.glassfish.java.net/Wiki.jsp?page=PlanForGlassFishV2.1.1
New load-balance option for stateless session beans
A new method for load-balancing stateless EJBs is introduced in GlassFish v2.1.1.
This provides for load-balancing with each request. Per-request load balancing
chooses the first node in the cluster to use on each request.
The old load balancing feature chooses the first node to use when the InitialContext is created;
thereafter each request uses the same node (unless a failure occurs).
Enabling this feature is done by setting a new property in the sun-ejb-jar.xml file:
per-request-load-balancing (boolean). If this property is not set,
the original Load Balance behavior is preserved.
For example:
<sun-ejb-jar>
<enterprise-beans>
<unique-id>1</unique-id>
<ejb>
<ejb-name>TheGreeter</ejb-name>
<jndi-name>greeter</jndi-name>
<per-request-load-balancing>true</per-request-load-balancing>
</ejb>
</enterprise-beans>
</sun-ejb-jar>
After this is set, you must redeploy the EJB(s).
As a verification check, you can verify that this is configured properly
by looking for the following (FINE, in the EJB logger) log message
when the EJB is loaded:
“Setting per-request-load-balancing policyfor EJB <EJBNAME>”
This is only supported for stateless session beans.
Use of per-request-load-balancing with any other bean types will
result in a deployment error.
