• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML file?

 
Rosie Vogel
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have just started experimenting with J2EE and Enterprise Java Beans. When I run an example, everything seems to be working fine. So now I want to create a bean of my own. The code is not too complicated but I'm confused about the XML file. What should be in it? What is it supposed to be doing? I've seen plenty of XML tutorials, but is there a tutorial on the net that deals specifically with XML in relation to EJB? (The Sun J2EE tutorial is not very helpful in this respect).
Thank you.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rosie Vogel:
Hello all,
I have just started experimenting with J2EE and Enterprise Java Beans. When I run an example, everything seems to be working fine. So now I want to create a bean of my own. The code is not too complicated but I'm confused about the XML file. What should be in it? What is it supposed to be doing? I've seen plenty of XML tutorials, but is there a tutorial on the net that deals specifically with XML in relation to EJB? (The Sun J2EE tutorial is not very helpful in this respect).
Thank you.

By and read "Enterprise JavaBeans" by Richard Monson-Haefel. It's well worth spending the money on it. It explains the contents of the ejb-jar.xml file in excruciating detail and tells you WHY you need all of the pieces.
Kyle Brown

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic