Ok,
org.jboss.proxy.SecurityInterceptor gets definitions from System, SecurityAssociation, etc...
How can I get a variable from a client who can be any class with a ThreadLocal attached to it!?
For example,
ESBClient1:
public static ThreadLocal<String> language = new ThreadLocal<String>();
| language.set("pt");
|
ESBClient2:
public static ThreadLocal<String> language = new ThreadLocal<String>();
| language.set("en");
|
LanguageInterceptor:
ctx.getContextData().put("lingua", ??????????.language);
How can discover the caller class?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075316#4075316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075316
Hello, well I'm new using jBPM and here at the company where I work we want to apply it to our system in order to get an organized and ordered navigation scheme for our development. Some of my ex-workpartners whom had worked with this framework have told me that jBPM is excellent, if only if the process isn't small , since they applied it to three/four tasks processes and the response time was slower than without using jBPM. They got a process with three tasks and with jBPM took more than one minute by giving an answer, instead without jBPM, the same procedure took some seconds to give an answer.
I'd like to know when should I apply jBPM, which are the performance advantages and disadvantages that might affect a system with this framework ?, or is there any pre-study made to measure jBPM and seam performance like http://www.dell.com/downloads/global/power/jbossworld_2006_june_jaffe.pdf?
What'd it be better for using, the stateful or stateless seam conversational flow or jBPM?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075312#4075312
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075312
fortunately you don't need the jnp-client.jar to do that. try this:
Properties p = new Properties();
| p.put(Context.INITIAL_CONTEXT_FACTORY,
| "org.jnp.interfaces.NamingContextFactory");
| p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
| p.put(Context.PROVIDER_URL, "192.168.bl.ah:1099");
|
| Context ctx = new InitialContext(p);
|
| MyRemote bean = (MyRemote)ctx.lookup("the jndi name");
if you are looking up a bean from the same server, then you can just do:
Context ctx = new InitialContext();
|
| MyRemote bean = (MyRemote)ctx.lookup("the jndi name");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075309#4075309
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075309