You mean something like pack them in a JAR and put them in a server, along with a webpage that links to it? Or do you mean something like transform them into an Applet?
Joined: Jul 04, 2004
hi there, Thanks for your reply. I think it's the first one you mentioned. I really appreciate it if you can give some more detail although I already learned something useful from your short answer.
Jos� Alberto Mu�iz Navarro
Joined: Oct 27, 2003
Well uhm... first of all you'll need a web server. Maybe your company has one server of its own or you can hire some.
Next you'll have to create an html from where the users will be able to click and download the classes. (I assume you'll want to download the .class not the .java, because otherwise those who download it would have to compile them).
Then you save that document as an html and place it in the server. In the same directory, you have to include the classes (class1.class, class2.class, class3.class, etc).
You can also create a JAR out of all the classes and then upload it as only one file instead of the others. However, that would depend on whether you want that to happen or not . To create a JAR, you have to use the jar command