[JBoss jBPM] - Re: Branching, merging and version management.
by joe_jboss@freemansoft.com
We use a large number of flows to better isolate the changes and reduce the risk of collision with the 10 or so process developers. We could model it with fewer flows but we'd have less process re-use and more modeling bottlenecks. The other problem is that the editor gets unwieldy with over a certain number of boxes. We have one flow with 20+ boxes and that seems to be about the max. (I meant to say that our flows have as few as 3 boxes) We use Perforce, basic QA and common sense for that part.
The hard part is branch management. A real app, once in production, typically runs with 3 branches, "production support", "next release" and "future work". The branches are often run by different managers and different schedules. We're trying to figure out the best way to manage the merge and sync process given the fact that each flow consists of 3 components, model, layout and image. Most of our merging and diff tools do a very poor job on XML files. Plain text (java) files are easier to merge because you can bring broken code into the Java source editor and use Eclipse's syntax tools to help put it back together. XML tools are significantly less helpful.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109690#4109690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109690
17 years
[JBoss Seam] - Injection not working when using thirdparty JMS library
by raoul.schmidiger
Hi List,
I use Seam 2 with JBoss AS. My problem is that I want to use a thirdparty JMS library from within Seam.
I have a class that implements the javax.jms.MessageListener interface and that class is correctly hooked into my thridparty JMS lib. So far so good. But I also would like to inject a service class through seam into that same class. So that when a message is received, some stuff gets done on the database level. And as i need the @PersistenceContext, the service object has to be managed by the container...
This however only happens when Seam is involved in the calling.
This is not the case when the method onMessage(javax.jms.Message m) method is invoked by the thirdparty lib. Then
Is there a way for letting Seam do the creation of my MessageListener impl and have a property injected in a persistent style, aka only once at creation?
I played around with the @In(scope=SESSION) attribute, but without any success.
Thanks a lot, regards raoul
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109688#4109688
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109688
17 years
[JBoss Seam] - Re: What to do to make @Factory method working?
by Andy Gibson
Do you have your bean setup as a seam component with a @Name annotation? It should be like :
| @Name("articleManager")
| @Scope(ScopeType.Conversation)
| public class ArticlesManagerBean ....... {
|
| @Factory("article")
| public Article getArticle() {
| <init code if necessary>
| return article
| }
| }
|
Can you reference your bean from the page?
Try putting in something like :
| <h:outputText value="#{articlesManager}"/>
|
to see if it can pick up your articles manager bean.
Also, is your getArticles() method defined in your interface that the bean implements?
Other than that, if you post some code, it should be easy to spot. Did you create the app with Seam Gen, and if not, do you have anything working that would indicate whether the app is set up properly?
Cheers,
Andy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109687#4109687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109687
17 years