[Remoting] - Re: Looking for a basic tutorial on how to get JBoss Remotin
by ron.sigal@jboss.com
Well, I'm not sure if you're asking how, in general, to make an invocation on the JBoss Application Server, or if you already know how to use, say, AS 4.2 and want to know how to do the same with AS 5.
If it's the former, then there's a tutorial written by John Mazzitelli called "Introducing JBoss Remoting" at
http://www.onjava.com/pub/a/onjava/2005/02/23/remoting.html.
It's somewhat old, so you should check the details against a current version of the Remoting Guide (e.g., http://www.jboss.org/jbossremoting/docs/guide/2.5/html/index.html). For example, "xmbean-dd" in the MBean declaration is archaic. For a current example of a Remoting server configuration, see the MBean called "jboss.remoting:service=Connector,transport=socket" in $JBOSS42_HOME/server/default/conf/jboss-service.xml.
If your question is the latter, well, then, everything that works in AS 4.2 should continue to work in AS 5. In particular, MBean declarations will still be recognized. However, AS 5 also supports the configuration of ordinary POJOs, and Remoting 2.4/2.5 has updated its server side configuration to use declarations of org.jboss.remoting.ServerConfiguration instances. See, for example, $JBOSS5_HOME/server/default/deploy/remoting-jboss-beans.xml.
I hope that helps. And, of course, we'd be happy if you want to contribute a tutorial.
-Ron
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222885#4222885
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222885
17 years
[JBoss jBPM] - Re: Queries to search the database for process instances ba
by andiXT
Hi,
I have the similar problem. I have some process instances which stores some variables of type serializable. I mean, variables are not simple String or long objects but custom beans which implements serializable. So, is it possible to make search query for such cases based on some property of such serializable beans?
Example: each process instance stores variable named "registrationInfo" which is of type RegistrationInfo:
| public class RegistrationInfo implements Serializable{
| private String username;
| private String email;
| private String password;
| ...
| }
|
Is it possible to make query for all process instances which store variable named "registrationInfo" and this variable has property "username" set to 'admin' for example? The purpose of this query to is check if there is a running process which stores registration information about user who has chosen some username. Just to check if such user name is not taken yet.
Is username whould stored as String variable I think there wouldn't problem to check that. But this username is stored inside of serializable bean, so I cannot guess how to fetch such records.
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222881#4222881
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222881
17 years