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 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. > >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+. > >Cheers, > >Mark > > > >On 5/11/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > > > > > >>No wait I think I misspoke. I meant Commons Configuration. > >> > >>Stanczak Group wrote: > >> > >> > >> > >>>Really what I'm wanting to do can probably be address by just using > >>>something like Commons Digester. But maybe using a framework like > >>>Hivemind I could better organize my logic. Again, as you can tell I'm > >>>just not understanding all the pieces. > >>> > >>>Jamie Orchard-Hays wrote: > >>> > >>> > >>> > >>> > >>> > >>>>The questions are, "What problems are you trying to solve?" "Which > >>>>frameworks help you solve them best: Spring, Hivemind, none?" In other > >>>>words, you must have a need, a problem to solve that requires a > >>>>framework like Hivemind. > >>>> > >>>>Tapestry Picasso uses Hivemind to give it greater flexibility, > >>>>extensibility, configurability. You can pretty much ignore it for > >>>>basic Tapestry tasks. > >>>> > >>>>There have been some threads over the past few days about using Spring > >>>>for DB stuff, which (from what I read, not personal experience) > >>>>integrates well with Tapestry and Hivemind. > >>>> > >>>>Jamie > >>>> > >>>>On May 11, 2005, at 5:47 PM, Stanczak Group wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>I've been looking at Hivemind, Spring, etc, trying to understand things. > >>>>>So what I've came up with thus far is since I'm starting out fresh and > >>>>>am already using Tapestry, I would probably be wise to use Hivemind. Is > >>>>>this correct? Then I see Tapestry is being built on Hivemind, so that > >>>>>makes me think it's a better choice. Now I'm trying to understand the > >>>>>combo of Tapestry and Hivemind. I'm guessing you still use Hivemind > >>>>>separate from Tapestry, and Tapestry is using Hivemind for it's own > >>>>>uses. But my question is will the addition of Hivemind to Tapestry add > >>>>>the features I'm looking for to Tapestry and I won't need Hivemind, or > >>>>>would I still be smart to go ahead and use Hivemind to help me better > >>>>>develop my software? Maybe I'm way off here. I think I understand the > >>>>>use of Hivemind, but I'm looking into the future and wondering what > >>>>>direction I should follow. If my questions don't make sense then I'm > >>>>>probably not understanding the use of Hivemind. Can someone direct me? > >>>>> > >>>>>-- > >>>>>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] > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>-- > >>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] > > > > > > > > > > -- > 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]
