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
Get some Help: Try the FAQ. Check the archives of the users mailing list, or post a question. Report bugs with GraphStream in the issue tracker. Development: So you are a developer ? You like GraphStream and want to help contribute to this open source project? Then read out how to Get Involved. You may also check out our wish list, pick up one idea and contact us if you feel like! For a quick over
前回JMongoStoreを作った際、HTTP Sessionに格納したオブジェクトをMongoDBに保存する為、JavaのオブジェクトとJava DriverのDBObjectとを相互変換するクラスを書きました。今回、それを別のモジュールとして切り出してmonganezという名前でgithubにアップしました。 特徴 Map/Iterable/POJOとDBObjectを相互変換する 事前に変換対象となるクラスの型をmapperに通知しておく必要がない ネストしたオブジェクトも自動的にDBObjectに変換する(←今回はこれがやりたかった) (今のところ)変換対象のクラスにAnnotationを付与する必要がない ついでにMaven Repositoryを作成してjarをアップしました。JMongoStoreもmonganezを使うように変更しています。使い方は以下のとおりです。 Jav
Java EE 5まではいろいろな面で生産性が低かったと言わざるを得ないところがあった 今まで仕事上、Java EEのサーバーを実行基盤として用いるさまざまなシステムの開発に関わってきましたが、JavaEE(古くはJ2EE)のサーバーというと経験上 xmlの設定ファイルの記述がきわめて面倒 J2EE1.4までは、EJBを使った場合Pojoとしてサービスやエンティティを作成できない サーバーの再起動にものすごく時間がかかる ライセンス料が高い サーバーを気軽にダウンロードして試せない というような非常に悪いイメージがあったというのが正直なところでした。 それゆえ、JavaをSEとEEに分類するのは今では無意味になってきている? - 達人プログラマーを目指してでも紹介したように、Seasar2やSpringといった軽量コンテナというしくみが登場し、事実上EJBコンテナの機能はほとんど利用せず、
In this tutorial, we show you how to save an image file into MongoDB, via GridFS API. The GridFS APIs are able to serve other binary files as well, like video and music files. 1. Save image Code snippets to save an image file into MongoDB, under “photo” namespace, and assign a new “filename” for the saved image. String newFileName = "mkyong-java-image"; File imageFile = new File("c:\\JavaWebHostin
1.3.1 Example of a cascaded one to one relationship annotations
Ubuntu 11.04で環境構築しようとして思い出したので一応。 最近のUbuntuでは標準でオープンソース版のJava実行環境、OpenJDKがインストールされています。 OpenJDKは簡単に言うとSun Javaからプロプライエタリなコードを取り除きオープンソース化したもので、ほぼ完全な互換性があります。 しかし、OpenJDKは若干機能的にSun Javaに遅れている部分もあり、またWindows環境ではSun Javaがほぼ確実に使われているため、互換性の面で多少不安が残ります。 そこで、Sun JavaをUbuntuにインストールしてみましょう。 導入方法 まず、 Javaアプリケーションを実行したいなら sudo apt-get install sun-java6-jreJavaアプリケーションを開発したいなら sudo apt-get install sun-java6-
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty is an NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server. 'Quick and ea
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く