5) Setup a JMS connection factory:
-JNDI name: jms/jjobs-queue-factory
+JNDI name: jms/jratecalc-queue-factory
Resource type: javax.jms.QueueConnectionFactory
6) Setup JMS message queue:
-JNDI name: jms/jjobs-email-queue
+JNDI name: jms/jratecalc-email-queue
Physical destination name: send-email
Resource type: javax.jms.Queue
7) Setup Java Mail session:
-JNDI name: jmail/jjobs
+JNDI name: jmail/jratecalc
Mail host: <your-smtp-host>
Default user: <your-smtp-login-name>
Default sender address: noreply@your-domain.example
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
-<project name="jjobs" default="default" basedir="." xmlns:ear="http://www.netbeans.org/ns/j2ee-earproject/2">
- <description>Builds, tests, and runs the project jjobs.</description>
+<project name="jratecalc" default="default" basedir="." xmlns:ear="http://www.netbeans.org/ns/j2ee-earproject/2">
+ <description>Builds, tests, and runs the project jratecalc.</description>
<import file="nbproject/build-impl.xml"/>
<!--
- cleanup
-->
-<project xmlns:ear2="http://www.netbeans.org/ns/j2ee-earproject/2" basedir=".." default="default" name="jjobs-impl">
+<project xmlns:ear2="http://www.netbeans.org/ns/j2ee-earproject/2" basedir=".." default="default" name="jratecalc-impl">
<import file="ant-deploy.xml"/>
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<property location="${build.dir}" name="dist.ear.dir"/>
<property name="deploy.on.save" value="${build.deploy.on.save}"/>
</ant>
- <ant antfile="${project.jjobs-ejb}/build.xml" inheritall="false" target="dist-ear">
+ <ant antfile="${project.jratecalc-ejb}/build.xml" inheritall="false" target="dist-ear">
<property location="${build.dir}" name="dist.ear.dir"/>
<property name="deploy.on.save" value="${build.deploy.on.save}"/>
</ant>
</target>
<target depends="init,deps-jar,pre-pre-compile,pre-compile" name="-do-compile-deps">
<copyfiles files="${reference.jcore-logger-ejb.dist-ear}" todir="${build.dir}//"/>
- <copyfiles files="${reference.jjobs-ejb.dist-ear}" todir="${build.dir}//"/>
+ <copyfiles files="${reference.jratecalc-ejb.dist-ear}" todir="${build.dir}//"/>
</target>
<target name="post-compile">
<!-- Empty placeholder for easier customization. -->
<target name="-run-deploy-am" unless="no.deps">
<!-- Task to deploy to the Access Manager runtime. -->
<ant antfile="${project.jcore-logger-ejb}/build.xml" inheritall="false" target="-run-deploy-am"/>
- <ant antfile="${project.jjobs-ejb}/build.xml" inheritall="false" target="-run-deploy-am"/>
+ <ant antfile="${project.jratecalc-ejb}/build.xml" inheritall="false" target="-run-deploy-am"/>
</target>
<target depends="-init-cos,dist-directory-deploy,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy"/>
<target if="netbeans.home" name="-run-deploy-nb">
<ear2:run-appclient subprojectname="${app.client}"/>
</target>
<target if="j2ee.appclient.mainclass.args" name="-as-retrieve-option-workaround" unless="j2ee.clientName">
- <property name="client.jar" value="${dist.dir}/jjobsClient.jar"/>
+ <property name="client.jar" value="${dist.dir}/jratecalcClient.jar"/>
<sleep seconds="3"/>
- <copy failonerror="false" file="${wa.copy.client.jar.from}/jjobs/jjobsClient.jar" todir="${dist.dir}"/>
+ <copy failonerror="false" file="${wa.copy.client.jar.from}/jratecalc/jratecalcClient.jar" todir="${dist.dir}"/>
<copy failonerror="false" flatten="true" todir="${dist.dir}/">
- <fileset dir="${wa.copy.client.jar.from}/jjobs" includes="**/jjobsClient.jar"/>
+ <fileset dir="${wa.copy.client.jar.from}/jratecalc" includes="**/jratecalcClient.jar"/>
</copy>
- <copy flatten="true" todir="${dist.dir}/jjobsClient">
- <fileset dir="${wa.copy.client.jar.from}/jjobs" includes="**/*.*ar"/>
+ <copy flatten="true" todir="${dist.dir}/jratecalcClient">
+ <fileset dir="${wa.copy.client.jar.from}/jratecalc" includes="**/*.*ar"/>
</copy>
- <copy failonerror="false" flatten="false" todir="${dist.dir}/jjobsClient">
- <fileset dir="${dist.dir}/gfdeploy/jjobs" includes="**/*.jar"/>
+ <copy failonerror="false" flatten="false" todir="${dist.dir}/jratecalcClient">
+ <fileset dir="${dist.dir}/gfdeploy/jratecalc" includes="**/*.jar"/>
</copy>
</target>
<target depends="init" name="-init-run-macros">
<property location="${build.dir}" name="dist.ear.dir"/>
<property name="deploy.on.save" value="${build.deploy.on.save}"/>
</ant>
- <ant antfile="${project.jjobs-ejb}/build.xml" inheritall="false" target="clean-ear">
+ <ant antfile="${project.jratecalc-ejb}/build.xml" inheritall="false" target="clean-ear">
<property location="${build.dir}" name="dist.ear.dir"/>
<property name="deploy.on.save" value="${build.deploy.on.save}"/>
</ant>
<type>org.netbeans.modules.j2ee.earproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2ee-earproject/2">
- <name>jjobs</name>
+ <name>jratecalc</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
<web-module-libraries/>
<web-module-additional-libraries>
<path-in-war>/</path-in-war>
</library>
<library>
- <file>${reference.jjobs-ejb.dist-ear}</file>
+ <file>${reference.jratecalc-ejb.dist-ear}</file>
<path-in-war>/</path-in-war>
</library>
</web-module-additional-libraries>
<id>dist-ear</id>
</reference>
<reference>
- <foreign-project>jjobs-ejb</foreign-project>
+ <foreign-project>jratecalc-ejb</foreign-project>
<artifact-type>j2ee_ear_archive</artifact-type>
<script>build.xml</script>
<target>dist-ear</target>