Hi, I made a test case with 800 methods called hello_000 to hello_800 and it
deployed quickly. each looked like public String hello_000() { return
"hello"; } I then added @RolesAllowed on about a third of the methods and
this is what caused the slowdown when when 20 000 millseconds to 180 000
milliseconds eg at top of class @DeclareRoles( {"Role1", "Role2", "Role3",
"Role4", "Role5", "Role6"}) @RolesAllowed( {"Role1", "Role2", "Role3",
"Role4", "Role5", "Role6"}) @Stateless public class TestStateless implements
TestStatelessRemote { Now some methods look like @RolesAllowed( {"Role1",
"Role2" }) public String hello_001() { return "hello"; } My development
system is not connected to the internet so sending you the test case is
difficult But it seems that the roles processing is the slow part
--
[Message sent by forum member 'james100']
View Post: http://forums.java.net/node/788624