aspose file tools*
The moose likes Beginning Java and the fly likes Client  programming and class author discrepincies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Client  programming and class author discrepincies" Watch "Client  programming and class author discrepincies" New topic
Author

Client programming and class author discrepincies

Kevin Peterson
Ranch Hand

Joined: Mar 05, 2005
Posts: 37
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

Joined: Mar 13, 2004
Posts: 1272
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.


Mike Gershman
SCJP 1.4, SCWCD in process
Berty Ahern
Greenhorn

Joined: Mar 03, 2005
Posts: 17
Thats bold.
Kevin Peterson
Ranch Hand

Joined: Mar 05, 2005
Posts: 37
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

Joined: Aug 07, 2003
Posts: 1646
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

Joined: Mar 05, 2005
Posts: 37
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

Joined: Jan 29, 2003
Posts: 8791
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.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Kevin Peterson
Ranch Hand

Joined: Mar 05, 2005
Posts: 37
Thanks, that answered the question.

-Kp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client programming and class author discrepincies