Terracotta(てらこった)
GuruKoolさんの記事を読んで。
モトネタ
クラスタリング EVB vs JMS vs POJO
をちょっと読みました。
テラコッタなるものがクラスタリングをするときに便利らしい。
文章はちょっと長いが、いいたいことは「テラコッタ、まじいいよ」ということ。
文末にまとめてあるテラコッタの特徴が全てかと。
・no serialization
・cluster-wide object identity
・fine grained sharing of data and high performance.
⇒要はクラスタリングしててもサクサク感を維持できるということ。
ダウンロード
テラコッタの公式HP
テラコッタのHPより抜粋(特徴)
・Real-time access to large amounts of data from thousands of servers
多くのサーバーから膨大な情報へのリアルタイムアクセス
・Scalability and availability for Struts and Spring WebFlow
Strutsにもスプリングにも拡張できる
・Scalable service-oriented fulfillment systems
拡張可能なサービス指向性の充実したシステム
うーん、実に分かりにくいまとめで申し訳ないのですが。
クラスタリングするには便利そう。いくつかサンプルがHPにありました。調べてみて楽しそうなら共有します♪
ちなみに、
The experience was a hair-losing and maddeningly frustrating one.
なんか表現が面白かった。著者の経歴を語る場面で「まじすげー大変な3年間でした」
というニュアンスで「a hair-losing experience」という言い回し。なんか、
想像できますよね…大変そう。
GuruKoolさんの記事を読んで。モトネタ
クラスタリング EVB vs JMS vs POJO
をちょっと読みました。
テラコッタなるものがクラスタリングをするときに便利らしい。
文章はちょっと長いが、いいたいことは「テラコッタ、まじいいよ」ということ。
文末にまとめてあるテラコッタの特徴が全てかと。
・no serialization
・cluster-wide object identity
・fine grained sharing of data and high performance.
⇒要はクラスタリングしててもサクサク感を維持できるということ。
ダウンロード
テラコッタの公式HP
テラコッタのHPより抜粋(特徴)
・Real-time access to large amounts of data from thousands of servers
多くのサーバーから膨大な情報へのリアルタイムアクセス
・Scalability and availability for Struts and Spring WebFlow
Strutsにもスプリングにも拡張できる
・Scalable service-oriented fulfillment systems
拡張可能なサービス指向性の充実したシステム
うーん、実に分かりにくいまとめで申し訳ないのですが。
クラスタリングするには便利そう。いくつかサンプルがHPにありました。調べてみて楽しそうなら共有します♪
ちなみに、
The experience was a hair-losing and maddeningly frustrating one.
なんか表現が面白かった。著者の経歴を語る場面で「まじすげー大変な3年間でした」
というニュアンスで「a hair-losing experience」という言い回し。なんか、
想像できますよね…大変そう。
気づいていない選択肢があるはずだ。
事実意見を集めたか。つまり、実際に起こった事とそれに対する
人の考えを知っているか。
必要な情報は集めたか。
それは誰が知っているか。どこで手に入るか。どうやって手に入れることができるか。
他人から聞いた情報は自分で確かめたか。
1分間意思決定―決断力がつく6つの秘訣より
■showModalDialog(別ウィンドウ)で設定した項目を親画面に反映したい場合
StrutsでshowModalDialogを使いたいときの、一つの方法です。
ちなみに…
単なるポップアップ: ポップアップを開いた状態で親画面を操作できる。
<strong>showModalDialog</strong>: ポップアップを開いた状態では親画面を操作できない。
/////////////////////////////////////////////
//
// 親画面.jsp
//
/////////////////////////////////////////////
<script type="text/javascript">
/**
* ポップアップ(ショーモーダル)を開く詳細設定を行います。
* @param contextPath コンテキストパス
* @return ポップアップ先で設定された項目
*/
function popupDirector(contextPath) {
var nm = document.popupForm.name.value;
var ag = document.popupForm.age.value;
var ge = document.popupForm.gender.value;
var display = "dialogWidth:600px;dialogHeight:500px;center:yes;";
var url = contextPath + "/popupInit.do?name=" + nm + "&age=" + ag + "&gender=" + ge;
var retData = window.showModalDialog(url, window, display);
return retData;
}
/**
* ポップアップを開くように命令します。
* また、設定項目を親画面に代入します。
* @param contextPath コンテキストパス
*/
function popupInit(contextPath) {
// ポップアップを開くよう指示するとともに
// ポップアップ先で設定された項目を受け取る
var retData = popupDirector(contextPath);
//ポップアップ先で設定された項目を親画面に代入
document.popupForm.name.value = retData[0];
document.popupForm.age.value = retData[1];
document.popupForm.gender.value = retData[2];
}
</script>
.
.
.
<html:form action="popInit">
<html:hidden write="true" property="name"/><br>
<html:hidden write="true" property="age"/><br>
<html:hidden write="true" property="gender"/><br>
<input type="button" name=updateMail value="ポップアップ" onclick="popupInit('<%=request.getContextPath()%>')">
</html:form>
.
.
.
/////////////////////////////////////////////
//
// popupInitAction.java
//
/////////////////////////////////////////////
必要なければ何もしなくても良い。
/////////////////////////////////////////////
//
// 子画面.jsp
//
/////////////////////////////////////////////
<script language="JavaScript">
<!--
function windowClose() {
var retData= new Array(3);
retData[0] = document.popupForm.name.value;
retData[1] = document.popupForm.age.value;
retData[2] = document.popupForm.gender.value;
parent.returnValue = retData;
parent.window.close();
}
-->
</script>
.
.
.
<html:form action="popSubmit">
<html:text property="name"/><br>
<html:text property="age"/><br>
<html:text property="gender"/><br>
<input type="button" value="閉じる" onclick="windowClose()" />
</html:form>
.
.
.
StrutsでshowModalDialogを使いたいときの、一つの方法です。
ちなみに…
単なるポップアップ: ポップアップを開いた状態で親画面を操作できる。
<strong>showModalDialog</strong>: ポップアップを開いた状態では親画面を操作できない。
/////////////////////////////////////////////
//
// 親画面.jsp
//
/////////////////////////////////////////////
<script type="text/javascript">
/**
* ポップアップ(ショーモーダル)を開く詳細設定を行います。
* @param contextPath コンテキストパス
* @return ポップアップ先で設定された項目
*/
function popupDirector(contextPath) {
var nm = document.popupForm.name.value;
var ag = document.popupForm.age.value;
var ge = document.popupForm.gender.value;
var display = "dialogWidth:600px;dialogHeight:500px;center:yes;";
var url = contextPath + "/popupInit.do?name=" + nm + "&age=" + ag + "&gender=" + ge;
var retData = window.showModalDialog(url, window, display);
return retData;
}
/**
* ポップアップを開くように命令します。
* また、設定項目を親画面に代入します。
* @param contextPath コンテキストパス
*/
function popupInit(contextPath) {
// ポップアップを開くよう指示するとともに
// ポップアップ先で設定された項目を受け取る
var retData = popupDirector(contextPath);
//ポップアップ先で設定された項目を親画面に代入
document.popupForm.name.value = retData[0];
document.popupForm.age.value = retData[1];
document.popupForm.gender.value = retData[2];
}
</script>
.
.
.
<html:form action="popInit">
<html:hidden write="true" property="name"/><br>
<html:hidden write="true" property="age"/><br>
<html:hidden write="true" property="gender"/><br>
<input type="button" name=updateMail value="ポップアップ" onclick="popupInit('<%=request.getContextPath()%>')">
</html:form>
.
.
.
/////////////////////////////////////////////
//
// popupInitAction.java
//
/////////////////////////////////////////////
必要なければ何もしなくても良い。
/////////////////////////////////////////////
//
// 子画面.jsp
//
/////////////////////////////////////////////
<script language="JavaScript">
<!--
function windowClose() {
var retData= new Array(3);
retData[0] = document.popupForm.name.value;
retData[1] = document.popupForm.age.value;
retData[2] = document.popupForm.gender.value;
parent.returnValue = retData;
parent.window.close();
}
-->
</script>
.
.
.
<html:form action="popSubmit">
<html:text property="name"/><br>
<html:text property="age"/><br>
<html:text property="gender"/><br>
<input type="button" value="閉じる" onclick="windowClose()" />
</html:form>
.
.
.
短期的な意思決定には「1分間意思決定」
中・長期的な意思決定には「7つの習慣」
というニュアンスで考えています。賛否両論ある本たちですが、
とても好きです。
1分間意思決定―決断力がつく6つの秘訣
よく自分に問いかける質問。
「自分を本気で信じているとしたら行っていることは何か。それをすぐにやる」
中・長期的な意思決定には「7つの習慣」
というニュアンスで考えています。賛否両論ある本たちですが、
とても好きです。
1分間意思決定―決断力がつく6つの秘訣
よく自分に問いかける質問。
「自分を本気で信じているとしたら行っていることは何か。それをすぐにやる」


