[JBoss jBPM] - Re: BPM, Seam pageflow question?
by pietermartin
Hi,
Thanks for responding.
I solved the exception I got. It was because the bpm engine is running on its own database which means I need to use XA datasources.
Regarding pageflow and process definition:
I do not have tasks because there is no Actor. The current process is for signing up new users. Should I create a dummy actor and assign a task to this dummy. Does not seem right to me.
The business process is something like
1)start state
2) create contact
3) create account
4) credit check contact
5) capture bank details
6) select product
7) take payment
8) send email
9) end state
All this is done in a single page flow.
Should I just not use bpm at all and only page flow or should the business process be more course grained, i.e. on
1) start state
2) sign up customer
3) send email
4) end state
Management is very keen to have a bpm engine and if I can throw in a enterprise bus of some sorts even better.
Trying to understand how best to use bpm in a seam context.
Thanks
Pieter
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107456#4107456
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107456
18 years, 7 months
[JBoss Seam] - maintain state between pages and seam managed persistence co
by nguyenhaugiang
Hi all,
In our system, user can navigate from page P1 -> P2 -> P3...,
and navigate back from ...P3 -> P2 -> P1(every page has a "go back" button).
When navigating back, state of previous pages must be restored.
There is a navigating history bar on all page, and user can skip navigate from P3 -> P1.
This is a normal pattern.
Before using seam, we store page state in http session before navigating to next page,
and remove these state from session before navigating back to avoid memory leak.
This is a normal solution.
>From seam manual, we conclude that:
1. "Long running conversation(LRC) is used if we need to maintain state between pages/request"
(LRC is best used in modify entity page or wizard style page)
2. "seam-managed persistence context(SMPC) is scoped to conversation,
means that SMPC is kept open until conversation end"
If using LRC in our case, SMPC keep open until navigating back
to the first page or when LRC times out.
This solution is impossible because SMPC will hold/cache a huge amount of entity.
Is that our page flow pattern is not suitable with Seam LRC ?
Is there another way to solve this?
Please give some advice.
Thanks
Giang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107455#4107455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107455
18 years, 7 months
[JBoss Tools (users)] - Double datasource files and persistence.xml in default Seam
by vanyatka
Hi,
I've just generated a new Seam web project in Eclipse with the latest JBoss Tools installed. In the layout of the project folders there are two versions of perisistence.xml as well as datasource (MyProject-ds.xml) files.
1. persistence.xmllocated in src/model/META-INF and src/META-INF
When the application is deployed only the first one is put into the war, specifically into /WEB-INF/classes/META-INF folder.
What is the point in second src/META-INF/persistence.xml?
2. MyProject-ds.xml located in resources/ and src/model/META-INF
The first one goes sibling with .war file (or directory) to the root dir of the deploy dir, the second goes into /WEB-INF/classes/META-INF, and apparently is ignored by JBossAS.
What is the point of src/model/META-INF/MyProject-ds.xml?
Is it somehow related to the differences between development/production/testing versions?
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107450#4107450
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107450
18 years, 7 months
[JBoss Seam] - Re: Curious about existing successful projects developed wit
by dhinojosa
I have one releasing at the end of the month.
The only headaches were setup. I didn't use seam-gen or maven and paid the price for it. Setting up a jboss project that way was absolutely sucky, because you had to place the right directories, the right jar files, and still have the right setup in xml. I could do it now better since I overcame those issues, but that was one lesson learned. Do a seam-gen or use maven to alleviate that headache.
Another burn I had was I was using JSP instead of facelets. Do yourself a favor, use facelets. ;)
Another item, are the copious amount of solutions and different ways to do things it can be a bit daunting. That's a good thing. There is nothing you can't do with seam. Groovy, Conversational Beans, PDFs, jBPM, Ajax4JSF, and on and on....Seam is by far the best framework out there.
We are putting the final touches on our website, and I will post a link here when we are done. ;)
Oh one last thing, the Jboss Seam Forums have been a great help.
Danno
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107447#4107447
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107447
18 years, 7 months
[Installation, Configuration & DEPLOYMENT] - Re: ERROR [URLDeploymentScanner] JBoss 4.2.2.GA and Netbeans
by PeterJ
Let's try to eliminate three possible problem areas.
First, are you using NetBeans to start the server? If so, don't. Instead, start the server using the run.bat file from a command line. This will eliminate any weirdness introduced by NetBeans.
Second, try copying C:\Program Files\Java\jdk1.5.0_14 to c:\jdk1.5.0_14 and change JAVA_HOME to c:\jdk1.5.0_14. (You do not have to re-install, copying the whole directory structure is fine.) This will eliminate any weirdness introduced by using Java stuff in directories with spaces in their names.
Third, you are running the 'all' configuration which assumes clustering (hence the reference the JmsXA data source, it would help it I read the entire post). Try running the 'default' configuration instead (copy your ear file from the server/all/deploy directory to server/default/deploy).
Also, what is in your WEB-INF/jboss-web.xml file? Are there any references to your EJBs in the global namespace?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107445#4107445
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107445
18 years, 7 months