Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remote method call/objects

 
Selvan tiru
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic