[JBoss Seam] - drools namespace?
by sjmenden
Documentation does not denote the correct namespace for installing drools components.xml, and I can find no examples that make use of how the documentation says implement drools.
| Caused by: org.dom4j.DocumentException: Error on line 16 of document : The prefix "drools" for element "drools:rule-base" is not bound. Nested exception: The prefix "drools" for element "drools:rule-base" is not bound.
| at org.dom4j.io.SAXReader.read(SAXReader.java:482)
| at org.dom4j.io.SAXReader.read(SAXReader.java:343)
| at org.jboss.seam.init.Initialization.getDocument(Initialization.java:240)
| at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:129)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992054#3992054
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992054
19 years, 4 months
[JBoss jBPM] - pondering over jboss/jBPM (need advice)
by dklio
Hi all!
I'm working on a rather big and responsible document processing system. I consider jboss/jBMP as a candidate technology but still have some doubts. Could anyone clear up my uncertainty. There are two questions left after reading users guide that I'd like to clear to take a decision.
1. All kinds of documents processed in the system (of about 10 different types) come by means of JMS messages. There is a single input JMS queue from which all the messages should be fetched and handled. Has jBPM any automation to fetch a JMS message from a given queue for me and instantiate a new business process regarding of a message type?
2. The system is mission critical and should possess a good throughput. The target throughput can be achieved only using several parallel servers. Hence the system should be scalable. Has the combination jboss/jBPM some abilities to work in cluster or somehow work in parallel on different servers and balance the load between them?
Many thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992049#3992049
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992049
19 years, 4 months
[JBoss Seam] - Re: How many EntityManagers and SFSBs in a web app?
by SmokingAPipe
I'm not ranting. I'm just trying to figure out how to handle EntityManagers in my application.
Put it another way:
This is a typical web application. Users log in and then do stuff. This being a Java application, all the stuff they work on are objects.
JSF and Seam give me excellent ways to display and edit those objects. EJB3 gives me an excellent way to store those objects without having to write any SQL. That's great.
The problem is, how do I avoid LazyInitializationExceptions when my objects have collections in them? Obvious answer: use eager fetching. But for situations where that is not practical, the thing to do is to have an EntityManager available while the page is being rendered.
What I have done is used Session-scoped SFSBs with extended persistence context. That sort of works but seems like a bad thing. What's the right way to handle this? It seems like such an obvious thing, so there must be some clean way to handle it, right?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992047#3992047
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992047
19 years, 4 months