阅读背景:

如何用hsql和glassfish运行java web strat应用程序?

来源:互联网 

I have java program with main function, that packaged into jar archive. There is dao class with DataSource. An jdbc url to data file is expected an is passed as argument to main function. Everything works as standalone application, but how I must link jar file with database when they both in glassfish? For example, I put jnlp into glassfish docroot directory, and put HSQL database file with populated data too. Whta link I must pass tho that database? If I simple replace "C:\path"I have java program with main function, that pa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: