Win a copy of High Performance Python for Data Analytics this week in the Python forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Deployment Descriptor cheat sheet

 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry Valentin. Must have cross-posted . It was there all the time..
regards
 
Valentin Crettaz
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Valentin,
Excellent job. Thanks a lot. Really vey useful and helpful.
regards,
Archana
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic