File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Glassfish and the fly likes DB config property in server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Glassfish
Bookmark "DB config property in server" Watch "DB config property in server" New topic

DB config property in server

Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122

Developing application in EJB 3.0, Eclipse link using Glassfish 3.1.

I have to externalize the database schema properties.
Which place i have to keep in server and how to specify those file name in my application?

During deployment i can change the schema name.
DB schema property should go in server location only.
Shall i keep in D:\glassfish\glassfish3\glassfish\domains\domain1\config\ ?
what is the extension of file name?

I agree. Here's the link:
subject: DB config property in server
It's not a secret anymore!