[jboss-user] [EJB 3.0] New message: "Performance JAS 5.1.0.GA with Security enabled"

max mueller do-not-reply at jboss.com
Wed Mar 10 03:46:52 EST 2010


User development,

A new message was posted in the thread "Performance JAS 5.1.0.GA   with Security enabled":

http://community.jboss.org/message/530983#530983

Author  : max mueller
Profile : http://community.jboss.org/people/maxMueller

Message:
--------------------------------------------------------------
Hi,
we have the following problem. After update from jboss4.2.3 to jboss5.1.0 performance is very bad. We use EJB3 with SSB and JPA Entities.
After a debugging/logging session i think the security is the problem.
 
Following test:
######################################################################
@TransactionAttribute(TransactionAttributeType.REQUIRED)
@SecurityDomain("EVIJET")
@TransactionManagement(TransactionManagementType.CONTAINER)
@PermitAll
@Stateless
public class TC2 implements TC2Local
{
 
    /**
     * Default constructor. 
     */
    public TC2()
    {
        // TODO Auto-generated constructor stub
    }
 
    public String ping()
    {
        return "ping";
    }
}
######################################################################
@TransactionAttribute(TransactionAttributeType.REQUIRED)
@TransactionManagement(TransactionManagementType.CONTAINER)
@Stateless
public class SSBNoSecurity implements SSBNoSecurityLocal, SSBNoSecurityRemote
{
    @Resource
    private SessionContext ctx;
 
    /**
     * Default constructor. 
     */
    public SSBNoSecurity()
    {
        // TODO Auto-generated constructor stub
    }
 
    public String ping()
    {
        return "ping";
    }
}
#############################################################################

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/530983#530983




More information about the jboss-user mailing list