• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to map Ms Sql Server datatabse to ejb in JBoss

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using sql7.0,Can anybody tell me ,in which xml file ,i have to write the datasource defination and how it will deploy .
Jyotisree
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of JBoss are you using?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used this link to make MySql talk to Jboss.
https://coderanch.com/t/88277/JBoss/JBoss-MySQL-Could-not-dereference
Also see if these links are of use.
http://users.pandora.be/bert.torfs/j2ee.pdf
http://mattkelli.com/tech/mysql/
http://ejbca.sourceforge.net/docs/HOWTO-database.html
They may not be appropriate, but they will help. I do not want to use EJBs. So I just added
mysql-ds.xml file in
%JBOSS_DIST%/server/default/deploy folder and edited it to my MySql setting. For Ejb use, you may have to fix 1 other xml file I guess
 
Jyotisree Dhar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using JBoss-2.2.2 for ejb and Tomcat-3.2.2 for jsp and servlet deployment.
jyotisree
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic