[JBoss jBPM] - Notion of start-task
by Thomas.Kriechbaum
First of all, I'm a great fan of jBPM and its flexibility. Caused to this flexibility custom requirements can often be solved in different ways.
I'm using a start-task to assign the initial actor to a swimlane. Since the process is started by an ESB-event (e.g. user orders a new product via a service) the start-task should not be displayed in the user's task list (no further input or activity is required at this point). In this case, I immediately end the task-instance via an action handler (task-assign event). Is this a proper solution or rather an anti-pattern?
Is it correct that the start-task is also indented to collect/define the process initial variables? I find it helpful, to see the required variables within the start-task definition. But these initial variables could also be assigned to a process instance directly while starting it (as I mentioned before, the process is started by another service).
I know not very high-level technical questions; rather low-level patterns questions.
Thanks
Thomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205341#4205341
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205341
17 years, 2 months
[Beginners Corner] - Re: JBoss Tools eclipse issue
by blewinski
Peter -
Thanks for the reply I appreciate it. This morning I started over from scratch re-installing eclipse. I then through the Update Manager (my preferred method for installs) added the JBoss Tools and BIRT Update site. These were the instructions listed on the JBoss Tools Install page. When I click the Install button it indicates that Software Selections may be invalid. The following is what is provided in the details section:
anonymous wrote : Cannot complete the request. See the details.
| Cannot find a solution satisfying the following requirements
| Match[requiredCapability:
| org.eclipse.equinox.p2.iu/org.eclipse.birt.doc.feature.group/[2.3.0.v200805131-22-7w31191728b,2.3.0.v200805131-22-7w31191728b]].
I am not really sure what is missing. I think once I find this it should be all set. Do you know what this is or where I can get it?
Thanks again for the reply!
Brett
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205340#4205340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205340
17 years, 2 months
[EJB 3.0] - Re: Ejb3 - MDB
by rudreshtcs
Hi,
Thanks for the Input
***********************
<?xml version="1.0"?>
|
| <!-- ======================================================================= -->
| <!-- JBoss build file -->
| <!-- ======================================================================= -->
|
| <project name="JBoss" default="ejbjar" basedir=".">
|
| <property environment="env"/>
| <property name="src.dir" value="${basedir}/ejbModule"/>
| <property name="jboss.home" value="C:/jboss-5.0.0.GA"/>
| <property name="jboss.server.config" value="all"/>
| <property name="build.dir" value="${basedir}/build"/>
| <property name="build.classes.dir" value="${build.dir}/classes"/>
| <property name="build.artifact" value="jboss-ejb3-tutorial-interceptor.jar"/>
|
| <!-- Build classpath -->
| <path id="classpath">
| <!-- So that we can get jndi.properties for InitialContext -->
| <pathelement location="${basedir}"/>
| <!-- Only the jbossall-client.jar should ideally be sufficient -->
| <fileset dir="${jboss.home}/client">
| <include name="**/jbossall-client.jar"/>
| </fileset>
| <!-- javax.persistence.* -->
| <fileset dir="${jboss.home}/common/lib">
| <include name="ejb3-persistence.jar"/>
| </fileset>
|
| <pathelement location="${build.classes.dir}"/>
| </path>
|
| <property name="build.classpath" refid="classpath"/>
|
| <!-- =================================================================== -->
| <!-- Prepares the build directory -->
| <!-- =================================================================== -->
| <target name="prepare">
| <mkdir dir="${build.dir}"/>
| <mkdir dir="${build.classes.dir}"/>
| </target>
|
| <!-- =================================================================== -->
| <!-- Compiles the source code -->
| <!-- =================================================================== -->
| <target name="compile" depends="prepare">
| <javac srcdir="${src.dir}"
| destdir="${build.classes.dir}"
| debug="on"
| deprecation="on"
| optimize="off"
| includes="**">
| <classpath refid="classpath"/>
| </javac>
| </target>
|
| <target name="ejbjar" depends="compile">
| <jar jarfile="build/${build.artifact}">
| <fileset dir="${build.classes.dir}">
| <include name="**/*.class"/>
| </fileset>
| <fileset dir=".">
| <include name="META-INF/*.xml"/>
| </fileset>
| </jar>
| <copy file="${basedir}/queue-example-service.xml" todir="${jboss.home}/server/${jboss.server.config}/deploy"/>
| <sleep seconds="8"/>
| <copy file="build/${build.artifact}" todir="${jboss.home}/server/${jboss.server.config}/deploy"/>
| </target>
|
| <target name="run" depends="ejbjar">
| <java classname="org.jboss.tutorial.interceptor.client.Client" fork="yes" dir=".">
| <classpath refid="classpath"/>
| </java>
| </target>
|
| <!-- =================================================================== -->
| <!-- Cleans up generated stuff -->
| <!-- =================================================================== -->
| <target name="clean.db">
| <delete dir="${jboss.home}/server/${jboss.server.config}/data/hypersonic"/>
| </target>
|
| <target name="clean">
| <delete dir="${build.dir}"/>
| <delete file="${jboss.home}/server/${jboss.server.config}/deploy/${build.artifact}"/>
| <delete file="${jboss.home}/server/${jboss.server.config}/deploy/queue-example-service.xml"/>
| </target>
|
|
| </project>
| ***********
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205339#4205339
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205339
17 years, 2 months