Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Examples using session synchronization and session facade

 
Tejpal Singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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...
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For SessionSyncronization
http://jonas.objectweb.org/current/doc/PG_Session.html
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • 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
  • 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: 2712
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic