This week's book giveaway is in the Python forum.
We're giving away four copies of Python Continuous Integration and Delivery and have Moritz Lenz on-line!
See this thread for details.
Win a copy of Python Continuous Integration and Delivery this week in the Python 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

java code sharing  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am in java project team. My team members need to access my java code functionality but I don't want them to access my java code. So how can I share the code functionality without sharing my java code?
 
Saloon Keeper
Posts: 5287
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a team, everybody should have access to all relevant code. Also, all the code should reside in a repository, like Subversion or git. It sounds as if no repository is in place - that's a dangerous and inconvenient situation that should be remedied ASAP. Once that's in place, the question why you would not want your colleagues to see your code becomes irrelevant (although it does point to a seemingly not fully functional team - also something to investigate).
 
khushi sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually that is a hypothetical situation i formed. actually i want to know that how to share functionality only without sharing source code in java in case if i have to deliver some project to client.
 
Marshal
Posts: 63409
205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't write hypothetical questions as if they were real.

It is possible to send out a .jar containing no XXX.java files, but it is still possible to decompile XXX.class files. If you really want to keep your code secret, you would have to run it as a service, so it never leaves your server.

Not a beginning question: moving to different forum.
 
Master Rancher
Posts: 1161
18
Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

khushi sharma wrote:actually that is a hypothetical situation i formed. actually i want to know that how to share functionality only without sharing source code in java in case if i have to deliver some project to client.


You do realize unless otherwise stipulated in the contract (and if I would be the client, I would never sign that) the client is owner of the sourcecode.
And this whole mentality of it's mine, I don't want someone else to use it, dosn't really rhyme with the open sourceness of the java community...
 
Tim Moores
Saloon Keeper
Posts: 5287
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Daniel Demesmaecker wrote:unless otherwise stipulated in the contract ... the client is owner of the sourcecode.


Indeed, the contract specifies who is owner of the code, and who gets to have the source code.

...dosn't really rhyme with the open sourceness of the java community...


A lot more money is being made doing Java development that is not open source than doing development that is open source. But it's hard to build a community around something that is not open, so that part is less visible.
 
Marshal
Posts: 24191
54
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:Indeed, the contract specifies who is owner of the code, and who gets to have the source code.



I recall hearing about contracts which specify that the developer will keep the source code, but put it into escrow. Then if the developer goes out of business, the source code will be transferred to the customer. However I don't recall ever hearing about how well the escrow arrangements worked when the developer stopped supporting the source code, which can happen in several different ways.
 
Campbell Ritchie
Marshal
Posts: 63409
205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surely an escrow arrangement can allow for the code';s release if the original developer stops developing it.
 
Daniel Demesmaecker
Master Rancher
Posts: 1161
18
Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now your guys objective meaning, would you guys ever hire a developer to create a program for you if they don't realize the source code?
I myself, when I buy something that is developped for me from "scratch" (what is really developed from scratch, there is always some reuse of code) I want to fully own it too, not just be able to use it.
For me, in my job as developer for the minestery of internal affairs, I actually had to sign a non disclosure agreement that states that everything I develop during my time there is fully owned by them, I know that's often the case
 
Paul Clapham
Marshal
Posts: 24191
54
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Surely an escrow arrangement can allow for the code';s release if the original developer stops developing it.



Indeed... "CAN" is the operative word there. I recall hearing about those escrow arrangements but I don't recall hearing about how they actually worked when things went wrong. Which they do from time to time, I think.
 
Paul Clapham
Marshal
Posts: 24191
54
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Daniel Demesmaecker wrote:For me, in my job as developer for the minestery of internal affairs, I actually had to sign a non disclosure agreement that states that everything I develop during my time there is fully owned by them, I know that's often the case



Yes it is, and when you're writing code which only one customer will be using, it makes a lot of sense.

But when the company I used to work for (as an employee) wanted to give out hand-held ordering devices, they hired a company which wrote code for those devices. Naturally that company worked for many other companies like ours who also wanted hand-held ordering devices, so the code they wrote wasn't "our" code. It was "their" code, or more exactly some code specific to our company which was based on code which was used by all of their other clients too.

 
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!