Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

RMI interface implementation

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just finished writing the interface for the RMI Server of my FBN proj. I have'nt done much RMI so I'm struggling a bit with the implementation phase. When others made their new class extending UnicastRemoteObject what steps did you take in coding the methods. I was talking to one person who said that they implemented the interface in the Data class itself but I'm thinking that they wanted us not to alter the Data class since it is reasonably complete???
Can someone shed some light on this, I'd really appreciate it, I'm working with real limited reference material for RMI so I'm having a hard time wrapping my brain around it???
Thanks all
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMI resource is plenty full if you look around. SUN's online training,
http://members.spree.com/education/developergrp/
EJB book by ED Roman(Appendix A & chapter 9), Core Java Volume 2, Professional Java server book(I forget the author's name). Your best bet is to do many sample programs available. Tweak them in one way or the other. I got lot out of these resources in just 3-4 days. Sun's site is as below http://developer.java.sun.com/developer/onlineTraining/
If you do on your own , not only you get the certificate, but learn a lot.
Good luck
Raj
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi gbelyea. Where are you at in the assignment? I just started about three weeks ago. I read the rmi stuff from Sun's website, but I think the information from the book Learning Java from O'Reilly publishers gives just the right amount of information.
I didn't want to change the Data class very much either. I'm planning on implementing a facade or proxy pattern in the class that extends the UnicastRemoteObject. That way, I can have any coding that I need there, rather than needing to change the Data class any.
If you have any ideas about this, feel free to let me know
Dave.
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a good article about RMI and the adapter pattern: http://www.javaworld.com/javaworld/jw-05-1999/jw-05-networked.html
Enrico Mannarino
 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learning RMI was really painful to me. I tried possible all resources. One of them is
http://www.cybcity.com/gui/rmitool.html
I downloaded and went through code. I got some light what is happening? and how to do it?
-Bal
[ January 23, 2002: Message edited by: Bal Sharma ]
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic