File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client programming and class author discrepincies

 
Kevin Peterson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I have a program that has methods of my own that I have written mixed with someone elses interface that i am impimentating would that i have be considered class authored , client programming , or both.

Thanks, Kp
 
Mike Gershman
Ranch Hand
Posts: 1272
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you write implementations of someone's abstract methods, they are your implementations.

If the interface does not mention the author, you can put a comment crediting the interface author in your class.
 
Berty Ahern
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats bold.
 
Kevin Peterson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, sorry let me re-phase that, what if the interface was replaced with already written methods that i was including in my code with some of my own methods, for instance:

public class car{

public car(){} // written by me

public void wheel(){} //written by someone else

public void engine(){} // written by me
}

-Keep in mind this is only an example but if i wrote class car would i be the class author, client programmer or is it possible to be both at once.

Thanks, Kp
 
David Harkness
Ranch Hand
Posts: 1646
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a client programmer? Does that mean you write HTML or Swing code? Or a programmer hired by the client? Or a programmer writing a socket client to call someone else's server?
 
Kevin Peterson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client programmer uses already written classes and methods to put together a program and the class author writes classes and methods of thier own, now what would happen if you were using your own code and someone elses code?

-Kp
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd have to look at the licensing for the other code. A lot of open source projects use one of the GNU licensing flavors which say you can include their code or binaries in your product so long as you include it complete and unchanged and make your code available the same way. (Ok, it's pages of legaleze, so that isn't 100% it.) If you're developing code for your company or for something you'd like to sell, you probably ought to have an expert look over the licenses of the things you use and write you one, too.

Another option you see sometimes is a statement that "This product requires jars from so and so. It's up to you to go get them and make sure you have legal licenses. Here's a link to their web site. Good luck!" That might be viable for a non-commercial product, but it would surely turn off non-geeky customers.
 
Kevin Peterson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that answered the question.

-Kp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic