You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
One of the hallmarks of an experienced developer is an appreciation of the importance of unit and integration testing. Although integration testing is the ultimate way to verify application functionality, it does come with a lot of startup/execution/shutdown overhead. Sometimes it is easier to verify particular application components in isolation, without the actual application running. In this ar
Posted on March 25, 2009 by Nick. Posted in tutorial. Today I was amazed to discover that Unit testing JAX-RS resources with JUnit 4 and Java 6 is insanely easy. Have a look at the example below and then read the description underneath if things are not clear enough already. import static org.junit.Assert.*; import java.io.*; import java.net.*; import javax.ws.rs.*; import org.junit.*; import com.
2. Hbase Hbase の用途についての検討資料 Hbase の基本的性質の整理 振る舞い データモデル ~ 業務アプリから見てみる 用途についてのレイヤー毎での検討 レイヤーの整理~アプリ・レイヤーから見てみる 検討 3. Hbase の基本的性質についての整理 振る舞い 分散型 一般に、理屈からいうと複雑さがますほど制御が困難になる。 CAP 定理については、内容に疑義はあるが検討項目には値する。すなわち、 Consistency ・ Availability ・ Partition-Tolerance について留意する 一般に HBase は Consistency を重視していると言われる そのため SPoF 問題が常に浮上する。 SPoF はよく Availability の点で指摘されるが、むしろ Consistency の点からも検討されるべきである(不整合な状態を作る
As a testing tool, HttpUnit is primarily designed for "black-box" testing of web sites. In many cases that may be all you need; however, if you are developing complex servlets, you may wish to test smaller pieces of your code. Sometimes you can isolate them into simple tests using only JUnit. In other cases, you will want to test in a servlet environment. At this point you have two basic approache
はじめに この一連のメモは、Data-Intensive Text Processing with MapReduceに掲載されている Pseudo-code を実際に Hadoop で実行可能な Java クラスとして書いてみることを目的としています。 Java のソースコードを掲載するついでに、各デザインパターンのポイントをメモ書きしていきます。 筆者は、Perl 屋さんなので、(MapReduce と関係なく)Java のコードとしていけてない所は、やさしくご指摘下さい。m(_ _)m MapReduce デザインパターンの心 MapReduce で複雑な処理を行うには、Shuffle 処理をいかに活用するかが1つのポイント。 (1) Map の出力の Key に何をつかうか (2) Reduce に渡すデータの分割方法をどうするか の2点をよく考える事で、Reduce がより有用な
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く