Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

About using JBoss

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, could anyone help me?
I am using WSAD5.0 for developing the J2EE Application, and now one of our clients wants to run our project using JBoss. We are going to run JBoss on a workstation and access the database on the AS/400. I know nothing about JBoss, and I have read some documents, but still do not understand how to config a datasoure. Any examples would be so appreciated.
Thanks a lot!
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I remember, you can configure a datasource in JBoss by modifying the *-service.xml file (in jboss 3.0.x). for instance, there are many files like this one, but you choose the one for your database, example:
mysql-service.xml
oracle-service.xml
hsql-service.xml
....
In jboss 3.2.x, they've renamed this file:
mysql-ds.xml
hope this helps
 
xin wen
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Andres for replying.
I found there is a DB2-service.xml, but no AS/400-service.xml, do you know somthing about AS/400 datasource config?
Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic