File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "remote method call/objects" Watch "remote method call/objects" New topic

remote method call/objects

Selvan tiru

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

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

Joined: Jun 25, 2001
Posts: 17421

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.
I agree. Here's the link:
subject: remote method call/objects
It's not a secret anymore!