Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a program that searches a folder and catalogs all the files it finds in a database. I know how to create a localhost database (or one hosted on a web) and connect to that. But that would require anyone who I give this app to, to have set up their own database.
I would like to be able to have a specific database created for only this application, that lives in the same root folder with the application and can be moved from computer to computer (preferably MySQL). Is this possible?
Turns out what I need is an Embedded database (Apache Derby, SQLite). Thanks guys in the comments!
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have created my website using Java Enterprise Edition (JSP/Servlets) and MySql 8 for my database. It is a typical CRUD application with a feature that let the user track the car's location.
I thought of using Flutter since it will save me time with its cross-platform capabilities but I have'nt found any documentations that will make the user login from the app to my website and fetch some data.
I'm pretty sure it is possible somehow. Otherwise is there a way to simulate my website as fast as possible without using Chrome obviously.
Read the concept of Rest APis.Simply use the api to fetch data and you can also save data through api.You need to Connect your app to your web APi.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
If I have a Java app (not web app, 100% local), that I want to deploy. Do user have to install something extra other than the .jar file if I use a database?
Also good point if anyone can say each case of this 3 different databases : 1. Java DB (Derby), 2. H2, 3. MySQL.
None of them, or if you want to install a database to the client, Java DB is an option included with Java SE distro. You also need a client drivers to make a connection to db. Derby also has an embedded database drivers, which you can embed to the application.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I've installed Oracle 12c, SQL Developer, and have created several tables...but in my schema.
I want to create a Oracle DB backend to a JAVA front end application.
Once created, are all schemas available to any user with the appropriate permissions or are they local to the user who created them?
That's more than one question. But, you create an account (or multiple accounts) to own the tables and stored procedures and functions. And yes, once created anyone can access it (as long as they have the required permissions). And yes, they can run the stored procedures and functions you create (again, if they have the required permissions).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What is the difference between a web service hosted within your application and the one hosted over the internet? And the complexities involved in consuming both of them?
Please can somebody explain this?
Logically it doesn't matter who is hosting it. Basically this should be transparent. The only thing is that when it's hosted locally the performance (when calling it) will probably be better as the data doesn't need to travel over the Internet but just in say your local network.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to pass database authentication details dynamically when my Web application deploys into tomcat. This process succeeded when using Windows console, but when porting to Linux and executing startup.sh, Tomcat starts the deployed Web Application, but it is not prompting for password.
This isn't the way things are usually done.
The proper idiom is to set up a named JNDI connection pool. It has the credentials and URL at start up; the app server brings it up. See how to do it here.