Re: [jboss-user] [JBoss Microcontainer Development] - JBoss Reflect Performance Javassist vs Introspection
by Kabir Khan
Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] replied to the discussion
"JBoss Reflect Performance Javassist vs Introspection"
To view the discussion, visit: http://community.jboss.org/message/538568#538568
--------------------------------------------------------------
I've written an in-AS benchmark which I'll run tomorrow to gather some more information about overheads of creating ClassInfos, looking up methods etc. What I had time to look at so far shows the Javassist implementation to be ~50x slower at obtaining the ClassInfos that the reflect one.
In the meantime, looking into why the BeanMetaData classes don't appear in the statistics, I found this:
protected TypeInfo get(String name, ClassLoader cl, Class<?> clazz) throws ClassNotFoundException
{
if (name == null)
throw new IllegalArgumentException("Null name");
if (cl == null)
throw new IllegalArgumentException("Null classloader");
try
{
CtClass ctClass = poolFactory.getPoolForLoader(cl).get(name);
return get(ctClass, clazz, cl);
}
catch(NotFoundException nfe)
{
return delegateToIntrospectionImplementation(cl, name); //End up here for a lot of the bootstrap classes
}
}
The above code was written to handle gets for generated proxy classes which will not appear in a classpool. As we know, creating Exceptions is very expensive, and could be at least part of the reason why the javassist implementation.
The problem seems to be that in the bootstrap DefaultClassPoolFactory is used until it gets replaced by the real one. Flavia, is there a way to get the real ClassPoolFactory to kick in earlier?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538568#538568]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
Re: [jboss-user] [jBPM] - jBPM 4 is dead?
by Mark Roy
Mark Roy [http://community.jboss.org/people/markroy] replied to the discussion
"jBPM 4 is dead?"
To view the discussion, visit: http://community.jboss.org/message/538562#538562
--------------------------------------------------------------
Personally, +I+ am panicking. I've been promoting jBPM to my customer as the best thing out there. They were relucant to go with an open source solution, but I assured them that RedHat support was available. (I asked for a quote for support specifically for jBPM 4.x, was told I need SOA-P. I got a quote for SOA-P, but only just realized it does not include jBPM4). Now I have to go back to my customer and tell them support will not be available. And moreover, there will be major changes moving to a future release.
I understand the need/desire to merge jBPM and Drools Flow in a future version. I don't have an issue with that. What I am concerned about is the lack of a statement of commitment by RedHat *management* (no offense Alejandro) to complete the planned features for jBPM 4, create a production quality release and provide support until a production-ready jBPM5 is available.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538562#538562]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
Re: [jboss-user] [JBoss Messaging] - Message Ordering in JBoss
by Mayank Mittal
Mayank Mittal [http://community.jboss.org/people/mayankmit2002] replied to the discussion
"Message Ordering in JBoss"
To view the discussion, visit: http://community.jboss.org/message/538542#538542
--------------------------------------------------------------
Hello Tom,
Our applications is some what informing other connected users about the operation performed by any of the user. Lets say any user changes some property of some object, then others should also be notified, so that, all users in the system, remains consitent with the sate of the server.
To achieve this, we uses JMS. Letz say User1 is there and he updated some value of some object letz say Obj1, now each and every user of the system must have the latest vaue. For this, on the commitement of the transaction, we are firing a message on the topic, which is listened by all other clients. once they recieve this message, they tries to fetch the data from the server.
It is also possible that within a single trasaction, multiple messages could be sent, it depends upon the type of operation.
In our test scenario we have 32 clients and each client is performing approximately 12 operations per minute.
*What sessions are you using transacted/notransacted?*
We are using non transacted sessions, as we have seen that transacted sessions causes memory leak.
*How do you ack your messages?*
All messages we are sending have Auto_Acknowledge mode
*Do you use selectors/message priority?*
** No we are not using message priority, as per our knowledge, message priority only works for Queues and not for Topics.
**
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538542#538542]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
[JBoss Portal] - session timeout redirect
by Tridib Das
Tridib Das [http://community.jboss.org/people/tridib197779] created the discussion
"session timeout redirect"
To view the discussion, visit: http://community.jboss.org/message/538541#538541
--------------------------------------------------------------
Hi All,
I want to redirect to my custom login portlet after session time out in jboss portal server.
I have updated the web.xml of my .war file with the following entry.
<session-config>
<session-timeout>10</session-timeout>
</session-config>
but it is unable to override the default session time out of jboss portal server.Still the session time out time is based on the default timing defined in
\server\default\deploy\jboss-portal.sar\portal-server.war\web-inf\web.xml.
Can any one suggest me any other work around for the above problem.
And one more thing is that how to redirect to a custom login portlet on session time out instead of the default login which is coming as a popup on ajax call.
Please suggest me if you have any solutions.
Thank you
Tridib Das
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538541#538541]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months