[JBoss jBPM] - java source code generator
by hhhuber
hello,
is there a tool that produces java source code from a process definition and generates string constants for node-names, transition-names and so on?
like from
|
| <process-definition xmlns="" name="my-process">
|
| <start-state name="start-state">
| <transition to="decision-node" name="tra-decision"></transition>
| </start-state>
|
| <decision name="decision-node">
| <handler ... </handler>
| <transition to="node-1" name="tra-node1"></transition>
| <transition to="node-2" name="tra-node2"></transition>
| </decision>
|
| <node name="node-1"> ...</node>
| ....
|
|
to
|
| ...
| class WorkflowConstants {
|
| public final String PROCESSDEFINITON_MYPROCESS = "my-process";
| public final String NODE_NODE_1 = "node-1";
| public final String TRANSITION_TRA_DECISION = "tra-decision";
| ...
|
| }
|
|
|
helps to keep process definitions and java code in sync and avoid missspelling of node and transition names.
hans
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209882#4209882
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209882
17 years, 4 months
[Security & JAAS/JBoss] - recomended type of autentisation
by alfonz19
Hi,
I need (and would appretiate any) hint. I'm writing some application and have to support a few places to authentize towards. I do not not how to describe it better, so sorry about my english. I've found out, that jboss does support four methods: basic, form, digest and client-certificate. I cannot use client-certificate and basic seems weak to me.
I can use form over ssl, but I'm not sure whether is it enough and whether I should use some kind of challenge-response approach in it.
Then there is digest, but I'm not sure how it works, since I did not found enough materials (at least I do not know what module-option passwordIsA1Hash means, and how exactly it all works) and moreover I do not know how (whether) I can use this kind of authentication with LDAP or ActiveDirectory.
Do you have any suggestions? If you solve this problem in any better way, please tell me. I'm listening. Thanks in advance.
alfonz.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209877#4209877
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209877
17 years, 4 months
[JBoss Cache: Core Edition] - Re: Getting Failed to insert node
by atifoxon
"manik.surtani(a)jboss.com" wrote : "atifoxon" wrote : Have you checked the insert SQL also?
|
| I thought you said it was just the create table DDL that was broken. Have you tried it with my workaround? Could just be that your table structure was broken and hence the other SQL not working.
Yes i have checked it after creating table manually but insert SQL is still generating syntax error
"mircea.markus" wrote :
| The cache loader will modify the data in the store (database in your scenario) when in memory data gets changed. What it won't do is update in-memry data whenever data gets modified in the database. The way the data from DB is updated when an in memory change is made is influenced by the "passivation" attribute of the "loaders" config element.
|
I am talking about the real database and not db acting as cache loader store. The scenario I am referring to is how dirty data marker concepts operates, whenever data get modified it is reflected in dirty data marker in db, so when requesting application see this dirty data marker set, it refresh its cached data.
Does API provides such sort of synchronization: like if cache data is populated from let say joining two different tables (card_accounts, card_profile)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209869#4209869
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209869
17 years, 4 months