Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > remote obect access
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 21st November 03:23
daniel
External User
 
Posts: 1
Default remote obect access



Hello all,

I have this object

private Patient maakDezePatient() throws java.rmi.RemoteException
{
return new Patient(Integer.parseInt(sleutelVeld.getText()),
Integer.parseInt(sofiNummerVeld.getText()),
verzekeringsMaVeld.getText(),
Integer.parseInt(polisNummerVeld.getText()),
naamVeld.getText(),
adresVeld.getText(),
postcodeVeld.getText(), woonplaatsVeld.getText(),
gebDatumVeld.getText());
}

Im still a beginner, This object is on the client pc, The Patient Class is
on the server. I have a PatientInterface. I know my classes are
serializable. It it have to be when i want to pass whole object through the
line. I cannot find any examples on how to define this in my Interface.

And can someone please tell me what does this object actually? Is it that
the first line starting with private calls a reference to the Patient class?
and then returns the constands given by the Patient class? Im really lost,
becouse i understand how to use the Interface to define methods, where the
server class implents the Interface. But in this case i dont know how to
change this merhod to do so becouse it always gives me an error that the
Class isnt available on the client, its true, so thats why i think i the
best way is to call a remote object with serializability.

Thanks a lot for all the help.

Danny
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666