Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2009, 02:04 AM
Member
 
Join Date: Dec 2009
Posts: 2
Rep Power: 0
identita is on a distinguished road
Default 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?


Thanks,
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] License management for a Standalone java application? kzvi.kzvi.1 Advanced Java 4 04-23-2009 10:54 PM
to create Web Application bhangale.parag Web Frameworks 0 12-17-2008 02:38 PM
howto make a standalone application? Jerre New To Java 4 06-08-2008 10:58 AM
Datasource starts after web application anosh_nathaniel XML 0 12-12-2007 11:49 AM
Datasource starts after web application anosh_nathaniel XML 0 12-12-2007 11:47 AM


All times are GMT +2. The time now is 09:45 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org