简体   繁体   中英

Managing databases with Java desktop applications

Sorry for the long explanation here but here goes:

As a personal project, I've toyed with making a server management tool for game server hosts. All of the server hosts use MySQL servers and they're all separate servers.

So: Is there a java IDE or java library I can use for creating a java desktop app that can communicate with MySQL databases?

More specifically: I need to have clients use a login form to specify the IP address, port, username and password. When they hit connect, the java application sends the login information to the server specified, authenticates and connects. Then the user can execute T-SQL by simply clicking buttons on a form.

I'm looking for something similar to what I've recently achieved in C# with the MySQL connector for .NET. But I can't find anything anywhere on something like this, is it just impossible or am I being an idiot? haha. Cheers guys.

To achieve login functionality providing you are going to use swing, use JXloginPane it contains all what you described out of the box. Regarding db, you can use JdbcTemplate

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