Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

recover a xml ds from EJB  RSS feed

 
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
Sheriff
Posts: 36396
453
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!