File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment Descriptor cheat sheet

 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm almost done with the DD cheat sheet. I've uploaded a first draft and it is available at http://www.valoxo.ch/jr/DeploymentDescriptor.pdf
The other cheat sheets are listed on http://www.valoxo.ch/jr/cheatsheets.html
Happy learning...
 
Erik Kaellgren
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Valentin,
what can I say. It's just beautiful! I love he way you handle the roles!
You're sure that Kathy and Bert don't want to include your charts in a appendendix in their book?
/Erik
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Kathy said, the EJB spec is not meant to be a learning/teaching document.
The one problem I had with the spec is that information pertaining to a specific topic is often scattered all over the document. I hate that and that's why I have decided to start cross-referencing related parts and then sum them up in cheat sheets That's usually what authors do in their books
If you have special wishes about specific cheat sheets, feel free to express yourself I have some in mind but I might not think about every single topic...
[ July 01, 2003: Message edited by: Valentin Crettaz ]
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Valentin,
Another lovely colour-coded example.
( Actually, I did come across one that suffered from a lack of colour. Did look gloomy by comparison.)
Could you please combine them all in a single post? I've lost track of how many there are .
These cheat sheets are really appreciated.
Thanks a lot.
regards
[ July 01, 2003: Message edited by: HS Thomas ]
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a web page that lists them all. Please look at my first post in this topic
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
I did track the following Valentins cheat sheets.
It also lists all the other cheat sheets Valentin is currently working on.
Nice job, Valentin.
It's actually the exceptions that's the gloomy one. Guess it's not the right time to pretty that one up. Unless it's the way I feel about Exception Handling.

Thanks and regards
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Valentin. Must have cross-posted . It was there all the time..
regards
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's actually the exceptions that's the gloomy one. Guess it's not the right time to pretty that one up.
That's correct. I'll work on it
 
Archana Reddy
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Valentin,
Excellent job. Thanks a lot. Really vey useful and helpful.
regards,
Archana
 
Karthi Bala
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Want to know the exact difference between the elements <resource-ref> and <resource-env-ref> in the DD. And also how both are used?
Thanks,
 
John Chandra
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bala,
In <resource-ref> you specify details for 'resource manager connection factory' i.e. you will put details for database connection factory or queue connection factory you want to refer inside bean for establishing connections to the resource managers.
In <resource-env-ref> you specify the name of 'administered objects' i.e. the jms queue name you want to refer inside bean for sending messages. I am sorry I don't have any more examples for this node.
Bean Provider specifies all 'resource manager connection factory' and 'resource administered' objects using these two nodes and Deployer links the real objects in the 'operational environment' with these these entries. So when the bean provider do a JNDI look up in the code using 'java:comp' ejb environment context (sub-context) he can access them.
Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic