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 Deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Deployment" Watch "Deployment" New topic
Author

Deployment

Rex Ashworth
Greenhorn

Joined: Apr 04, 2002
Posts: 20
As have not trying to write any java yet...do you deploy classes, packages, etc. or is there a compiler system to deploy and package programs. Also, what is the ease of use in connecting to databases...
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Thanks, Angela.
Now,

do you deploy classes, packages, etc. or is there a compiler system to deploy and package programs.

Usually, you deploy a JAR file, a "Java ARchive", which contains the classes, along with a JVM. There's a way to make a JAR file execute when double-clicked on Windows and other OSs, just like an application. There are products that will compile a "*.exe" file out of Java classes, but because *.exe files are not portable across OSs and JAR files are, these products are not used as often.

Also, what is the ease of use in connecting to databases...

Java includes the JDBC (Java DataBase Connectivity) API, which is in very widespread use. You can get drivers for virtually every database in existence; most of these drivers come from the database vendors themselves. The JDBC API is a lot easier to program with than (for example) ODBC is.


[Jess in Action][AskingGoodQuestions]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deployment