The Spring AMQP project applies core Spring concepts to the development of AMQP-based messaging solutions. It provides a "template" as a high-level abstraction for sending and receiving messages. It also provides support for Message-driven POJOs with a "listener container". These libraries facilitate management of AMQP resources while promoting the use of dependency injection and declarative confi
Spring MVC 3.0/3.1/3.2の日本語の実用レベルのまとまった情報が少ないので、ドキュメントとして、クックブック的なレシピ集としてまとめたものとして公開します。 まだ、書きかけのところもありますが、Spring MVCの大体の機能は説明できていると思います。 基本的に、自分が使っている機能をまとめています。 Spring MVCに直接関係しないものも多々あります。書いていたら、いつの間にか増えてました(JAXBやRELAX NGとか)。 今後も主にこの方針で更新していきますが、ページ数が多くなった場合、分割するかもしれません。 目指すところ Webアプリケーションを作成するときに、フレームワークの選定する際の候補としてSpring MVCも入れてほしいので、その参考資料としても使えるようにする。また、目次をみれば、Spring MVCで何ができるのかできるだけわかるようにする
A common model for implementing EIP in Java, is to use Apache Camel, with some sort of MQ or JMS backing. One of the more interesting MQ frameworks in use today is the Erlang-based RabbitMQ. Camel is a very widely used integration platform. It’s very flexible and takes care of wiring up services, mediating messages, transforming data, among many other useful things. It also comes with tons of comp
The document provides an overview of testing features introduced in Spring 3.1, focusing on the Spring TestContext framework, which simplifies integration testing for Spring-based applications, and new support for testing with @Configuration classes and environment profiles. It details various testing annotations, integration scenarios, and example test cases, emphasizing the importance of unit an
In my last entry, I walked you through several enhancements in Spring 3 for web application development. A number of you expressed interest in a follow-up entry focused on Ajax remoting. Spring 3 provides a lot in this area to take advantage of. Read on, and I'll walk you through it. Spring and Ajax Overview For the purposes of this article, when I say Ajax, I'm talking about the web browser's abi
ClassNotFoundException : org.springframework.web.context.ContextLoaderListener Problem The ContextLoaderListener is used to integrate Spring with other web application. <!-- file : web.xml --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/Spring/applicationContext.xml</param-value> </context-param> <listener> <listener-class> org.springframework.web.context.C
DI(Dependency Injection)は、「機能を部品化し、設定ファイルで部品間の関係を設定することでアプリを作成することができる機能」です。
web.xmlでDispatcherServletの設定(最初だけ) controllerの作成(StrutsにけるAction) controllerのマッピングの設定(どのURLがどのcontrollerを利用するかを設定ファイルに書き込む。実際には色々な設定の仕方があるが、今回はデフォルト) ViewResolverの作成。これはあるcontrollerから、jspやらvelocityに遷移させる際に参照する。今回はデフォルト。 velocityファイルの作成。 最初に戻る DispatcherServletの設定 web.xmlに以下のservletを書き込む。現在xdocletを使ってweb.xmlを書き出しているので、実際にはsrc/mergeにある servlets.xmlの中に書き込むことになる。 <servlet> <servlet-name>webcms</servle
Spring MVCのプロジェクト作成 早速機能の紹介といきたいところだが、最近のSpringは、巨大になってきてとっつきにくいという声をしばしば耳にする。まずは基本的なところであるが、プロジェクトの作成から見ていこう。 注意点としては、Spring 3.0からフレームワークの構成が変更になったため、これまでとは違い、Springの全てのソースが含まれるspring.jarというファイルが配布されておらず、個別のjarファイルになっている。そのため、複数のjarファイルを用意する必要がある。依存ライブラリを含めたjarファイルの管理に手間が掛かるのでMavenを使用することをお勧めする。以下ではMavenプラグインがEclipseに入っていることを前提としている。 プロジェクトの作成を行う方法はいくつかあるが、ここでは一番オーソドックスなSpringSource Tool Suite(ST
Sample Code NOTE See JPetstore 6 demo to know about how to use Spring with a full web application server. You can check out sample code from the MyBatis-Spring repo: Any of the samples can be run with JUnit 5. The sample code shows a typical design where a transactional service gets domain objects from a data access layer. FooService.java acts as the service: @Transactional public class FooService
Categories 2.0 (29) 2.5/2.1 (18) 3.0 (37) 3.1 (15) AMQP (7) Android (4) AOP (19) Apache Tomcat (7) Books (3) Builds (15) Bundlor (1) Business (26) Cloud Computing (46) Cloud Foundry (18) Containers (11) Data Access (38) dm Server (64) Enterprise Integration (17) Google (3) Green Beans (6) Groovy/Grails (47) Hyperic HQ (6) Hyperic IQ (1) IOC Container (31) Java (68) JMS (6) JMX (4) JSF (2) Manageme
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く