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

Examples using session synchronization and session facade

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi again,
Can some one please provide me with a url or sample code for a working example using session synchronization and session facade(session-entity wrapper).
I am trying to build a sample application for self learning and using patterns effectively in my design.
I hope this may also benefit many other people who know EJB but dont know how to practice it efficiently.
Thanks much...
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For SessionSyncronization
http://jonas.objectweb.org/current/doc/PG_Session.html
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggest picking up a copy of Core J2EE Patterns: Best Practices and Design Strategies and EJB Design Patterns: Advanced Patterns, Processes, and Idioms. These two books are probably the most efficient way to learn J2EE/EJB Design Patterns and best practices. They also contain code examples.
If all you are really worried about is code, and you shouldn't be because code is only part of the battle, then you could also go with J2EE Design Patterns Applied. See this thread for differences between the Core J2EE Patterns book and J2EE Design Patterns Applied.
[ September 10, 2003: Message edited by: Chris Mathews ]
 
Tejpal Singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chris Mathews:

If all you are really worried about is code, and you shouldn't be because code is only part of the battle, then you could also go with J2EE Design Patterns Applied. See this thread for differences between the Core J2EE Patterns book and J2EE Design Patterns Applied.


Chris, i shall surly consider the referred books, the link for "this thread" takes me to an "editpost page" that i am unable to access.
Thanks Pradeep, I think the link does provide with basic session synchronization example...
will be great if something similar is also available for the session facade too...
Thanks.
[ September 10, 2003: Message edited by: Tejpal Singh ]
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Tejpal Singh:
Chris, i shall surly consider the referred books, the link for "this thread" takes me to an "editpost page" that i am unable to access.


Sorry. The link has been fixed.
 
This is my favorite show. And this is my favorite tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic