Weitere ähnliche Inhalte
Ähnlich wie dstn交流会_DataSpider のソーシャルとの融合、手組との融合 (20)
dstn交流会_DataSpider のソーシャルとの融合、手組との融合
- 4. Java7とDataSpider
• Java7
– 5年振りに新バージョンとして2011年7月末にリリー
ス
– 2012年後半にJava8リリースが予定されており、
Java7に盛り込まれる予定だった機能は一部Java8に
持ち越しに ex. Project Lambda
• DataSpider 3.0
– 2011年7月末リリース
– Java6を使用
– 2012年中にJava7への切り替えまたは2013年中に
Java8への切り替えを検討中
Javaの新機能はどのようなものか、
また、それによってDataSpiderはどう変わるのか
© 2010 APPRESSO K.K. All Rights Reserved. 4
- 5. Java7とDataSpider
1. Fork/Join API
2. NIO 2 / Filesystem API
3. Invoke Dynamic
4. Unicode 6.0
© 2010 APPRESSO K.K. All Rights Reserved. 5
- 6. Java7とDataSpider
• Fork/Join API
– 並列処理によってマルチコアCPUをフル活用
public class MergeSort {
public int[] sort(int[] all) {
int threads = Runtime.getRuntime().availableProcessors();
ForkJoinExecutor pool = new ForkJoinPool(threads);
SortImpl sort = new SortImpl(all);
pool.invoke(sort);
return sort.result;
}
}
private class SortImpl extends RecursiveAction {
private int[] all;
private int[] result;
SortImpl(int all) {
this.all = all;
}
© 2010 APPRESSO K.K. All Rights Reserved. 6
- 7. Java7とDataSpider
protected void compute() {
if (all.length < 10) { タスクが十分小さい場合には逐次処理
result = sequentialSort(all);
} else {
int[] left = new int[all.length / 2];
System.arraycopy(all, 0,0 left, 0, left.length);
SortImpl task1 = new SortImpl(left);
SortImpl task2 = new SortImpl(right);
invokeAll(task1, task2); タスクを分割実行
left = task1.result;
right = task2.result;
merge(left, right, all);
result = all;
}
}
}
© 2010 APPRESSO K.K. All Rights Reserved. 7
- 8. Java7とDataSpider
1. Fork/Join API
– マルチコアをフル活用
2. NIO 2 / Filesystem API
– NIO = Non Blocking IO
– J2SE 1.4(Java4)で追加されたNIOの強化版
– 各種パフォーマンス向上
– Watchable / WatchServiceによるネイティブなファイル
更新イベント監視
3. Invoke Dynamic
– 他言語のサポートを強化するためのJVM拡張
4. Unicode 6.0
– Java6: Unicode 4.0 → Java7: Unicode 6.0
– 携帯電話の絵文字対応等
– http://unicode.org/Public/UNIDATA/EmojiSources.txt
© 2010 APPRESSO K.K. All Rights Reserved. 8
- 9. Java7とDataSpider
1. Fork/Join API
- マルチコアを活用したスクリプト実行処理
- Ex. マージの高速化
2. NIO 2 / Filesystem API
- ファイルトリガーのネイティブ対応
3. Invoke Dynamic
- スクリプト中にRubyやPython、その他の言語でスク
リプト処理を記述可能に
4. Unicode 6.0
- 携帯絵文字等、Unicode 6.0での追加文字への対応
© 2010 APPRESSO K.K. All Rights Reserved. 9
- 13. DataSpider × 手組
「俺が書いた方が早い」人が
DataSpiderを使うと絶大な威力を発揮します
© 2010 APPRESSO K.K. All Rights Reserved. 13
- 15. SDKとDataSpiderのアダプタ
アプリケーション
■ SAP ネットワーク ファイル
・SAP(BAPI、RFC、IDOC/ALE対応、Java Connector経由での接続)
■ FTP ■ 固定長
・SAP TableQuery(テーブル読込み)
・DataSpider BCアダプタ(SAP Business Connector4.8対応) ■ JMS ■ 可変長
■ Salesforce ※4 ■ Dr.Sum ■Mail(SMTP/POP3/IMAP4) ■ ファイル操作
EA ■ Web (ZIP圧縮コピー、削除など)
■ Universal Connect/X(SVF) ■ Mainframe ■ Webサービス ■ CSV
■ StraForm-X(コネクタ) ■ Xuras ■ WebSphere MQ ■ Excel
inicio ■ LDAP(Active Directory) ■ FileSystem(Base64)
■ Oracle EBS ※3 ■ List ■ HTML/XHTML
Creator ■ OpenOffice.org Calc ※2
データベース
■ Oracle Node Text Converter ■ HULFT ※1 ■ XML
■ Access
■ DB2 UDB グループウェア
■ DB2 UDB for iSeries ■ Lotus Domino
■ JDBC ■ Lotus Notes
■ NeoCore
■ MySQL
■ ODBC クラウド
■ Oracle ■ Shunsaku ■ Amazon Web Services
■ PostgreSQL ■ SQL Server ■ Google Apps
■ Salesforce ※4
SDK SDK ■
■
Windows Azure
ニフティ※5
■ 追加アダプタ開発
※1:開発・販売元は、 株式会社セゾン情報システムズ社です。 ※2:販売元は、株式会社ティー・シー・エフ様です。 ※1、※2は、アプレッソより代理販売によって提供いたします
※3 :2010年8月より一時出荷停止中。詳細はアプレッソまでお問い合わせください。 ※4:印のアダプタは同一製品です ※5、1月20日出荷開始
© 2010 APPRESSO K.K. All Rights Reserved. 15
- 17. ソーシャルアダプタ
• ソーシャル系サービスのエンタープライズ利用
はこれからさらに活発に
• ソーシャルアダプタ
– Facebookアダプタ
– Twitterアダプタ
– Salesforce Chatterアダプタ
– Etc.
© 2010 APPRESSO K.K. All Rights Reserved. 17
- 18. ソーシャルアダプタ
© 2010 APPRESSO K.K. All Rights Reserved. 18
- 19. お問い合わせは… 株式会社アプレッソ
TEL:03-4321-1111
E-mail:info@appresso.com
URL:http://www.appresso.com/
© 2010 APPRESSO K.K. All Rights Reserved. 19