Pluggable RMI Application ?
Hi folks, there is this distributed, or rather, network application i built to be used in a LAN, where the client s(and server) connects to the DB server accross the network for data access. At start up, it displays a login UI to accept username and password from the user which after validation gives the user access.
Currently I created a config module (swing application) that lets the user configure the application parameters like database server hostname, database name, port etc for the DB connection, these are then saved in a properties file which the application reads and uses to connect to the DB server, this certainly has security draw backs cause every user now knows the DB server, the database, it's port, access username and password etc. I was wondering if RMI could be used to abstract the params and all such config to the my app's server and allow the clients to only connect, such that only the administrator of my app's server knows and has access to the params.
How can this be done so that the clients and even the app server can still remain a clikable and pluggable (can be carried to any pc and ran from it's JVM) jar file

