Archive for the ‘sca’ Category
SCA Java 1.2.1-incubating (June 2008)
Tuscanyのメーリングリストが活発なので、久々にWebサイトを見に行ったところ、SCA Java 1.2.1-incubating がリリースされていました。4月にSDO Java Release 1.1-incubating もリリースされていたとは。
ここのところ技術以外の勉強を優先させていて、すっかりSCA & SDOに疎くなっています。そろそろまた花火採点アプリに取り組む季節になってきたので、時間を作り、最近よく目にする”blog on the go”って感じにしたいけれど...難しいかもなあ。
SCA Java 0.99-incubating
SDO + DASを使ったアプリケーション作成に追われている間に、 SCA Java 0.99-incubatingがリリースされていました。Online Store SCA Composite
というチュートリアルもありますね。早速試してみないと。
This release of Apache Tuscany SCA builds on the stability and modularity established with the previous releases and includes more complete implementation of SCA specifications, support for distributed SCA domains, SCA policy, OSGi implementation types, and pub/sub support with notification components. Start up time and memory footprint of the runtime has been reduced and there have been numerous bug fixes. This is expected to be the last point release before the 1.0 final release.
SCA Expressed as a UML Model
OSOAのページに新しいコンテンツが追加されていました。SCAのUMLモデルです。図が大きすぎるのでリンクだけ。
Final Version SCA 1.0 Specifications
SCA 1.0の、Final Version が発表されました。
http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications
SCA Assembly Model V1.00
SCA Policy Framework V1.00
SCA Java Common Annotations and APIs V1.00
SCA Java Component Implementation V1.00
SCA Spring Component Implementation V1.00
SCA BPEL Client and Implementation V1.00
SCA C++ Client and Implementation V1.00
SCA Web Services Binding V1.00
SCA JMS Binding V1.00
SCA EJB Session Bean Binding V1.00
実装のないコンポーネントは何のため
The Draft SCA 1.0 Specificationsのうち、とりあえずはSCA Assemblyを読んでいる。
component要素は、0個または1個のimplementation要素を持つ。
implementation要素0個の、実装のないコンポーネントは動かすことはできない。しかしこのようなタイプのコンポーネントは、トップダウン型の開発で図式を先に書く場合などに役立つはず。
なるほど。
確かに、コンポーネントを定義したいだけなのに、いちいち実装を指定しなければいけなかったら面倒だ。コンポーネントには実装があるべきだという考えより、開発のしやすさを選択するのも大切かもしれない。
The Draft SCA 1.0 Specifications
OSOA Supportersに、SCA 1.0のドラフトが公開されました。
SCA Assembly
SCA Policy Framework
SCA Web Services Binding
SCA JMS Binding
SCA Java Common Annotations & APIs
SCA Java Component Implementation
SCA Spring Component Implementation
SCA BPEL Client and Implementation
SCA C++ Client and Implementation
今日のTuscany Java
おお、ようやくBUILD SUCCESSFUL!
久々にこの文字を見ました。
今日のTuscany Java
ここ何週間か、ずっとビルドできない状況。
今朝もBUILD FAILUREでした。
開発者のMLでようやく話題になり、今週中にはビルドできるようになりそうです。
Tuscany – Invalid UTF-8 middle byte 0×3f
SubVersionのバージョンにも因るが、$Date$で展開される日付の曜日だけ日本語になっていると、現時点ではテストケースでエラーとなる。テストをスキップすればビルドは成功するが、サンプルを動かす際に同じエラーで動かない。
これは、*javaのソースファイルだけでなく、*.scdl、*.wsdlなどのファイルに日本語の曜日が展開されているものがあるため。
[workaround]
・Windows環境でチェックアウトする際は、ロケールを英語にする(LinuxなどではLANG=Cで。)
・CygwinのSubVersionを使う。ただし、.svnディレクトリがhiddenにならずビルドに失敗するケースがあるので、その際は次のシェルを実行する。
#!/bin/sh
for i in `find . -type d -name ‘.svn’`; do cmd /c attrib +H `cygpath -ws $i` ; done
Tuscanyプロジェクトをeclipseのプロジェクトにする
TuscanyのMavenプロジェクトをeclipseのプロジェクトとして扱うには。
1. 次のコマンドを実行
“mvn -Peclipse eclipse:eclipse”
*NOT* just “mvn eclipse:eclipse”
2. import > Existing projects into Workspace でプロジェクトをインポート
3. M2_REPO変数を ~/.m2/repository にセットして依存関係を解決