[jBPM] New message: "Re: Exception handling in JBPM4"
by Flavio N.
User development,
A new message was posted in the thread "Exception handling in JBPM4":
http://community.jboss.org/message/524915#524915
Author : Flavio N.
Profile : http://community.jboss.org/people/VegaMilano
Message:
--------------------------------------------------------------
> kukeltje ha scritto:
>
> Your request about how to do 'this' is what is unclear to me. There is an example of calling a java class in the examples folder in the distribution. You can do whatever you want in that class.
The point was we expected to call our classes directly in Java or custom nodes, and so we was searching on how to handle exeception or errors, while - as you explained before - in this nodes we have to call custom classes in which we manage our classes, errors and so on returning or setting variables or transiction name useful for jBPM.
We read examples and guides for sure, but you have to understand we are evaluating different products and we aspect to have a quick start to understand their potentiality and learning curve.
Actually, we are still implementing some basic workflows working with our classes and we hope to get a result in a few days.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/524915#524915
16 years, 5 months
[jBPM Development] New message: "No public metadata API?"
by Bill Burke
User development,
A new message was posted in the thread "No public metadata API?":
http://community.jboss.org/message/524911#524911
Author : Bill Burke
Profile : http://community.jboss.org/people/bill.burke@jboss.com
Message:
--------------------------------------------------------------
I'm prototyping a new REST interface for jbpm for the REST-* effort. One thing I've noticed is that there seems to be no public API to get information about a process definition or instance.
For example, I'd like to be able to know the current state of an execution, and what outgoing transitions are able to be executed. I figured out how to get this information at runtime, but it seems to be an "internal" api (its in a *.internal.* package).
I also wanted to generate an XML document from a ProcessDefinition, but again, all metadata seems to be *very* hidden. I had to really dive into the internals of jbpm to be able to get this information.
Maybe I'm just missing something?
Thanks.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/524911#524911
16 years, 5 months
[Beginner's Corner] New message: "Can't use CRUD in JBoss Developer Studio"
by Alejandro Barrero
User development,
A new message was posted in the thread "Can't use CRUD in JBoss Developer Studio":
http://community.jboss.org/message/524910#524910
Author : Alejandro Barrero
Profile : http://community.jboss.org/people/handro1104
Message:
--------------------------------------------------------------
I am working with version 2.2.2.GA. I create a Seam Web project and then on new I click on Seam Generate Entities. I follow all the steps and select table users in a MySQL database. All the tables and pages are created. When I run the application, a Browse Data link with a sublink Users List appears and when I click on the later, I get a host of execptions and at the end
org.hibernate.hql.ast.QuerySyntaxException: Users is not mapped [select users from Users users]
I have done the same in previous version without problems, but now I am lost.
Your help will be greatly appreciated,
Alejandro Barrero
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/524910#524910
16 years, 5 months
[jBPM] New message: "Re: Upgrade from JBPM3 to JBPM4 woes"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Upgrade from JBPM3 to JBPM4 woes":
http://community.jboss.org/message/524900#524900
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Hey, thanks, really, really appreciate this kind of feedback. Let me comment on your remarks.
1 and 2
The binary compatibility was deemed impossible almost from the beginning. All this is related to the introduction of the PVM. There were a lot of brainstorm sessions to see if it would be possible. The amount of time that had to be put into achieving this would unfortunately be way to high. For later versions (5, 6 etc), backwardscompatibility is achieved by the way the process is stored. So the choice was made not to go down this road but at least put some effort in process conversion. Here to the 80-20 rule was applied and everyone was aware that manual effort had to be put in to this. There are still changes added to the conversion tool, so if you guys have done some things which improve it (even if you are not going to use jBPM 4) we'd appreciate the feedback (~contribution )
3
Well, yes, happens every now and then to us to. But the only way to prevent this is to code *everything* in plain java and/or only use libraries that do not depend on *anything* else but a plain jre. :-)
4
Spring support was initially contributed by http://www.inze.be/andries/2009/06/28/documentation-spring-jbpm-integrati... close to the project) and extended by people within the project. Regarding the integration itself, noone thinks it is complete. Things need to be done, but then again, as can be seen in some posts, there are users that are aware of this, but rather 'invent' workarounds instead of helping out. I know this is often a difficult choice in projects, but it is one of my biggest frustrations, believe me.... btw, have you seen http://www.inze.be/andries/2009/06/28/documentation-spring-jbpm-integration/ I'm no spring adept (do not opose it either, just never seemed to have the need for it, jumping on the seam bandwagon)
5
Doesn't 5 contradict the 1 in the 'good' department to a large extend? jBPM is still very flexible and extensible. Some people have a hard time switching. They were probably the ones that were very into jBPM 3. I know I had this problem myself. The services in jBPM 4 use commands 'internally' but adding commands yourself is not that difficult. Within commands you have full access to the database model so you can still do anything you want. The GPD for 4 is not as advanced as the one for 3, I think I agree with that. There are not a lot of other designers afaik, so that makes me wonder why you use 'GUI Designer*s*' (plural). A nice webbased BPMN2 designer is currently under development http://www.signavio.com/en/company/blog/104-prozessausfuehrung-mit-bpmn-2... and if e.g. eclipse comes with a BPMN2 editor as well, I'm sure that will be leveraged. So A great future ahead if I may say so, brighter then the 3 universe...
Think I should make this into a specific document (this forum allows promoting threads to documents... nice) since it touches on core things.
Whatever choice you guys and gilrs eventually make, thanks for the constructive feedback.
Cheers,
Ronald
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/524900#524900
16 years, 5 months
[JBoss Tools] New message: "Re: Maven - WEB-INF/lib libraries"
by German Escobar
User development,
A new message was posted in the thread "Maven - WEB-INF/lib libraries":
http://community.jboss.org/message/524886#524886
Author : German Escobar
Profile : http://community.jboss.org/people/germanescobar
Message:
--------------------------------------------------------------
The problem here is that Maven WAR plugin configuration points *warSourceDirectory* and *webappDirectory* to the same folder, which is ${basedir}/WebContent. This presents some problems as the *webappDirectory* is the folder in which the generated *warSourceDirectory* is going to be placed:
1. This means that the libraries that are downloaded to the webappDirectory will be in the same warSourceDirectory (my initial problem).
2. If I want to do some resource filtering, it will fail as the generated webappDirectory is the same warSourceDirectory.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/524886#524886
16 years, 5 months