[jBPM Users] - Creating non technical Actions / WorkItems
by barteljan
Hello everybody :-),
I'm evaluating several java-process-engines for an business project,
were we have highly non-technical process developer.
Although I like Jbpm very much because of it's lightweight java oriented architecture,
it is a diffculty for us that there is java-knowledge needed to model jbpm-processes.
(At least when linking java-classes to a java or custom node)
What we would need would be a generic way to extend jpdl like it is done in drools with the drools WorkItems.
We need some form of NodeTemplate which could be mapped on a existing node type (maybe custom or java) to hide technical information
like class and method names from the users.
This wouldn't be a problem if I would be able to find some documentation,
about an "easy" way for extending the GPD or the Signavio Editor or to add simpler non technical nodes programmatically.
(Sorry I don't wanne grump about bad documentation ;) , it' just to illustrate my problem )
The only information about that would be the following articel http://www.mastertheboss.com/en/jbpm/106-jbpm-best-practices.html .
Which describes how to extend the Jbpm-Api for adding attributes to the task node.
But beside this article is about jbpm 3.x, it seems as if their is much insider-knowledge needed to create new nodes,
especially if they should integrated in an editor.
I did a quick scan about the pvm-documentation but I realized that XML-Processing is made by each implementing api, which implicates that this document didn't help me to map such nodes to a common type ....
Did I miss something ? Is there a way of doing such customizing of jPDL and jBPM which I didn't realized or understood ;) ???
And if not, would you think it is possible to implement such a feature for an experienced java-developer with low jbpm
and eclipse background in let's say 40 days of development work ?
I suppose this is one of the few topics were drools-flow outperforms jbpm ....
I would be very happy for every answer even if it is a "RTFM" statement :-P
Thank you for your help
Jan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253277#4253277
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253277
16 years, 7 months
[jBPM Users] - Re: Issue with remote client and JBPM 4.1
by luc.boutier
remote.client.jbpm.cfg.xml : (file in jbpmHome/install/src/cfg/jbpm)
| <?xml version="1.0" encoding="UTF-8"?>
| <jbpm-configuration>
| <import resource="jbpm.jbossremote.cfg.xml" />
| </jbpm-configuration>
|
and jbpm.jbossremote.cfg.xml : (found in jbpm-pvm-4.1.jar)
| <?xml version="1.0" encoding="UTF-8"?>
| <jbpm-configuration>
|
| <process-engine-context>
|
| <repository-service />
| <repository-cache />
| <execution-service />
| <history-service />
| <management-service />
| <task-service />
| <identity-service />
|
| <ejb-remote-command-service
| initial-context-factory="org.jnp.interfaces.NamingContextFactory"
| provider-url="jnp://localhost"
| url-pkg-prefixes="org.jboss.naming:org.jnp.interfaces">
| <retry-interceptor />
| </ejb-remote-command-service>
|
| </process-engine-context>
|
| </jbpm-configuration>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253274#4253274
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253274
16 years, 7 months
[JBoss Tools Users] - Re: How to create a JDBC connection
by Oliver Roell
I know that JPA is the future of Java's database-access, but I want to use JDBC in my servlet.
There is an existing oracle-database from our SAP-system and I want to read customer-information with a select.
The "JMX Agent View" from JBoss displays under "jboss.jdbc":
datasource=DefaultDS,service=metadata
datasource=OracleDS,service=metadata
I think the deploying of the oracle-datasource was successful.
The book "EJB 3 in action" wrotes on page 148:
Moreover, application servers allow you to explicitly specify a global JNDI name using the mappedName parameter of the @Resource annotation. For example, if you are using the JBoss Application Server and you have a data source with a global JNDI name of java:/DefaultDS, you can specify the resource mapping as follows:
| @Resource(name="jdbc/ActionBazaarDS", mappedName="java:/DefaultDS")
| private javax.jdbc.DataSource myDB;
|
I do not know why the DataSource from "EJB 3 in action" belongs to the package javax.jdbc
I am working with the DataSource from the package javax.sql
In my servlet I have tried the following:
| @Resource(name="jdbc/OracleDS", mappedName="java:/OracleDS")
| private javax.sql.DataSource ds;
| ...
| Connection con = ds.getConnection();
| Statement statement = con.createStatement();
| ResultSet resultSet = statement.executeQuery("select...");
|
The ds object is always null. JBoss does not recognize the @Resource-annotation.
Do I miss something?
Do I still need a jbosscm-jdbc deployment descriptor in JBoss 4.2.3 when I work with annotations?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253273#4253273
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253273
16 years, 7 months