• Post Reply Bookmark Topic Watch Topic
  • New Topic

recover a xml ds from EJB

 
santi MmM
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys ,

I need some help with EJB.

i´m using iBatis with a DataSource defined in a xml which is in "\jboss5\server\default\deploy"

I need recover the user name and the password which is defined in this xml from a EJB, for use for login in other aplication.

May be ,that is not a good practice but ... i must do it from this way.

Thanks for your help
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35728
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
santi MmM wrote:I need recover the user name and the password which is defined in this xml from a EJB, for use for login in other aplication.

May be ,that is not a good practice but ... i must do it from this way.

Why can't your other application use the datasource? iBatis shouldn't be giving you the password back.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!