Results 1 to 5 of 5
- 04-27-2011, 12:50 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 3
- Rep Power
- 0
Datasource in desktop application
Hi all,
I've a question about DS and Tomcat. I tried (with success) to use Hibernate (v3) and Tomcat DS from my webapp.
Now, I need to launch a jar app (on the same server) that use the same DS of the webapp.
so, can I use or share information of connection? How?
There's a good solution for that?
Thanks in advanceLast edited by Manolo; 04-27-2011 at 12:53 PM.
- 04-27-2011, 02:55 PM #2
Hi
Your question is difficult to understand.
DS - is this some database?
Hibernate uses difference layers cache. if you want to read/write from difference app same data you need to care about dirty data.Skype: petrarsentev
http://TrackStudio.com
- 04-27-2011, 03:33 PM #3
Member
- Join Date
- Apr 2011
- Posts
- 3
- Rep Power
- 0
Hi Petr,
thanks for your reply.
DS = datasource
I need to use the same DS between desktop-app and web-app. ;)
it's possible?
- 04-27-2011, 03:54 PM #4
Yes It is possible. But I say you must care about dirty data. How I know jdbc don't use a cache data. you can try it.
I'm interesting why do you want make it? You can just use web app without desktop.Skype: petrarsentev
http://TrackStudio.com
- 04-28-2011, 07:29 AM #5
Member
- Join Date
- Apr 2011
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Desktop Application
By vineet osho in forum New To JavaReplies: 3Last Post: 06-13-2010, 05:37 AM -
Help in converting Java application to desktop application in Netbeans
By realahmed8 in forum AWT / SwingReplies: 3Last Post: 12-04-2009, 12:10 PM -
How to create datasource for standalone application using JPA
By identita in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 12-03-2009, 01:04 AM -
Datasource starts after web application
By anosh_nathaniel in forum XMLReplies: 0Last Post: 12-12-2007, 10:49 AM -
Datasource starts after web application
By anosh_nathaniel in forum XMLReplies: 0Last Post: 12-12-2007, 10:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks