• Post Reply Bookmark Topic Watch Topic
  • New Topic

Buissness logic?  RSS feed

 
pras
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Step 1:

I have written a 'C' program which i named undertaker.C

Step 2:

I compiled it and executed it,so i got a .EXE file now

Step 3:

Suppose you guys think i developed the above mentioned Program for a Customer XYZ

now what am i supposed to give, is it just the .EXE file with all the the other executable environment arranged for him in his place (i mean the C compilers and stuff)

what about the similar situation in java am i supposed to give only the .class file with a particular JVM environment arranged at his place?


Regards,
Prasanna.s.k
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's between you and XYZ. What did you contract to deliver?
 
pras
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am just asking it for my Buisseness knowledge. Am still a college student.

suppose code is developed by developers.

suppose we give only the .EXE file in case of 'C' language and give only ".CLASS" file in case of java how will they execute it? or Do we need to give the source code also.


when i asked the same question to my friend he laughed at me saying why will you ever give code? but he didnt tell me the reason
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you agree to develop software for a specific company, you will virtually always sign a contract with them. The contract should specify exactly what they expect you to deliver. Although your question amused your friend for some reason, the truth is that if you develop software under this sort of arrangement, the contract generally will include your delivering the source code, and ownership and copyright of that code will revert to the company. The deliverables will usually not include compilers, Java Virtual Machines, etc, because if you've just used standard, generally available things, the company will be able to get those by themselves.
 
pras
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In java it is possible to give only .CLASS file so that they can be executed with help of JVM

is it not possible in 'C' language if we give only .EXE file?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's possible, but it's not very common. If you are developing the software specifically for another company, they will almost always want a contract that gives them the source code. On the other hand, if you develop the software independently, and then afterwards sell the finished product to someone else, it's more possible that you might be able to give sell them only the executable. However even in this situations, many companies will not trust software without the source code, unless you (or more likely, your company) have a very good reputation for quality software and support. Even then, source code is frequently expected by customers. Trying to keep it from them will probably hurt your business, so I woulnd't do it unless there's a really compelling reason to do so. And given the possibility of decompiling Java programs, it's hard to imagine a really compelling reason.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Prasanna said, you can deliver a technical minimum of some class files and tell the buyer he's on his own to set up a JVM and class path and so on to make it run. Getting some projects from SourceForge is about that primitive.

In a commercial product like a shrink wrapped box on a store shelf, users are likely to expect a lot more, like a nice installer that gets the latest JVM or provides the correct JVM, configures their personal preferences, sets up Windows icons to launch and more.

Several others talked about the "software for hire" world, where you should have a clear contract about what you should deliver and who owns what when you're done.

Are those the kinds of options you were thinking about?
 
pras
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes....
 
abhishek jethwani
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you talking about web application than you have a option of creating .war files and send to your customer to direclty run over server with JVM on it.

if its a java stand alone application you can do the same by creating a .jar file.

in both of the files you need not to add the code you just have to create these files from the IDE you use and mention the JVM your customer should use.

i think you can use batch file for direct lauch also.
correct me if i m wrong.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!