This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Database" Watch "Database" New topic
Author

Database

Dishi Malhotra
Greenhorn

Joined: Dec 13, 2000
Posts: 22
can we database applications like we make in visual basic without using any browser as the front end or the output window
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
Yes , you can!!!


Val SCJP <BR>going for SCJD
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
When you use a browser you need to execute an applet or servlet, or XML, etc. The JVM in the browser supplies the java environment.
However you can have regular applications outside of a browser that are fired from the command line (or typically from an icon). These applications rely on the JRE (java runtime environment) for the environment. You make sure that the actual class that you call at the command line has a main() method in it so java knows where to start. The output is usually to the console, or the GUI that you provide (or to files of course).
To do the database calls you use the ODBC:JDBC supplied by the vendor of the database. Java can call an Access database using the JDBC driver provided by Microsoft, the same with almost every well known database on the market today.
Of course if you are clever, you can define and maintain the data with your own home built files and access class (but why re-invent the wheel, when there are SOOOO many good choices already out there).

"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database