|
From: March, A. <am...@so...> - 2005-03-24 21:36:04
|
We use hibernate 2.1 and initially chose Spring for this support and the transaction demarcation. The domain objects do encapsulate some business logic related to behavior that only depends on itself and/or other domain objects. We have DAOs and implementations that extend the Spring Hibernate support for all data access logic. We also have a layer of service objects above that which consolidate multiple DAO calls in a single business operation and to demarcate transactions. Pretty standard stuff for a big web app. Other things the to note are that we depend upon the OSIV filter anti-pattern (sorry, I love it) and that we don't use Spring MVC :-(. =20 ________________________________ From: spr...@li... [mailto:spr...@li...] On Behalf Of Dmitriy Kopylenko Sent: Thursday, March 24, 2005 12:40 PM To: spr...@li... Subject: Re: [Springframework-developer] Public references =20 March, just out of curiosity - what data access strategy this site uses and does it have a "rich" (with behavior) domain model? Dmitriy. March, Andres wrote:=20 You may also include http://eq2players.station.sony.com, arguably the coolest site to use Spring. We have hundreds of thousands of users and serve thousands concurrently. We're on 1.1.4. =20 =20 -----Original Message----- From: spr...@li... [mailto:spr...@li...] On =20 Behalf =20 Of Juergen Hoeller Sent: Thursday, March 24, 2005 5:17 AM To: spr...@li... Subject: [Springframework-developer] Public references =20 Hi Cameron, =20 As you're mentioning those two sites so publically ;-) Do you think we =20 we =20 could include them in our public reference list for Spring? We're =20 about to =20 collect some references for exposure on the Spring website. =20 Our main problem is that public references in the banking sector =20 (where =20 some of the largest Spring deployments are) are usually impossible to get. Therefore, we're particularly grateful for references that we're =20 allowed =20 to use on our website! =20 Thanks for your kind words on the quality of our snapshots, BTW :-) =20 Juergen =20 =20 -----Original Message----- From: spr...@li... [mailto:spr...@li...]On =20 Behalf =20 Of Cameron Braid Sent: Thursday, March 24, 2005 1:10 PM To: spr...@li... Subject: RE: [Springframework-developer] Hibernate3 vs Hibernate2 =20 =20 My 2c contribution : =20 I have been using hibernate 3.0 rc1, and a custom spring snapshot from HEAD since the =20 http://opensource.atlassian.com/projects/spring/browse/SPR-300 =20 patches were comitted to HEAD - the for the last 3 weeks - without any issues - in production sites. One site being an ecommerce shopping =20 site =20 http://www.chemistaustralia.com.au/ which uses the Criteria API a =20 lot, =20 and the other http://www.drivenow.com.au/ a last minute car hire site =20 which =20 makes heavy use of HQL. =20 Both the spring project and hibernate have a very high standard for =20 their =20 pre-releases. =20 Cameron. =20 =20 -----Original Message----- From: spr...@li... =09 [mailto:spr...@li...] On =20 Behalf =20 Of Rod Johnson Sent: Thursday, 24 March 2005 8:06 PM To: spr...@li... Subject: Re: [Springframework-developer] Hibernate3 vs Hibernate2 =20 Well Spring 1.2 RC1 is a day or two away and it's probably as stable =20 as =20 Hibernate 3.0 RC1. =20 R =20 Alexandru Popescu wrote: =20 Thanks everybody for your answers. My case is pretty uncommon: i =20 am =20 trying to integrate the H3 =20 support into the existing stable 1.1.5 version. You may ask why this? I need some of the features from H3 (simple, =20 ain't =20 it :-) ). So, being a week =20 old Spring user (in fact i haven't write a single line of code, so =20 I =20 would say Spring researcher) I =20 thought it would be a good idea to ask the developers if my =20 feeling =20 was =20 right. =20 -- :alex |.::the_mindstorm::.| =20 [quote Mark St Godard::on 3/23/2005 5:23 PM] =20 =20 =20 Yeah Alex, =20 For me (as an Eclipse user) it was just an exercise in =20 CTRL-Shift-O to =20 reference the new APIs... and to also change the applicationContext XML to reference the new =20 LocalSessionFactoryBean... =20 Note: I was not using Annotations at this point on this current =20 project... =20 so it was pretty straightforward =20 Cheers Mark =20 =20 =20 Colin Sampaleanu <col...@ex... <mailto:col...@ex...>=20 m> <mailto:col...@ex...>=20 =20 To =20 Sent by: springframework- =20 dev...@li... =20 springframework-d rceforge.net eveloper-admin@li =20 cc =20 sts.sourceforge.n et =20 Subject =20 =09 Re: =20 [Springframework-developer] =20 =09 Hibernate3 vs Hibernate2 03/23/2005 09:10 AM =20 =20 Please respond to springframework-d eveloper =20 =20 =20 =20 =20 =20 Alexandru Popescu wrote: =20 =20 =20 Hi! =20 I saw in the ML that the Hibernate3 support is in CVS HEAD =20 already. =20 Can =20 you point me to the main =20 =20 changes provided in the Spring support for Hibernate3 vs =20 Hibernate2? =20 (i =20 expected there where changes =20 =20 required by the changes (from check to unchecked) exceptions in =20 Hibernate3 =20 and for supporting the =20 =20 new features, but it will be more easy for me to have a Spring =20 expert =20 opinion on this). =20 =20 Alex, =20 Juergen did the actual conversion, so is the final authority, but =20 the =20 port is mostly a straight port of the existing classes to reflect =20 the =20 new packages used by Hibernate 3. One difference in Hibernate 3 is =20 that =20 Hibernate 3 does throw unchecked exceptions instead of checked exceptions, but Spring users should actually be insulated from =20 that, =20 as =20 they would have normally be catching Spring's own unchcked DataAccessExceptionHierarchy. Spring's HibernateTemplate class for Hibernate v3 does add the important methods added to v3's Session, =20 such =20 as the 'load()' variants which take an entityName, e.g.: =09 http://www.hibernate.org/hib_docs/v3/api/ =20 Generally, you should be able to take existing Spring-based code =20 using =20 the Hibernate 2 support, and convert it to using the Hibernate 3 support, by just changing all org.springframework.hibernate.* =20 package =20 names to org.springframework.hibernate3.*. Any breakage (not that =20 you =20 should generally expect any) should generally be from changes in Hibernate itself between versions, and not the Spring support =20 code. =20 Note =20 that Hibernate has actually deprecated a few methods on the =20 Session =20 interface (they are only available now as part of the org.hibernate.classic.Session interface. I believe =20 HibernateTemplate =20 has =20 also removed some of the methods which were directly exposed and =20 are =20 now =20 deprecated. =20 Colin =20 =20 =20 =09 ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application =20 Contest =20 Submit applications for Windows Mobile(tm)-based Pocket PCs or =20 Smartphones =20 for the chance to win $25,000 and application distribution. Enter =20 today =20 at =20 =09 http://ads.osdn.com/?ad_id=3D6882&alloc_id=3D15148&op=3Dclick =09 _______________________________________________ Springframework-developer mailing list =09 Spr...@li... =20 =09 https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 =20 =20 =20 =09 ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application =20 Contest =20 Submit applications for Windows Mobile(tm)-based Pocket PCs or =20 Smartphones =20 for the chance to win $25,000 and application distribution. Enter =20 today =20 at =20 =09 http://ads.osdn.com/?ad_id=3D6882&alloc_id=3D15148&op=3Dclick =09 _______________________________________________ Springframework-developer mailing list =09 Spr...@li... =20 =09 https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 =20 =20 =20 =20 =20 =09 ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded =20 DevCon =20 2005 =20 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest =20 Windows =20 Embedded(r) & Windows Mobile(tm) platforms, applications & =20 content. =20 Register =20 by 3/29 & save $300 =20 http://ads.osdn.com/?ad_id=3D6883&alloc_id=3D15149&op=3Dclick =20 _______________________________________________ Springframework-developer mailing list Spr...@li... =20 =20 https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 -- Rod Johnson Interface21 - Spring Services from the Source http://www.springframework.com =20 Founder, Spring Framework: http://www.springframework.org =20 Author, "Expert One-on-One J2EE Development Without EJB" (May 2004, with Juergen Hoeller). http://www.amazon.com/exec/obidos/ASIN/0764558315/ =20 Author, "Expert One-on-One J2EE Design and Development" (October 2002). =09 http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ =20 =20 ____________________________________________________ Interface21 Limited Registered Office Summit House, 2-2a Highfield Road, Dartford, Kent =20 DA1 =20 2JY Registered in England and Wales No. 5187766 ____________________________________________________ =20 =20 =20 ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon =20 2005 =20 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest =20 Windows =20 Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=3D6883&alloc_id=3D15149&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... =20 =20 https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 =20 =20 ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon =20 2005 =20 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest =20 Windows =20 Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=3D6883&alloc_id=3D15149&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... =09 https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 =20 =20 ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon =20 2005 =20 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest =20 Windows =20 Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=3D6883&alloc_id=3D15149&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... =09 https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 =20 =20 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick <http://ads.osdn.com/?ad_ide95&alloc_id%14396&op=3Dclick>=20 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer =20 =20 |