Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?

What I have tried:

I have tried packages but using packages whole will be accessible
Posted
Updated 26-Dec-18 23:29pm
Comments
Richard MacCutchan 27-Dec-18 5:53am    
Not a team player then?

 
Share this answer
 
Using JAR (file format) - Wikipedia[^] you can share the functionality but keep in mind that the code is typically still accessible and can be decompiled. Have a look at java - How do I decompile a .jar file? - Stack Overflow[^]

One way to make decompiling harder is to use Obfuscation (software) - Wikipedia[^], but as long as the code can be executed, it can be read.
 
Share this answer
 
Java jar is your solution. Take a look at maven. You can build your own maven server and share repository with other team
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900