Web Service関連のリンク

●Web ServiceにEJBをインジェクションしてみる

http://www.ibm.com/developerworks/jp/java/library/j-jee5/index.html

●Web ServiceをEJBとして公開してみる

http://otndnld.oracle.co.jp/document/products/as10g/101310/doc_cd/web.1013/B31852-01/usssbws.htm

●Web Serviceのクライアントタイムアウトを設定してみる

http://www.nilab.info/zurazure2/000676.html

EJBインスタンスを管理してみる

http://otndnld.oracle.co.jp/document/products/as10g/101310/doc_cd/web.1013/B31852-01/usadmin.htm#817460

hibernate toolsの使い方をメモメモ

<path id="toolslib">
	<fileset dir="lib">
		<include name="**/*.jar" />
	</fileset>
	<path location="${entity.dir}" />
</path>

<!-- タスク定義 -->
<taskdef name="hibernatetool" 
	classname="org.hibernate.tool.ant.HibernateToolTask" 
	classpathref="toolslib" />

<!-- エンティティからスキーマを作成 -->
<target name="create-schema" depends="clean-build" description="">
	<hibernatetool destdir="${build.dir}">
		<jpaconfiguration persistenceunit="${persistenceunit}" />
		<hbm2ddl drop="true"/>
	</hibernatetool>
</target>

<!-- エンティティからテーブル定義書を作成 -->
<target name="create-doc" depends="clean-build" description="">
	<hibernatetool destdir="${build.dir}">
		<jpaconfiguration persistenceunit="${persistenceunit}" />
		<hbm2doc />
	</hibernatetool>
</target>

<!-- エンティティからddlを作成 -->
<target name="create-ddl" depends="clean-build" description="">
	<hibernatetool destdir="${build.dir}">
		<jpaconfiguration persistenceunit="${persistenceunit}" />
		<hbm2ddl 
			export="false" 
			format="true" 
			outputfilename="bmake.ddl" />
	</hibernatetool>
</target>

<target name="clean-build">
	<delete dir="${build.dir}" />
	<mkdir dir="${build.dir}"/>
</target>