The Artima Developer Community
Sponsored Link

Java Buzz Forum
Tapestry quickstart with Appfuse-Light

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marc Logemann

Posts: 594
Nickname: loge
Registered: Sep, 2002

Marc Logemann is founder of www.logentis.de a Java consultancy
Tapestry quickstart with Appfuse-Light Posted: Apr 25, 2007 4:31 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Marc Logemann.
Original Post: Tapestry quickstart with Appfuse-Light
Feed Title: Logemann Blog
Feed URL: http://feeds.feedburner.com/LogemannBlog
Feed Description: Marc Logemann's thoughts on java and other stuff
Latest Java Buzz Posts
Latest Java Buzz Posts by Marc Logemann
Latest Posts From Logemann Blog

Advertisement

Today i spent three hours setting up a tapestry example project. I first thought about trying out the examples on the tapestry site but then remembered that i once used Appfuse-Light for my very first spring contact and thought its a good idea to go the same route again. I downloaded the equinox-tapestry-ibatis distro because i really dont need real ORM for this example project.

It started with the use of Maven2. I am still no fan of Maven and most likely this wont change. Of course i had problem with getting the mysql dependency, even one of the reps in the pom contained mysql 3.1.11 drivers. I am not smart enough to know why it cant be found anyway. I then decided to download it manually and install it into my local repo by issueing the install command. So far so good. I then created a idea project by issueing “mvn idea:idea”. The resulting project was fine. One of the gripes i have with the supplied Ant tasks is that he needs an internet connection over and over again for getting mysql.pom and resolving some dependencies. I wondered why i downloaded it manually in the first place then.  But thats all Maven craziness, i dont want to talk about that.

Unfortunately i read the docs of Appfuse-Light and thought its serious when Matt writes that one can also use MySQL. In theory this is true, but in practice nothing is prepared for that. There is no DB creation script for mysql (you have to tweak the postgres one) and even more, you have to tweak the spring appContext for iBatis and use a different spring incrementer. I wonder how people get this running without some spring knowledge. IMO as a project owner you should do two things, either dont mention to support mysql or mention it and provide some support, its as easy as that.

The docs are rather small. There is no real info which Ant tasks to fire and what they do exactly but you can always read the build script and with some minutes time, you  should be able to have a running app. One crazy thing is that when i deploy the created war on my tomcat and use the CRUD style example application, my macbook pro has both CPUs at 100% in about 10 seconds with some fan noise as bonus. Dont know whats that but its definitely scary.

All in all Appfuse-Light might be a helpful thingy to get something started but there is definitely room for improvement.

Read: Tapestry quickstart with Appfuse-Light

Topic: Numbers Previous Topic   Next Topic Topic: Choosing a Development Tool: Matter of What?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use