Velocity

Velocityについて

コミュニティ

ドキュメント

ツール

比較

日本語訳について

Older Velocity News − Velocity ニュースアーカイブ

Hey, Maybe We're On The Right Track After All...

Give this a read. The latest version of Resin, a popular servlet engine, has added what they call a "Velocity-like syntax" to their JSP implementation. As they say on their site :
"The Resin-2.0.3 release allows an alternate JSP expression syntax similar to the Apache Velocity project that many find more maintainable than the JSP pointy brackets. Resin's syntax extension is compatible with the usual JSP features like tag libraries."
We do think that this is a step in the right direction for JSPs, making the page content easier to write and maintain.

However, we want to emphasize to users that this isn't the same thing as using Velocity - this is a small subset of the Velocity syntax which was reimplemented in Resin.

Velocity is much more than an alternative syntax to the scriptlets and tags found in JSPs - it's a full-featured templating engine, fully portable to any J2EE servlet container, that offers many advanges over JSPs in the J2EE web application environment. It also an excellent templating tool for other kinds of applications written in Java.

So if you are interested in portable alternatives to JSP, we strongly encourage you look deeper into what Velocity has to offer.

And if you must use JSPs and want to incorporate Velocity into your current or new JSP-based web applications, take a look at our Veltag JSP taglib which allows the full power of Velocity in your JSPs.

ほら、やっぱりこの道で正しいんですよ、たぶん…

これを読んでみてください。 人気のサーブレットエンジンである Resin の最新バージョンで、 JSP 実装に" Velocity ライクな文法"が加わりました。彼らのサイトによると、
" Resin-2.0.3 リリースでは、多くの人が JSP の山型括弧(<...>)よりもメンテナンスしやすいと思っている、 Apache Velocity プロジェクトと同様の JSP に代わるシンタックスが使えます。 Resin のシンタックス拡張はタグライブラリなどの JSP の通常機能と互換性があります。"
このことは、ページコンテンツを書きやすくかつメンテナンスしやすくなるという意味で、 JSP のあるべき方向性だと思います。

しかし、強調しておきたいのは、これは Velocity を使うのと同じではないということです。 つまり、 Resin で実装しなおされたのは Velocity のシンタックスのごく一部なのです。

Velocityは、スクリプトレットやJSPのタグに代わるシンタックス以上のものです。 つまり、Velocityはフル機能のテンプレートエンジンであり、どんなJ2EE Servletコンテナへも 完全に移植が可能で、このことによって、J2EE Webアプリケーション環境で、 JSPよりも多くの点で優位に立っています。また、Javaで書かれた他のアプリケーションにとっても、 優れたテンプレートツールなのです。

したがって、JSPから移行可能な代替技術に関心があるのであれば、 Velocityが何を提供しなければならないかを十分に観察することを強く推奨します。

また、JSP を使わなければならなくて、 Velocity を既存の、もしくは新しい JSP ベースの Web アプリケーションに統合したいのであれば、 JSP で Velocity のパワーをフルに発揮できる Veltag JSP タグライブラリをご覧下さい。

Velocidoc Released

Velocidoc, a Velocimacro documentation tool modeled after Javadoc, is now available. Use Javadoc-style comments in your Velocimacro libraries, and use Velocidoc to generate HTML documentation.

Velocidoc がリリースされました

Javadoc風 の Velocimacro 文書化ツールである Velocidoc がリリースされました。自分の Velocimacro ライブラリで、 Javadoc スタイルのコメントを書き、 Velocidoc でHTML文書を生成できます。

New Apache Site Generated with Anakia

The new web site of the Apache Software Foundation is now generated using Anakia, the Velocity-based XML transformation tool. Take a look.

新 Apache サイトは Anakia で生成されています。

Apache Software Foundation の新 Web サイトは現在、 Anakia ( Velocity ベースの XML 変換ツール)で生成されるようになっています。 どうかご覧になってください。

Need To Mix JSP and Velocity?

Take a look at a new contribution, a Velocity taglib that lets you use Velocity right in your JSPs.

JSP と Velocity を混在させる必要がありますか?

新機能である、 Velocity taglib をご覧ください。 これによって、 JSP 内で Velocity をそのまま使うことができます。

4 published articles covering Velocity

Velocityが4つの記事に掲載されました

Getting Up to Speed with Velocity is a really well written article by Jim Jagielski about the merits of using a tool like Velocity.
Jim Jagielski による 「 Velocity でスピードアップ」という記事は、 Velocity のようなツールのメリットに関して、 実にうまく書かれています。
Many people believe that Velocity can only be used in the context of web applications. This excellent JavaWorld article by Leon Messerschmidt shows that the design of Velocity is such that it can be used in a myriad of applications.
多くの人が Velocity は Web アプリケーションでしか使えないと思っています。しかし Leon Messerschmidt による、この優れた JavaWorld の記事は Velocity の設計がいろんなアプリケーションで使えることを示しています。
The Java Developer Journal recently published an edited version of the YMTD article by Jon Stevens as the cover story for their July edition.
Java Developer Journal の(2001年)7月号のカバーストーリとして、 Jon Stevens が YMTD のマニュアルを編集した記事を掲載しました
The Sun Dot-Com Builder developer information site has a "Best Practices" product profile on Velocity. Check it out here. Thanks Sun!
Sun のドットコムビルダ 開発者情報サイトに、 Velocity による「ベストプラクティス」製品紹介 が掲載されています。こちら をチェックして下さい。 Sun に感謝!
(訳注:現在はこのサイトはクローズしています。)

4 Products/Projects Now Depend on Velocity

現在、4つの製品/プロジェクトで Velocity が使われています

Gentleware, Xadra and Vamp have built products which depend on Velocity. J/Top, a server monitoring project, also uses Velocity for email output formatting. We have listed them on our ever expanding Powered By Velocity page.
Gentleware、 Xadra、 Vamp が Velocity を使って製品をビルドしています。 J/Top (サーバ監視プロジェクト)も Velocity をEメール出力の整形に使っています。 これらについては、さらに拡大しつつある Powered By Velocity ページで一覧にしています。

5 Web Frameworks Now Support Velocity

現在、5つの Web フレームワークが Velocity をサポートしています

Turbine, JPublish, Melati, Maverick and WebWork all support Velocity. We have listed them on our ever expanding Powered By Velocity page.
Turbine、 JPublish、 Melati、 Maverick、 WebWork は全て Velocity をサポートしています。 これらについては、さらに拡大しつつある Powered By Velocity ページで一覧にしています。



このドキュメントは、 高橋達男 、 野瀬直樹 が訳しました。
コメントがある場合は、 report@jajakarta.org までお願いします。
オリジナル英文 Copyright © 1999-2003, The Apache Software Foundation