Re: [jboss-user] [JBoss Tools] - Project Archives "ModuleIDPropertyKey"
by Rob Stryker
Rob Stryker [http://community.jboss.org/people/rob.stryker%40jboss.com] replied to the discussion
"Project Archives "ModuleIDPropertyKey""
To view the discussion, visit: http://community.jboss.org/message/559282#559282
--------------------------------------------------------------
If you're just using project archives standard, and not mixing use of project archives with the server's view, then you should be 100% fine. This ID is the module id for each archive. This is so when you deploy a module, it can remember which module you're deploying.
Admittedly using an id like projectName:outputPath could have worked, but then any time hte package was changed, I'd have to refactor the id, or if the project was renamed, I'd have to refactor the id, and all of these things would lead to problems, specifically that if you had already deployed a project archives via the server's view, the OLD module would no longer be found (since hte module factory only has the new id) and, well, this is what we have now ;)
So if you're mixing use with the server's view to deploy your project archives, you should definitely have different id's for each archive
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559282#559282]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
Re: [jboss-user] [jBPM] - Case for using jBPM's PVM "naked"?
by Alejandro Guizar
Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] replied to the discussion
"Case for using jBPM's PVM "naked"?"
To view the discussion, visit: http://community.jboss.org/message/559279#559279
--------------------------------------------------------------
> at work, our development team has created a very simple home-brew statemachine implementation to do a mixture of workflow management and simple business process management, all in plain java. This was a few years ago and met the requirements back then.
>
> As the business process got more complicated, we are now looking into existing solutions supporting more concepts than our simplistic state machine does.
>
> I skimmed the PVM documentation and found java classes resembling activities, nodes, transitions and the like. This looks promising, yet I'm not sure about the intended usage of PVM.
>
> Is PVM intended to be used by developers to create process descriptions by coding in java, without using any of the XMLish or graphical "concrete syntaxes" of process modelling? If "intended to be used" is too much, would this at least be a sane, supported use case of PVM? Or is PVM altogether "under the hood" of jBPM and should not be used directly? How stable is the PVM API expected to be?
The PVM is meant to be the foundation on top of which multiple process languages can be implemented. Read the http://onjava.com/pub/a/onjava/2007/05/07/the-process-virtual-machine.html Process Virtual Machine article for the full discussion. The target languages actually include Java although this is not documented as extensively. The class org.jbpm.pvm.internal.builder.ProcessDefinitionBuilder from jbpm-pvm.jar provides a fluent interface for creating process definitions straight in Java without parsing any process document. The interfaces in jbpm-api.jar in fact constitute the API for the PVM, aiming to be as language-neutral as possible. Although not part of the API the process definition builder is relatively stable, it has not been touched in a while.
In sum, yes, direct acess to the PVM is a valid, though advanced, use case.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559279#559279]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[JBoss Tools] - Validating Hibernate takes hours for 128k of xml, need help
by Michael Williamson
Michael Williamson [http://community.jboss.org/people/mawcshp] created the discussion
"Validating Hibernate takes hours for 128k of xml, need help"
To view the discussion, visit: http://community.jboss.org/message/559260#559260
--------------------------------------------------------------
I just installed the 3.2.0 development build of JBoss Tools in Helios. Trying to build our project, the Hibernate portion of our project took several *hours* to "validate." Our XML is only 128k spread across 74 files--not huge or even "big" in my estimation. I've searched the forums and JIRA and found nothing mentioned. Is this normal? What can be done? We obviously can't continue to work like this. Any help is appreciated.
In case it matters:
my VM args: -Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024m
I am running on a workstations with 2 dual core Xeon processors (4 cores total) at 3.6Ghz and 4 Gb of RAM.
Windows Vista 32-bit
Oracle (Sun) JDK 1.6.0_u21 (32 bit)
Eclipse 3.6 Version: Helios Release Build id: 20100617-1415
JBoss Tools 3.2.0.M1
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559260#559260]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[JBoss Tools] - Project Archives "ModuleIDPropertyKey"
by Flavio Costa
Flavio Costa [http://community.jboss.org/people/fr0w] created the discussion
"Project Archives "ModuleIDPropertyKey""
To view the discussion, visit: http://community.jboss.org/message/559259#559259
--------------------------------------------------------------
Hey,
I'm wondering what is the meaning of this property: "org.jboss.ide.eclipse.as.core.packages.ModuleIDPropertyKey".
Is there any problem having multiple projects with the same value for this property?
You might say "this value is automagically generated, you shouldn't have to worry about that"
But I do have to worry, because, at work, I have sort of a "template" project that already have Project Archive artifacts "configured" and when I need to start a new project I simply copy the template to a new location, doing some string substitution here and there. So, eventually, I end up with two (or more) projects that have veeery similar .packages (so similar that "org.jboss.ide.eclipse.as.core.packages.ModuleIDPropertyKey" is equals)
I must add that I often have all this projects opened inside Eclipse and the "Building workspace" task takes too much time to complete due to Project Archives. Can this be releated to the fact that I have multiple artifacts with the same ModuleIDPropertyKey?
I guess that is it.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559259#559259]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months