aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes remote method call/objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "remote method call/objects" Watch "remote method call/objects" New topic
Author

remote method call/objects

Selvan tiru
Greenhorn

Joined: Jul 12, 2001
Posts: 18
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

Joined: Nov 22, 2001
Posts: 393
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.


Regards,
James
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: remote method call/objects