File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Deploying my program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Deploying my program" Watch "Deploying my program" New topic
Author

Deploying my program

Ian Cockcroft
Ranch Hand

Joined: Apr 05, 2001
Posts: 46
Hi Dave, Dirk, everyone.
I have finised my application and now need to deploy. How do I do this?
Is there a utility I can use?
Thanks
Ian


- Make it idiot proof and they'll make a better idiot!
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Um, is there something you are not telling us?
What sort of application is it (console app, AWT app, Swing app, Applet, Servlet, Web Application, Enterprise Application)? Are you deploying to the same machine you are developing on, or a remote machine (network copy, FTP, WebDAV, CDROM, WebStart)? Are you deploying "by hand" or do you need configuration help with a build/deploy tool (Ant etc.)? and so on...
Please describe a little more about what you need help with. Thanks.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ian Cockcroft
Ranch Hand

Joined: Apr 05, 2001
Posts: 46
Hi Frank,
I suppose their is quiet alot I havent said. Didnt even know where to start.
The project, for a course I'm doing, is a point-of-sale system. it is a Swing application.
I would need to be able to put it on a disk and install it from there on any machine as a stand alone application.
It uses an access database, which would have to be installed and ODbC setup when installing.
Does this help?
Thanks for your help.
Ian
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
OK. Good so far, but this leads to a few more questions.
Can you assume the target machine already has a Java Runtime, or will you need to install a JRE?
If the target machine already has Java, then you can write/get a Java-based installer rather than some combination of native executables, script files and manual documentation.
I guess from your mention of Access that the target machine runs Windows of some sort. Is this the only case, or might you also need to deploy to Lunux or MacOs, for example?
If you are only deploying to Windows then you don't need to make sure that your installation is multi-platform, and can potentially use Windows-specific installation tools.
Is your choice of Access as your database a requirement of the course, or would any database be OK?
Configuring Access and ODBC data sources is a Windows-specific manual process, whereas if you can use one of the pure-Java databases (e.g. the free hypersonic sql) it can be configured in with your software delivery.
[ July 11, 2002: Message edited by: Frank Carver ]
Ian Cockcroft
Ranch Hand

Joined: Apr 05, 2001
Posts: 46
Hi Frank
Can you assume the target machine already has a Java Runtime, or will you need to install a JRE?

Yes, they will be machines at the college, all have the JRE on.
Can I down load a Java installer somewhere? Which ones are any good?
I guess from your mention of Access that the target machine runs Windows of some sort. Is this the only case, or might you also need to deploy to Lunux or MacOs, for example?

No, just windows. I decided on Access because it is small and easy to use for now.
I will have to set up the ODBC myself.
Regards Ian
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying my program