[Design of JBoss jBPM] - Recent changes to the TaskService API
by heiko.braun@jboss.com
I did some changes to the TaskService interface:
* Added query methods by participation, i.e.
List findTasksByParticipation(String participation, UserRef user);
* Use IdentityRef (UserRef, GroupRef) where appropriate, i.e.
void assignTask(long taskDbid, UserRef user);
* changed Participant to Participation, i.e.
Participation.getType() = 'candidate'
It looks a little cumbersome in the beginning, but the distinction between user and group references
was necessary. I.e. assignTask(long taskDbid, UserRef user) now makes clear that task can only be assigned to users, not groups. The previous signature 'void assignTask(long taskDbid, String id)' didn't reveil that intention.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221993#4221993
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221993
15 years, 9 months
[Design of JBoss Remoting, Unified Invokers] - Server side thread leak?
by galder.zamarreno@jboss.com
Re: https://jira.jboss.org/jira/browse/JBAS-6665
Ron/Richard, is this happening in clustered or non clustered tests? Or both?
My thoughts:
Unified invokers (read EJB2) do not work like the the EJB3 ones. The unified one caches client in the very 1st invocation and uses that all the time (versus create/connect/disconnect for every invocation). In the case of clustered unified invoker, every time a new locator is used, a new client is created and used. While the same locator is used invocation after invocation, the same client is used. When the locator changes, a new client is created and connected to.
Not sure whether EJB2s should work exactly the same as EJB3s. In the case of non-clustered unified invoker, caching and reusing the same client all the time would probably yield better performance. When would we call disconnect in this case? Dunno right now.
In the case of clustered invokers, I think disconnecting the current client before creating/connecting a new one would make sense as otherwise you're leaking clients (this probably needs a jira, FAO Brian thoughts?)
Finally, why is the default value not to run the idle timeout task? For EJB2 non clustered beans, with current design, this idle timeout functionality should be enabled if we wanna leave it as it is. Actually, probably with clustered as well, (i.e. SFSBs that have first available lbp).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221979#4221979
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221979
15 years, 9 months
[Design of POJO Server] - Re: Explicit listing of Boot Classpath
by wolfc
JBoss Bootstrap should only have these dependencies:
[INFO] [dependency:tree]
| [INFO] org.jboss.bootstrap:jboss-bootstrap:jar:1.0.0-SNAPSHOT
| [INFO] +- org.jboss.logging:jboss-logging-log4j:jar:2.0.5.GA:test
| [INFO] | \- apache-log4j:log4j:jar:1.2.14:test
| [INFO] +- org.jboss.man:jboss-managed:jar:2.0.0.GA:compile
| [INFO] | +- org.jboss.man:jboss-metatype:jar:2.0.0.GA:compile
| [INFO] | | +- org.jboss:jboss-reflect:jar:2.0.1.GA:compile
| [INFO] | | +- org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:compile
| [INFO] | | \- org.jboss:jboss-common-core:jar:2.2.9.GA:compile
| [INFO] | +- org.jboss:jboss-mdr:jar:2.0.1.GA:compile
| [INFO] | \- sun-jaxb:jaxb-api:jar:2.1.4:compile
| [INFO] +- org.jboss.microcontainer:jboss-kernel:jar:2.0.4.GA:compile
| [INFO] | +- org.jboss.microcontainer:jboss-dependency:jar:2.0.4.GA:compile
| [INFO] | \- org.jboss:jbossxb:jar:2.0.0.GA:compile
| [INFO] | +- apache-xerces:xml-apis:jar:2.9.1:compile
| [INFO] | +- apache-xerces:xercesImpl:jar:2.9.1:compile
| [INFO] | +- wutka-dtdparser:dtdparser121:jar:1.2.1:compile
| [INFO] | \- javax.activation:activation:jar:1.1.1:compile
| [INFO] \- junit:junit:jar:4.5:test
Maybe we can get rid of jboss-managed, I don't know.
It's the job of the classloader facilities to come up with something that makes service binding manager deployable.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221832#4221832
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221832
15 years, 9 months