Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15951

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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: remote method call/objects
Similar Threads
how to get Clients CPU information on Server using Java RMI
moving state vs. behavior
Why to send/return Remote Object / Stub
how to pass non-remote object parameter
Remote Interface and Related Classes.