• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment

 
Rex Ashworth
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic