Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2004

Tip: Looking for answers? Try searching our database.

dynamic class loading

Thread view: 
Joe - 28 Aug 2004 10:36 GMT
Hi all, Im trying to make a client and a server.  The server should be
able to take "Classes" from the client, run them and return values back
to the client.  Also eventually I would like to distribute the code to
multiple servers so they can all work on a portion of the problem, and
return there values to the client.

I need some opinions... is Dynamic class loading a better way to do this
than RMI?  Does anyone know of a good tutorial that can start me off
with this?

Thanks

Gino RUsso
Paul Lutus - 28 Aug 2004 00:57 GMT
> Hi all, Im trying to make a client and a server.  The server should be
> able to take "Classes" from the client, run them and return values back
> to the client.  Also eventually I would like to distribute the code to
> multiple servers so they can all work on a portion of the problem, and
> return there values to the client.

If the purpose is to solve a problem, focus on that instead of thinking in
terms of tranferring "classes" between the client and server. It is much
more likely that the most efficient way to solve the stated problem is to
tranfer data, not classes, between the servers and the client.

> I need some opinions... is Dynamic class loading a better way to do this
> than RMI?  Does anyone know of a good tutorial that can start me off
> with this?

I want to know whether you have actually thought this through before fixing
on this approach.

Signature

Paul Lutus
http://www.arachnoid.com

G. Russo - 29 Aug 2004 02:44 GMT
Yeah. I think I have thought it through.

I want a situation where if 3-4 clients are connected to eachother, client X
can share a problem with the other 3.  But the problem changes, it is up to
the clients to code and share the problem....I just want to create the
architecture to support this.

Whadda ya think?  Am I off base with something?  Shouldn't dynamic class
loading make this doable?  Or do you think there is a better way

Gino (or joe)

> > Hi all, Im trying to make a client and a server.  The server should be
> > able to take "Classes" from the client, run them and return values back
[quoted text clipped - 17 lines]
> Paul Lutus
> http://www.arachnoid.com
Paul Lutus - 29 Aug 2004 00:12 GMT
> Yeah. I think I have thought it through.
>
[quoted text clipped - 5 lines]
>
> Whadda ya think?

I think if this is the best, clearest description of the problem you can
provide, it is too soon to write code.

> ... client X can share a problem with the other 3.

Define "share". This is just one example -- this could mean anything.

> Am I off base with something?  Shouldn't dynamic class
> loading make this doable?  Or do you think there is a better way

That depends on what you are planning to do.

Signature

Paul Lutus
http://www.arachnoid.com

Joe - 30 Aug 2004 01:55 GMT
"That depends on what your planning to do"

Im planning to writing give an environment that connects clients, and allows
clients to share CPU time.  I want to make the method as generic and as
possible to allow users to share whatever program they want.

Do you think RMI or Dynamic class loading is better for this?  I am thinking
of simply sending the class file to the other clients and dynamically
loading it on the other side.

Gino

> > Yeah. I think I have thought it through.
> >
[quoted text clipped - 21 lines]
> Paul Lutus
> http://www.arachnoid.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.