LOL :)) I'm not actually sure that there are any commonly accepted names for this pattern. The Hibernate Session is *almost* similar to UnitOfWork except for the fact that it is _not_, actually, an atomic unit of work. Neither is it quite like the ODMG Database or JDO PersistenceManager which, by their names, imply a long-lived, singleton-style object.
> -----Original Message----- > From: Christian Bauer [mailto:[EMAIL PROTECTED] > Sent: Saturday, 21 December 2002 11:33 AM > To: [EMAIL PROTECTED] > Subject: Re: [Hibernate] Road Map > > > On 21 Dec (11:15), Gavin King wrote: > > > I suspect that many people would be tempted to vote for (2). But is > > there really *that* much value in that for the users? The > interfaces > > themselves arent changing, so its a simple search/replace > followed be > > recompile. > > Maybe this recommendation is a bit unpopular: > > Get rid of the name "Session"! I spent the last three days > implementing lazy loading in a clean separated > Three-Tier-Architecture and it's driving me crazy. Whenever I > read the documentation, I also had this 100 milliseconds > think time when I hit the word "Session" or "Transaction" > until I realized that the statement was about the Hibernate > thing, not about the _concepts_... > > Well, I have to manage two layers of Session Beans (stateful > and stateless), a HttpSession containing a UserSession and > some other stuff named similar. My code is clean, but the > next developer looking at this stuff will have a hard time > understanding why there's another "Session" in the > Persistence Layer that uses UserSession to store its > disconnected state and gets this one from the SessionContext > of the stateless SessionBean Business Facade. And this was > only have the system up from the bottom, there are some other > "Sessions" in the top layer. > > Ok, it's not that serious, but I feel alot better already ;) > > -- > Christian Bauer > [EMAIL PROTECTED] > > > ------------------------------------------------------- > This SF.NET email is sponsored by: The Best Geek Holiday > Gifts! Time is running out! Thinkgeek.com has the coolest gifts for > your favorite geek. Let your fingers do the typing. Visit Now. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > hibernate-devel mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** ------------------------------------------------------- This SF.NET email is sponsored by: The Best Geek Holiday Gifts! Time is running out! Thinkgeek.com has the coolest gifts for your favorite geek. Let your fingers do the typing. Visit Now. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel