| Author |
Deployment Descriptor cheat sheet
|
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
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...
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
Erik Kaellgren
Greenhorn
Joined: Jun 02, 2003
Posts: 29
|
|
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
Joined: Aug 26, 2001
Posts: 7610
|
|
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
Joined: May 15, 2002
Posts: 3404
|
|
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
Joined: Aug 26, 2001
Posts: 7610
|
|
I have created a web page that lists them all. Please look at my first post in this topic
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
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
Joined: May 15, 2002
Posts: 3404
|
|
Sorry Valentin. Must have cross-posted . It was there all the time.. regards
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
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
Joined: Sep 25, 2002
Posts: 22
|
|
Valentin, Excellent job. Thanks a lot. Really vey useful and helpful. regards, Archana
|
 |
Karthi Bala
Ranch Hand
Joined: Jul 27, 2001
Posts: 48
|
|
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,
|
Karthi Bala<br />SCJP 1.2, SCWCD 1.3, SCWCD 1.4, SCDJWS (Awaiting Result)<br /> <br />Where there is a will,there is a WAY.
|
 |
John Chandra
Greenhorn
Joined: Jun 27, 2003
Posts: 10
|
|
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.
|
 |
 |
|
|
subject: Deployment Descriptor cheat sheet
|
|
|