GWTPライブラリの中身

現時点2018/8時点のGWTP 1.6の各ライブラリの用途についてまとめる。

例えば、https://mvnrepository.com/artifact/com.gwtplatformにある。

ソースは、https://github.com/ArcBees/GWTPにあるものらしい。

クライアント側のみに必要なもの

gwtp-mvp-client

Presenter、View、PlaceManager等のGWTPのMVPモデルの中核部分らしい。
パッケージは、com.gwtplatform.mvp以下になっている。

gwtp-mvp-shared

名前はsharedになっているが、これをサーバ側で使うことは無いだろう。

パッケージはcom.gwtplatform.mvp.sharedで、PlaceRequest、つまりURLを遷移させるためのクラスが定義されている。しかし、これらはSerializableでも無く、sharedの理由が不明

gwtp-clients-common

gwtp-mvp-client, gwtp-mvp-sharedから依存されている
パッケージはcom.gwtplatform.common

gwtp-dispatch-rpc-client

com.gwtplatform.dispatch.rpc.client以下。
クライアントRPC用のライブラリ?

gwtp-dispatch-common-client

com.gwtplatform.dispatch.clientパッケージ。
gwtp-dispatch-rpc-clientが依存している。

サーバ側のみに必要なもの

gwtp-dispatch-server

gwtp-dispatch-rpc-shared

sharedとなっているが、サーバ側にのみ必要なもののようだ。
com.gwtplatform.dispatch.rpc.sharedパッケージ。

gwtp-dispatch-common-shared

gwtp-dispatch-rpc-sharedから依存されている

サーバ側DI関連

gwtp-dispatch-server-guice

Guice専用?

gwtp-dispatch-rpc-server-guice

com.gwtplatform.dispatch.rpc.server.guiceパッケージ。

Guice専用?

gwtp-dispatch-server-spring

spring専用?

gwtp-dispatch-rpc-server-spring

Spring専用?

ツール

gwtp-processors

Eclipse上でのアノテーションプロセッサというものらしい。

GWTP Boilerplate Generation – Eclipse Annotation Processingに説明がある。

検索エンジン対策

GoogleのAJAXクローリング仕様にしたがって、Googleにクローリングさせるもののようだ。

Crawler Supportに説明がある。

gwtp-crawler

com.gwtplatform.crawler.serverパッケージ

gwtp-crawler-service

com.gwtplatform.crawler.serverパッケージおよびその下のdomain/guice/objectify/serviceパッケージ

REST用と思われる

gwtp-dispatch-rest

gwtp-dispatch-rest-shared

アプリ・ツール類?

gwtp-carstore

GWTPの機能テストのためのシンプルなアプリだという

gwtp-build-tools

gwtp-tester

gwtp-dispatch-rpc-test

gwtp-dispatch-test

全部入り

gwtp-all

複数のjarをまとめたものと言っているが、中身の記述無し。

しかし、パッケージを見てみると、「すべて」入っているようだ。つまり、guiceやspring専用のライブラリまで格納されている。

バージョンが古いもの

gwtp-dispatch-shared 1.0.3

メンテされていないと思われる。

gwtp-dispatch-client 1.0.3

メンテされていないと思われる。

extensions

バージョンが最初から1で、上がっていない

用途不明のもの

gwtp-core

coreという割には他のモジュールから依存されていない。

com.gwtplatform.extensions

???

gwtp

???