In EJB how the parameters as (returns) objects to remote metods are passed: by reference or a entire copy of the object : how about return object from the remote method. Is the entire object serilalized to client JVM. Thinking if i have 3kb object to send to client and 10000 concurrent clients how does the performance be Thanks Selvan
Hi, See in EJB1.1 there is no concept of pass by reference,it's always pass by value,even though some vendors provided this,but this is vendor specfic like weblogic,JBOSS do provide this facility. IN EJB2.0 we have concept of local intefaces and pass by reference in specification itself.(correct me if i m wrong...as i am also on learning path)
As far 10000 clients accessing the BEan,it all depends on the application logic and application environment.
10000 clients? Really? Normally I'd only expect to see that many clients either in a very large company with many connected campuses or the general public using the Internet itself. In either case, the more likely problem is that the EJB's RMI is going to slam up against a lot of firewalls.
An IDE is no substitute for an Intelligent Developer.