Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access xml data in J2EE application  RSS feed

 
konrad hoszowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Morning :-)
Could sb explain me ...or point me to appropriate source of knowladge :-) ...how can access xml files included in ear file ?
Thanks for help :-)
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at Petstore app version 1.3 on Sun's J2EE Blueprints site. The SQLs used by DAOs are stored in XML files and they are packaged with the web application( in the war file ). The EJB tier accesses the XML files using the standard URL format. I have used this strategy in many of my applications and it works very well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!