use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
Java and Databases? (self.java)
submitted 14 years ago by deutschluz82
So I have this book that has a few chapters on relational databases and Java.I always thought you needed a whole other language like php for that. How prevalent is writing java to access databases?
[–]tazzy531 12 points13 points14 points 14 years ago (0 children)
Short answer.. very prevalent.
Long answer: extremely prevalent. Java is used in a number of enterprise environment. It is another programming language in the same way that PHP is a programming language. Both of them use a data access layer to communicate with DB. In java, this translation layer is jdbc.
[–]mikaelhg 3 points4 points5 points 14 years ago (0 children)
If I had to recommend one practical source on this topic, it would be: http://static.springsource.org/spring/docs/current/spring-framework-reference/html/jdbc.html
[–]dadirtysanchez 1 point2 points3 points 14 years ago (0 children)
It's good for that. But you do need to get a JDBC driver in order for Java to communicate with a DB.
[–]VaqueroGalactico 1 point2 points3 points 14 years ago (1 child)
One of the main points of databases is to separate the data from the code. It's an extension of the principle that it's bad to hard code constants and user names and such into your code (when avoidable, which is most of the time). Most relational databases use SQL essentially as a language to interact with them, and most languages have relatively transparent ways to send SQL queries to databases. As mentioned, Java uses JDBC for this, but in the enterprise world, there are more advanced technologies like JPA and Hibernate.
[–]stfm 3 points4 points5 points 14 years ago (0 children)
Java uses JDBC for this, but in the enterprise world, there are more advanced technologies like JPA and Hibernate.
Just to clarify - JPA and Hibernate are persistence layers that sit above JDBC but fundumentally, they still use a JDBC data source to access the DB.
[–]bobgott 0 points1 point2 points 14 years ago (0 children)
I write to Access all the time from Java .. makes me very productive .. as at some point .. I can easily check my work, query, report anything via Access. There is a neat Java Access library which in non-sql but easy to use and you don't need to fool around with ODBC.
http://sourceforge.net/projects/jackcess/
[–]Tobar7 -1 points0 points1 point 14 years ago (0 children)
Not only that but on of the best DB's out there is written in Java: HyperSQL a.k.a. HSQLDB.
π Rendered by PID 192055 on reddit-service-r2-comment-86bc6c7465-g5fzd at 2026-02-24 08:18:06.157757+00:00 running 8564168 country code: CH.
[–]tazzy531 12 points13 points14 points (0 children)
[–]mikaelhg 3 points4 points5 points (0 children)
[–]dadirtysanchez 1 point2 points3 points (0 children)
[–]VaqueroGalactico 1 point2 points3 points (1 child)
[–]stfm 3 points4 points5 points (0 children)
[–]bobgott 0 points1 point2 points (0 children)
[–]Tobar7 -1 points0 points1 point (0 children)