Skip to main content

All Questions

Tagged with
-1 votes
1 answer
410 views

How to create, manage and use multiple dynamic database connections at run time?

As I am creating different database connections on the basis of database credentials (i.e. JSON or POJO with all the credentials required to create a DB connection). e.g. Imagine a Map containing ...
Amber Pandey's user avatar
3 votes
1 answer
4k views

How to properly serve large video files stored outside a MySQL database

I'm trying to build a Java application that connects to a remote database that stores and retrieves video files that can be over 200MB. I could store/retrieve these files in MySQL directly as ...
dyslexit's user avatar
  • 139
4 votes
4 answers
39k views

How to write a proper class to connect to database in Java

I'm currently writing an application and I'm struggling with the decision of how to correctly design a class to connect to a database. I came up with something like this: public class ...
Piter _OS's user avatar
  • 101
4 votes
2 answers
3k views

Why shouldn't you use JDBC in Java applets?

I've heard people saying usage of JDBC (Java Database Connectivity) isn't recommended in Java applets. All I they say is: 'because of the security reasons'. What 'security reasons' do they mean? What ...
BMC's user avatar
  • 143