Justin, if you're still interested in this, I kept some notes on my experience porting to Appfuse/Tapestry/Spring/Hibernate. I posted them at:
http://www.jroller.com/page/mdillon101/20050520#font_size_2_this_is Cheers, Mark On 5/12/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > Mark Dillon wrote: > > >On 5/11/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > > > > > >>Mark Dillon wrote: > >> > >> > >> > >>>I'll preface this by saying that Hivemind is a fabulous framework. It > >>>doesn't, however, have the level of integration with other popular > >>>frameworks that Spring has. IMHO the Tapestry/Spring/Hibernate > >>>combination is the way to go. Spring greatly simplifies the use of > >>>Hibernate (or Ibatis, JDO, whatever ORM framework) in an application. > >>> > >>> > >>> > >>> > >>Why not just Hibernate and Spring? Doesn't Spring have a web ui? Just > >>asking. > >> > >> > > > >Spring does have a web framework yes. I actually have it on my todo > >list to duplicate the web ui of one or more of my simple apps in > >spring web but haven't gotten around to it yet. I think at this point > >I'm going to wait for spring webflow to come to fruition and try it > >then. > > > That looks nice. I just read some on it. It looks like it's ready, is it > not? > > >That said, I'm a huge proponent of component driven web > >frameworks (Apple webobjects style), so Tapestry just fits the best > >for me, and I'm most productive with it. At the expense of looking > >like a Matt Raible groupie ;), I would recommend reading Spring Live. > >It has a great comparison of Struts vs. Tapestry vs. Spring Web, > >tutorial style. It'll get you up and running in any of those > >frameworks very quickly. > > > > > > > >>>I use spring to manage the configuration of the DAO and Service > >>>layers, and Tapestry's localization features are perfect for managing > >>>web layer stuff. I keep all of my configuration in .properties files > >>>and load them from the classpath with a Spring > >>>PropertyPlaceholderConfigurer. This way, I can keep these properties > >>>files anywhere as long as they're in the classpath of application. > >>>This is great for external configuration. > >>> > >>> > >>> > >>> > >>Sounds good, but does having all these frameworks just cause clutter? I > >>don't know. I guess being new to these frameworks seems overwhelming. > >> > >> > > > >On the contrary, you will be amazed by the clutter that these > >frameworks manage to eliminate. At the expense of a slightly larger > >/lib directory (or maven repository), you get the advantage of far > >fewer lines of manually written code. I've actually been tracking to > >some extent the reduction of my code when using these frameworks. > >I've been refactoring some of my older apps to use the appfuse > >structure and build, and Tapestry/Spring/Hibernate. I've been able to > >reduce my manually written code by more than 50% in a lot of cases. > >Also, keep in mind that you no longer need a J2EE App Server. I can > >distribute my apps with a tiny bundled servlet container like Tomcat > >or Jetty, and they are just as robust and scalable as they would be in > >Weblogic or Websphere. > > > > > Well you got me. I'm going to have to download that appfuse and see what > I can do. > > > > > > >>>As an aside, I've taken to using Matt Raible's fabulous appfuse > >>>framework (with appgen) to kickstart my applications, and I think it > >>>would be a great place for you to start if you're interested in this > >>>combination. Hope this helps. Good luck! > >>> > >>> > >>> > >>> > >>Ya, I saw that appfuse. How well can you get that in Netbeans after > >>generating an app? Again seems overwhelming to me right now. Yes all > >>this helps. I'm a pretty picky person about adding new stuff without > >>vetting over it. > >> > >> > > > >Sorry, I stick to Eclipse and Idea. Haven't used NetBeans since the > >Sun Forte days. I do hear that it's been greatly improved with the > >latest release, and I'm sure that there are resources out there to > >help you with doing this stuff in NetBeans. Actually, one of the > >great things about appfuse is it's ability to be used outside of your > >IDE. I used to do EVERYTHING in Eclipse. I now use Eclipse as a > >glorified text editor, and do all building/testing on the command line > >with ant and appfuse's build file. It's very nice to have a somewhat > >standardized build process that I no longer have to manage myself. > >This is a very recent development for me. I had a bunch of problems > >toggling between my windows desktop at work and my Mac powerbook at > >home, so I just found it more consistent to stick to the command line. > > Appfuse's ant targets and tests run just fine in eclipse or idea, as > >long as you're using version 1.8+. > > > > > Oh man, I just can't tell you how much I like NB's. I've used it forever > and it keeps getting better. With 4.0 series they now build with ant. I > can do a build on a webstart app and have it sign my jar and put all the > files where I want. It is so sweet. But I've not really given Eclipse > much time, I just like NB's so much I really don't feel the need. Anyway > you can tell I like NB's. > > Well I'm going to hit the reading and try to hash this out. If you have > more advice please feel free to share, you've been a great help. All > this stuff looks nice when you read the site, but ya never know until > you use it. There's so much out there you could spend all your > development time reading. Thanks again. > > -- > Justin Stanczak > Stanczak Group > 812-735-3600 > > "All that is necessary for the triumph of evil is that good men do nothing." > Edmund Burke > > ..________...............__................. > ./ _____/..____..._____/..|_..____...____.... > /...\..____/.__.\./....\...__\/.._.\./._..\.... > \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..).... > .\______../\___.._\__|../__|..\____/.\____/...... > ........\/.....\/.....\/.......................... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
