简体   繁体   中英

JAVA Desktop Application for Database System

I've been told to make a Database for office inventory, well as a student that not excel at coding yet, I've came up with Desktop App that I will create with JAVA Netbeans (SWING), as it's quite easy for designing the GUI, and for the database design, I'm using XAMPP PhpMyadmin (local host).

Now, the real problem is that I only can access the system on my PC only, with opening XAMPP, and run it through Netbeans. May I know how can I make my system accessible from another PC ? As well as the database, how can I make my database accessible without opening XAMPP??

The best way for building Java Desktop application which requires database, is using embedded database. It means that whenever you run java application the database is running too. So making accessible database without opening XAMPP, the solution could be using embedded database. Some of embedded database are:

  • SQLite
  • Derby
  • H2
  • HSQLDB

Another solution could be making database on real server or on office server and connecting from there, but not on localhost server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM