• 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

ejb-jar.xml tags

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am well through the HF-EJB book and, along with practice, am getting to be quite comfortable with EJB in general.

The problem area seems to be the attributes we are required to remember for the exam. Part of the problem is because of the fact that I don't write the XML myself (the RI generates it as against the Bean interface method names, exceptions, etc. which directly indicate what I have done wrong at complie time, etc. )

On the face of it, the tags make sense and, in fact, appear to be simple. When I get down to the exercises, I realize how confused I am.

What is the approach used by the experienced folks?

Regards,
Saket
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My suggestion will be to devide dd in 6 roles defined in specs. 3.1.

Remember when you are writing the beans and deploying them you are juggling hats for "Enterprise Bean Provider", "Application Assembler", "Deployer", and up to some extent "System Administrator".

When you try to take DD as a whole entity, you are bound to get confused.

Make sure you define your role while looking at DD.

That way you know that when you are looking at DD as "Enterprise Bean Provider" there are very few tag you are concernted about. Secondly the tag name itself will start making sense.

HOpe this helps
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was having the similar confusion.

I made 6 seperate DD files by refering to http://www.valoxo.ch/jr/DeploymentDescriptor.pdf

I mainited the similar coding convention in my word files.
The 6 files are -
1. DD_EJBQL.doc
2 DD_Environment.doc
3 DD_Relationship.doc
4 DD_Security.doc
5 DD_Transaction.doc
6 DD_General.doc

This helped me a lot to remember the tags well.

If you want , I can send you the files. If I copy-paste the contents here the formating and colouringis lost. Not sure how to attach files on this board.

Hope it helps!
Gemini
 
Saket Barve
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Gemini.

I will delve into the PDF for now, and if required get back to you for the separate doc files.

Regards,
Saket
 
reply
    Bookmark Topic Watch Topic
  • New Topic