Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird: Remote Interface

 
Alexandre Baldo
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's up, guys!

I´ve already implemented the DBAccess interface provided by Sun. All methods are done.
My GUI just need to book and locate (by name and location) records. So the clients doesn't need all the methods that I've implemented in DBAccess.

Does my Remote interface need to have all the methods that DBAccess has or can it have just the book and locate method?


Thanks!!
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, my buddy!

This is a very good question. I chose to put all methods of the interface that was provided to me in this interface too, you know... because today, not all methods are necessary, but might be one day...
 
Alexandre Baldo
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Roberto!

I think I will put all the methods too.

See ya!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic