Results 1 to 1 of 1
- 12-03-2009, 01:04 AM #1Member
- Join Date
- Dec 2009
- Rep Power
How to create datasource for standalone application using JPA
In the persistence.xml configuration file, we have data source got it from web server configuration file, and created by server like Jboss or tomcat.
I just wonder how to create this same data source via Java stand-alone application?
I have Java standalone application embedded Jetty server running with JPA module. Question is how to setup or create data source from my Java application just like web server; which called by persistence.xml?
- By kzvi.kzvi.1 in forum Advanced JavaReplies: 4Last Post: 04-23-2009, 09:54 PM
- By bhangale.parag in forum Web FrameworksReplies: 0Last Post: 12-17-2008, 01:38 PM
- By Jerre in forum New To JavaReplies: 4Last Post: 06-08-2008, 09:58 AM
- By anosh_nathaniel in forum XMLReplies: 0Last Post: 12-12-2007, 10:49 AM
- By anosh_nathaniel in forum XMLReplies: 0Last Post: 12-12-2007, 10:47 AM