• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML file?

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic